Skip to content

Commit 308d23e

Browse files
compojoomandrevmatos
authored andcommitted
Update the optional wrtc dep to @koush/wrtc
Wrtc doesn’t seem to be supported anymore and the optional wrtc dependency in raiden-ts triggers an error during installation.
1 parent 2d800d6 commit 308d23e

File tree

3 files changed

+17
-204
lines changed

3 files changed

+17
-204
lines changed

raiden-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"optionalDependencies": {
119119
"pouchdb-adapter-indexeddb": "^7.3.0",
120120
"pouchdb-adapter-leveldb": "^7.3.0",
121-
"wrtc": "^0.4.7"
121+
"@koush/wrtc": "^0.5.3"
122122
},
123123
"files": [
124124
"/dist",

raiden-ts/tests/integration/transport.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ describe('rtcConnectionManagerEpic', () => {
984984
beforeAll(() => {
985985
if (!('RTCPeerConnection' in globalThis)) {
986986
// eslint-disable-next-line @typescript-eslint/no-var-requires
987-
Object.assign(globalThis, require('wrtc'));
987+
Object.assign(globalThis, require('@koush/wrtc'));
988988
}
989989
});
990990

0 commit comments

Comments
 (0)