@cloudflare/realtimekit-react 0.5.0-staging.121 → 0.5.0-staging.123

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
@@ -21920,6 +21920,8 @@ const jc = (im = class {
21920
21920
  }
21921
21921
  const c = n.shift();
21922
21922
  e[c] = o;
21923
+ }), n.forEach((o) => {
21924
+ e.splice(o, 1);
21923
21925
  }), Array.from(s.keys()).forEach((o) => {
21924
21926
  s.delete(o, !i.has(o));
21925
21927
  }), e.forEach((o) => {
@@ -26894,7 +26896,7 @@ class ce {
26894
26896
  const m = yield i;
26895
26897
  if (a(this, J).producers.has(m)) {
26896
26898
  const g = a(this, J).producers.get(m);
26897
- if (!g.closed && !navigator.isReactNative)
26899
+ if (!g.closed)
26898
26900
  return yield g.replaceTrack({ track: t }), yield this.resumeWebcam(r), t;
26899
26901
  yield this.disableWebcam(e);
26900
26902
  }
@@ -26991,7 +26993,7 @@ class ce {
26991
26993
  const o = yield e;
26992
26994
  if (a(this, J).producers.has(o)) {
26993
26995
  const c = a(this, J).producers.get(o);
26994
- if (!c.closed && !navigator.isReactNative) {
26996
+ if (!c.closed) {
26995
26997
  yield c.replaceTrack({ track: t }), yield this.resumeMic(), a(this, wt) && (a(this, wt).audioTrack = t, a(this, wt).producerId = o, a(this, wt).start());
26996
26998
  return;
26997
26999
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-react",
3
- "version": "0.5.0-staging.121",
3
+ "version": "0.5.0-staging.123",
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.5.0-staging.121"
20
+ "@cloudflare/realtimekit": "0.5.0-staging.123"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=16.8.6"