@cloudflare/realtimekit 1.1.5-staging.1 → 1.1.5-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.es.js CHANGED
@@ -17020,7 +17020,7 @@ const Ra = (Mg = class {
17020
17020
  };
17021
17021
  a(this, Wa).permissions.on("permissionsUpdate", (r) => l(this, null, function* () {
17022
17022
  var i;
17023
- (i = r == null ? void 0 : r.polls) != null && i.canView ? (yield this.getPolls(), t()) : (this.polls.items = [], e());
17023
+ r != null && r.polls && ((i = r == null ? void 0 : r.polls) != null && i.canView ? (yield this.getPolls(), t()) : (this.polls.items = [], e()));
17024
17024
  })), this.canViewPolls() && t();
17025
17025
  }
17026
17026
  updatePoll(s) {
@@ -30444,7 +30444,7 @@ let ri = (Wg = class {
30444
30444
  video: true
30445
30445
  };
30446
30446
  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", PC({ baseURI: i.baseURI })), n.setValue("defaults", c), n.setValue("onError", e.onError || (() => {
30447
- })), n.setValue("cachedUserDetails", Ps(e.cachedUserDetails)), n.setValue("sdkVersion", "3.1.5-staging.1"), (u = e.modules) != null && u.experimentalAudioPlayback && n.setValue("audioPlayback", new oO()), n;
30447
+ })), n.setValue("cachedUserDetails", Ps(e.cachedUserDetails)), n.setValue("sdkVersion", "3.1.5-staging.2"), (u = e.modules) != null && u.experimentalAudioPlayback && n.setValue("audioPlayback", new oO()), n;
30448
30448
  }
30449
30449
  join() {
30450
30450
  return l(this, null, function* () {