@cloudflare/realtimekit 0.5.0-staging.97 → 0.5.0-staging.98

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
@@ -24885,7 +24885,7 @@ function OO(s) {
24885
24885
  function qc(s) {
24886
24886
  return {
24887
24887
  codecs: DO(s.codecs),
24888
- headerExtensions: OO(s.headerExtensions)
24888
+ headerExtensions: OO(s.headerExtensions ? s.headerExtensions : [])
24889
24889
  };
24890
24890
  }
24891
24891
  function NO(s) {
@@ -27597,7 +27597,7 @@ class oe {
27597
27597
  ])), v(this, Gi, /* @__PURE__ */ new Map([
27598
27598
  ["video/VP9", /* @__PURE__ */ new Set()],
27599
27599
  ["video/VP8", /* @__PURE__ */ new Set()]
27600
- ])), v(this, jr, e), v(this, lt, i), v(this, Hi, false), v(this, W, new JO(t, i, e)), v(this, St, o(this, W).events), v(this, ir, /* @__PURE__ */ new Set()), v(this, Et, /* @__PURE__ */ new Map()), v(this, qi, false), v(this, Gr, new Pd()), e === Ye.CF && v(this, It, new fo(
27600
+ ])), v(this, jr, e), v(this, lt, i), v(this, Hi, false), v(this, W, new JO(t, i, e)), v(this, St, o(this, W).events), v(this, ir, /* @__PURE__ */ new Set()), v(this, Et, /* @__PURE__ */ new Map()), v(this, qi, false), v(this, Gr, new Pd()), e === Ye.CF && !navigator.isReactNative && v(this, It, new fo(
27601
27601
  o(this, W).socketHandler.audioActivity.bind(o(this, W).socketHandler)
27602
27602
  )), this.e2ee = (a = (n = t.getValue("modules").e2ee) == null ? void 0 : n.enabled) != null ? a : false, this.handleSocketEvents(), this.handleCallstatsEvents(), v(this, pc, gd(
27603
27603
  () => u(this, null, function* () {
@@ -30709,7 +30709,7 @@ let si = (Pf = class {
30709
30709
  var c;
30710
30710
  const n = Ji.createContext(t, e), a = N(N({}, YR), e == null ? void 0 : e.modules);
30711
30711
  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", QR({ baseURI: i.baseURI })), n.setValue("defaults", e.defaults || { audio: true, video: true }), n.setValue("onError", e.onError || (() => {
30712
- })), n.setValue("cachedUserDetails", ys(e.cachedUserDetails)), n.setValue("sdkVersion", "2.5.0-staging.97"), n;
30712
+ })), n.setValue("cachedUserDetails", ys(e.cachedUserDetails)), n.setValue("sdkVersion", "2.5.0-staging.98"), n;
30713
30713
  }
30714
30714
  join() {
30715
30715
  return u(this, null, function* () {