@cloudflare/realtimekit 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
@@ -27938,6 +27938,7 @@ class oe {
27938
27938
  }
27939
27939
  pauseMic() {
27940
27940
  return u(this, null, function* () {
27941
+ var i;
27941
27942
  const t = yield F(this, st, gt).call(this, ge.MIC), e = o(this, W).producers.get(t);
27942
27943
  if (!e) {
27943
27944
  h.error("pauseMic::could_not_find_mic_producer");
@@ -27947,7 +27948,7 @@ class oe {
27947
27948
  h.info("pauseMic::mic_producer_already_paused");
27948
27949
  return;
27949
27950
  }
27950
- e.pause(), o(this, It).stop();
27951
+ e.pause(), (i = o(this, It)) == null || i.stop();
27951
27952
  const r = {
27952
27953
  producerId: e.id,
27953
27954
  pause: true
@@ -30693,7 +30694,7 @@ let ei = (Cf = class {
30693
30694
  var c;
30694
30695
  const n = Wi.createContext(t, e), a = N(N({}, QR), e == null ? void 0 : e.modules);
30695
30696
  return n.setValue("peerId", t), n.setValue("modules", a), n.setValue("sdkName", "web-core"), n.setValue("meetingId", r), n.setValue("apiBase", i.apiBase), n.setValue("baseURI", i.baseURI), n.setValue("userId", i.participantId), n.setValue("organizationId", i.orgId), n.setValue("authToken", e.authToken), n.setValue("overrides", (c = e.overrides) != null ? c : {}), n.setValue("env", XR({ baseURI: i.baseURI })), n.setValue("defaults", e.defaults || { audio: true, video: true }), n.setValue("onError", e.onError || (() => {
30696
- })), n.setValue("cachedUserDetails", Ss(e.cachedUserDetails)), n.setValue("sdkVersion", "2.5.0-staging.89"), n;
30697
+ })), n.setValue("cachedUserDetails", Ss(e.cachedUserDetails)), n.setValue("sdkVersion", "2.5.0-staging.90"), n;
30697
30698
  }
30698
30699
  join() {
30699
30700
  return u(this, null, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit",
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",