@cloudflare/realtimekit 2.0.3-staging.2 → 2.0.3-staging.3

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
@@ -26224,7 +26224,8 @@ const tv = (_u = class {
26224
26224
  capabilities: this.capabilities.map((a) => kd[a]).join(" "),
26225
26225
  joinWithDetails: !0,
26226
26226
  useCfWorker: !0,
26227
- useStartSession: !0
26227
+ useStartSession: !0,
26228
+ newReconnectionFlow: !0
26228
26229
  });
26229
26230
  return Object.entries(i).forEach(([a, o]) => {
26230
26231
  r.searchParams.append(a, o.toString());
@@ -27223,7 +27224,7 @@ let ei = (em = class {
27223
27224
  video: !0
27224
27225
  };
27225
27226
  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", rw({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
27226
- })), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.0.3-staging.2"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new UO()), a;
27227
+ })), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.0.3-staging.3"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new UO()), a;
27227
27228
  }
27228
27229
  join() {
27229
27230
  return u(this, null, function* () {
package/dist/index.es5.js CHANGED
@@ -27015,7 +27015,7 @@ function v2(s) {
27015
27015
  }
27016
27016
  var i = new URL(r), a = N(N({ roomID: this.roomName, peerID: s, authToken: this.authToken, useMediaV2: !0 }, u(this, Xn)[Xn].length > 0 && { oldPeerIds: u(this, Xn)[Xn].join(",") }), {}, { ping: this.capabilities.includes("PING"), capabilities: this.capabilities.map(function(o) {
27017
27017
  return rl[o];
27018
- }).join(" "), joinWithDetails: !0, useCfWorker: !0, useStartSession: !0 });
27018
+ }).join(" "), joinWithDetails: !0, useCfWorker: !0, useStartSession: !0, newReconnectionFlow: !0 });
27019
27019
  return Object.entries(a).forEach(function(o) {
27020
27020
  var c = $e(o, 2), l = c[0], d = c[1];
27021
27021
  i.searchParams.append(l, d.toString());
@@ -28153,7 +28153,7 @@ var Si = /* @__PURE__ */ S("trackMap"), F2 = /* @__PURE__ */ function(s) {
28153
28153
  }, { key: "setupContext", value: function(e, t, n, i) {
28154
28154
  var a, o, c = ba.createContext(e, t), l = N(N({}, lP), t == null ? void 0 : t.modules), d = t.defaults || { audio: !0, video: !0 };
28155
28155
  return c.setValue("options", t), c.setValue("peerId", e), c.setValue("modules", l), c.setValue("sdkName", "web-core"), c.setValue("meetingId", n), c.setValue("apiBase", i.apiBase), c.setValue("baseURI", i.baseURI), c.setValue("userId", i.participantId), c.setValue("organizationId", i.orgId), c.setValue("authToken", t.authToken), c.setValue("overrides", (a = t.overrides) !== null && a !== void 0 ? a : {}), c.setValue("env", dP({ baseURI: i.baseURI })), c.setValue("defaults", d), c.setValue("onError", t.onError || function() {
28156
- }), c.setValue("cachedUserDetails", ei(t.cachedUserDetails)), c.setValue("sdkVersion", "2.0.3-staging.2"), (o = t.modules) !== null && o !== void 0 && o.experimentalAudioPlayback && c.setValue("audioPlayback", new F2()), c;
28156
+ }), c.setValue("cachedUserDetails", ei(t.cachedUserDetails)), c.setValue("sdkVersion", "2.0.3-staging.3"), (o = t.modules) !== null && o !== void 0 && o.experimentalAudioPlayback && c.setValue("audioPlayback", new F2()), c;
28157
28157
  } }]);
28158
28158
  }());
28159
28159
  Ol([sr("0002"), Wi.executeWithLock({ methodName: "meeting.join", lockName: "Client.join", timeout: 3e3 })], Ea.prototype, "join", 1);