Skip to content

Commit

Permalink
Switch wrtc to @roamhq/wrtc (#64)
Browse files Browse the repository at this point in the history
@roamhq/wrtc has a more up-to-date implementation of WebRTC and includes
types.

See: https://github.com/node-webrtc/node-webrtc
  • Loading branch information
erikdubbelboer authored Oct 19, 2023
1 parent aac100f commit a9c893c
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 394 deletions.
2 changes: 1 addition & 1 deletion features/support/world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { unlinkSync } from 'fs'

import fetch from 'node-fetch'
import ws from 'ws'
import wrtc from 'wrtc'
import wrtc from '@roamhq/wrtc'

import { Player } from './types'

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
"@cucumber/pretty-formatter": "1.0.0-alpha.0",
"@parcel/packager-ts": "2.8.3",
"@parcel/transformer-typescript-types": "2.8.3",
"@roamhq/wrtc": "^0.7.1",
"@types/node-fetch": "2",
"@types/ws": "^7.4.7",
"node-fetch": "2",
"parcel": "^2.6.0",
"ts-node": "^10.1.0",
"ts-standard": "^11.0.0",
"typescript": "^4.3.4",
"wrtc": "^0.4.7",
"ws": "^8.0.0"
},
"engines": {
Expand Down
6 changes: 2 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@
"experimentalDecorators": true,

"typeRoots": [
"node_modules/@types",
"./types"
"node_modules/@types"
],
"types": [
"node",
"wrtc",
"node"
]
},
"exclude": [
Expand Down
22 changes: 0 additions & 22 deletions types/wrtc/index.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions types/wrtc/package.json

This file was deleted.

Loading

0 comments on commit a9c893c

Please sign in to comment.