@cloudflare/realtimekit-react 1.0.2-staging.4 → 1.0.2-staging.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -24386,7 +24386,7 @@ class Sh extends wl {
24386
24386
  return yield this.pc.setLocalDescription(r), l.info(`connect offer: ${JSON.stringify(r)}`), {
24387
24387
  offerSdp: r,
24388
24388
  callback: (n) => u(this, null, function* () {
24389
- l.debug(`${this.name}::connect() | calling pc.setRemoteDescription() [answer:${JSON.stringify(n)}]`), yield this.pc.setRemoteDescription(n), e.close();
24389
+ l.debug(`${this.name}::connect() | calling pc.setRemoteDescription() [answer:${JSON.stringify(n)}]`), yield this.pc.setRemoteDescription(n), e == null || e.close();
24390
24390
  })
24391
24391
  };
24392
24392
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-react",
3
- "version": "1.0.2-staging.4",
3
+ "version": "1.0.2-staging.5",
4
4
  "description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "private": false,
19
19
  "dependencies": {
20
- "@cloudflare/realtimekit": "0.0.2-staging.4"
20
+ "@cloudflare/realtimekit": "0.0.2-staging.5"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=16.8.6"