diff --git a/package-lock.json b/package-lock.json index 151922b8..8b617460 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@mui/material": "^5.14.0", "@radixdlt/babylon-gateway-api-sdk": "^1.2.7", "@radixdlt/radix-connect-schemas": "^1.2.0", - "@radixdlt/radix-connect-webrtc": "^1.0.4", + "@radixdlt/radix-connect-webrtc": "^1.2.0", "@stitches/react": "^1.2.8", "@types/blake2b": "^2.1.0", "bech32": "^2.0.0", @@ -6868,9 +6868,9 @@ } }, "node_modules/@radixdlt/radix-connect-webrtc": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@radixdlt/radix-connect-webrtc/-/radix-connect-webrtc-1.0.4.tgz", - "integrity": "sha512-MMOGdtGJbBTPuSPpMtXqf7Epz6kD8cyCENZMKqsEQhr/cM1ASQvoZG8HA30B+GSn20FyrDINdIPWdZIKvNJ61A==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@radixdlt/radix-connect-webrtc/-/radix-connect-webrtc-1.2.0.tgz", + "integrity": "sha512-u5DoGKRZcv273Yged5IDr0cUfbBps6F0H3gNvSnnYDcSYGCxHI4KOT1MN6ztA9IRK8oswLOdvpJ/TWdjE2tulA==", "dependencies": { "@radixdlt/radix-connect-schemas": "^0.1.0", "blake2b": "^2.1.4", diff --git a/package.json b/package.json index 94a3411c..328e28ba 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@mui/material": "^5.14.0", "@radixdlt/babylon-gateway-api-sdk": "^1.2.7", "@radixdlt/radix-connect-schemas": "^1.2.0", - "@radixdlt/radix-connect-webrtc": "^1.0.4", + "@radixdlt/radix-connect-webrtc": "^1.2.0", "@stitches/react": "^1.2.8", "@types/blake2b": "^2.1.0", "bech32": "^2.0.0", @@ -112,4 +112,4 @@ "jest": "$jest" } } -} \ No newline at end of file +} diff --git a/src/chrome/offscreen/offscreen.ts b/src/chrome/offscreen/offscreen.ts index afa76a48..e2e40cff 100644 --- a/src/chrome/offscreen/offscreen.ts +++ b/src/chrome/offscreen/offscreen.ts @@ -28,6 +28,7 @@ const connectorClient = ConnectorClient({ target: 'wallet', isInitiator: config.webRTC.isInitiator, logger, + negotiationTimeout: 10_000, }) connectorClient.connect() diff --git a/src/pairing/pairing.tsx b/src/pairing/pairing.tsx index e792dda3..61bacdf9 100644 --- a/src/pairing/pairing.tsx +++ b/src/pairing/pairing.tsx @@ -23,6 +23,7 @@ export const Paring = () => { target: 'wallet', isInitiator: config.webRTC.isInitiator, logger: logger.getSubLogger({ name: 'pairing' }), + negotiationTimeout: 10_000, }) getExtensionOptions().map((options) => {