@cloudflare/realtimekit-react 0.5.0-staging.89 → 0.5.0-staging.90

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
@@ -27945,6 +27945,7 @@ class oe {
27945
27945
  }
27946
27946
  pauseMic() {
27947
27947
  return u(this, null, function* () {
27948
+ var i;
27948
27949
  const t = yield F(this, st, gt).call(this, ge.MIC), e = o(this, W).producers.get(t);
27949
27950
  if (!e) {
27950
27951
  h.error("pauseMic::could_not_find_mic_producer");
@@ -27954,7 +27955,7 @@ class oe {
27954
27955
  h.info("pauseMic::mic_producer_already_paused");
27955
27956
  return;
27956
27957
  }
27957
- e.pause(), o(this, It).stop();
27958
+ e.pause(), (i = o(this, It)) == null || i.stop();
27958
27959
  const r = {
27959
27960
  producerId: e.id,
27960
27961
  pause: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-react",
3
- "version": "0.5.0-staging.89",
3
+ "version": "0.5.0-staging.90",
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": "2.5.0-staging.89"
20
+ "@cloudflare/realtimekit": "2.5.0-staging.90"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=16.8.6"