@cloudflare/realtimekit 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
@@ -24379,7 +24379,7 @@ class Sh extends wl {
24379
24379
  return yield this.pc.setLocalDescription(r), l.info(`connect offer: ${JSON.stringify(r)}`), {
24380
24380
  offerSdp: r,
24381
24381
  callback: (n) => u(this, null, function* () {
24382
- l.debug(`${this.name}::connect() | calling pc.setRemoteDescription() [answer:${JSON.stringify(n)}]`), yield this.pc.setRemoteDescription(n), e.close();
24382
+ l.debug(`${this.name}::connect() | calling pc.setRemoteDescription() [answer:${JSON.stringify(n)}]`), yield this.pc.setRemoteDescription(n), e == null || e.close();
24383
24383
  })
24384
24384
  };
24385
24385
  });
@@ -29945,7 +29945,7 @@ let jr = (Sm = class {
29945
29945
  var c;
29946
29946
  const n = Fi.createContext(t, e), o = O(O({}, BP), e == null ? void 0 : e.modules);
29947
29947
  return n.setValue("peerId", t), n.setValue("modules", o), 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", HP({ baseURI: i.baseURI })), n.setValue("defaults", e.defaults || { audio: true, video: true }), n.setValue("onError", e.onError || (() => {
29948
- })), n.setValue("cachedUserDetails", vs(e.cachedUserDetails)), n.setValue("sdkVersion", "3.0.2-staging.4"), n;
29948
+ })), n.setValue("cachedUserDetails", vs(e.cachedUserDetails)), n.setValue("sdkVersion", "3.0.2-staging.5"), n;
29949
29949
  }
29950
29950
  join() {
29951
29951
  return u(this, null, function* () {