@cloudflare/realtimekit 1.2.0-staging.15 → 1.2.0-staging.16

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
@@ -26328,7 +26328,9 @@ class aO {
26328
26328
  consumers: e
26329
26329
  }
26330
26330
  }, i = yield this.recvTransport.sendDataChannelMessage("events", r), { failedConsumers: a } = i;
26331
- return { failedConsumers: a };
26331
+ return t.forEach((o) => {
26332
+ a != null && a.includes(o.id) || o.close(void 0, false);
26333
+ }), { failedConsumers: a };
26332
26334
  });
26333
26335
  }
26334
26336
  switchConsumersToLayer(t, e) {
@@ -30682,7 +30684,7 @@ let ii = (em = class {
30682
30684
  video: true
30683
30685
  };
30684
30686
  return a.setValue("options", e), a.setValue("peerId", t), a.setValue("modules", o), a.setValue("sdkName", "web-core"), a.setValue("meetingId", r), a.setValue("apiBase", i.apiBase), a.setValue("baseURI", i.baseURI), a.setValue("userId", i.participantId), a.setValue("organizationId", i.orgId), a.setValue("authToken", e.authToken), a.setValue("overrides", (d = e.overrides) != null ? d : {}), a.setValue("env", TR({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
30685
- })), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "3.2.0-staging.15"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new i1()), a;
30687
+ })), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "3.2.0-staging.16"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new i1()), a;
30686
30688
  }
30687
30689
  join() {
30688
30690
  return u(this, null, function* () {