@cloudflare/realtimekit 1.5.2-staging.6 → 1.5.2-staging.7

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
@@ -26764,7 +26764,7 @@ class CS extends Lt {
26764
26764
  );
26765
26765
  if (i.canAlterConnectedMeetings)
26766
26766
  return;
26767
- const n = a(this, Mt).getValue("peerId");
26767
+ const n = a(this, Mt).getValue("userId");
26768
26768
  if (!(r.length === 1 && r[0] === n))
26769
26769
  throw new Error(
26770
26770
  "You are not allowed to move other participants. Please enable canAlterConnectedMeetings permission in your preset."
@@ -27497,7 +27497,7 @@ let Fr = (Pg = class {
27497
27497
  video: !0
27498
27498
  };
27499
27499
  return n.setValue("options", e), 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", (d = e.overrides) != null ? d : {}), n.setValue("env", yC({ baseURI: i.baseURI })), n.setValue("defaults", c), n.setValue("onError", e.onError || (() => {
27500
- })), n.setValue("cachedUserDetails", Cs(e.cachedUserDetails)), n.setValue("sdkVersion", "1.5.2-staging.6"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new ZD()), n;
27500
+ })), n.setValue("cachedUserDetails", Cs(e.cachedUserDetails)), n.setValue("sdkVersion", "1.5.2-staging.7"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new ZD()), n;
27501
27501
  }
27502
27502
  join() {
27503
27503
  return u(this, null, function* () {
package/dist/index.es5.js CHANGED
@@ -28343,7 +28343,7 @@ var DO = /* @__PURE__ */ function() {
28343
28343
  if (!a)
28344
28344
  throw new Error("You are not allowed to perform this action. Please enable connected meetings permissions in your preset.");
28345
28345
  if (!a.canAlterConnectedMeetings) {
28346
- var o = c(this, $r)[$r].getValue("peerId"), u = n.length === 1 && n[0] === o;
28346
+ var o = c(this, $r)[$r].getValue("userId"), u = n.length === 1 && n[0] === o;
28347
28347
  if (!u)
28348
28348
  throw new Error("You are not allowed to move other participants. Please enable canAlterConnectedMeetings permission in your preset.");
28349
28349
  var l = r === ((i = this.parentMeeting) === null || i === void 0 ? void 0 : i.id);