@cloudflare/realtimekit 2.0.2-staging.1 → 2.0.2-staging.2

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.es5.js CHANGED
@@ -27778,7 +27778,7 @@ var YO = Object.defineProperty, XO = Object.getOwnPropertyDescriptor, $h = funct
27778
27778
  U.n = 7;
27779
27779
  break;
27780
27780
  }
27781
- throw new $("The auth token is not associated with an active participant in this meeting. The meeting may have ended, or the participant may no longer exist. (404)", "0004");
27781
+ throw v.error("[ERROR:0004] participant-details returned 404."), new $("The auth token is not associated with an active participant in this meeting. The meeting may have ended, or the participant may no longer exist. (404)", "0004");
27782
27782
  case 7:
27783
27783
  if (!(x.status >= 500)) {
27784
27784
  U.n = 8;
@@ -28252,7 +28252,7 @@ var vi = /* @__PURE__ */ E("trackMap"), rD = /* @__PURE__ */ function(s) {
28252
28252
  }, { key: "setupContext", value: function(e, t, n, i) {
28253
28253
  var a, o, u = ha.createContext(e, t), l = N(N({}, Fb), t == null ? void 0 : t.modules), d = t.defaults || { audio: !0, video: !0 };
28254
28254
  return u.setValue("options", t), u.setValue("peerId", e), u.setValue("modules", l), u.setValue("sdkName", "web-core"), u.setValue("meetingId", n), u.setValue("apiBase", i.apiBase), u.setValue("baseURI", i.baseURI), u.setValue("userId", i.participantId), u.setValue("organizationId", i.orgId), u.setValue("authToken", t.authToken), u.setValue("overrides", (a = t.overrides) !== null && a !== void 0 ? a : {}), u.setValue("env", Hb({ baseURI: i.baseURI })), u.setValue("defaults", d), u.setValue("onError", t.onError || function() {
28255
- }), u.setValue("cachedUserDetails", Bn(t.cachedUserDetails)), u.setValue("sdkVersion", "2.0.2-staging.1"), (o = t.modules) !== null && o !== void 0 && o.experimentalAudioPlayback && u.setValue("audioPlayback", new rD()), u;
28255
+ }), u.setValue("cachedUserDetails", Bn(t.cachedUserDetails)), u.setValue("sdkVersion", "2.0.2-staging.2"), (o = t.modules) !== null && o !== void 0 && o.experimentalAudioPlayback && u.setValue("audioPlayback", new rD()), u;
28256
28256
  } }]);
28257
28257
  }());
28258
28258
  ll([ir("0002"), Li.executeWithLock({ methodName: "meeting.join", lockName: "Client.join", timeout: 3e3 })], ga.prototype, "join", 1);