@cloudflare/realtimekit-react 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
@@ -17027,7 +17027,7 @@ const Ra = (Mg = class {
17027
17027
  };
17028
17028
  a(this, Wa).permissions.on("permissionsUpdate", (r) => l(this, null, function* () {
17029
17029
  var i;
17030
- (i = r == null ? void 0 : r.polls) != null && i.canView ? (yield this.getPolls(), t()) : (this.polls.items = [], e());
17030
+ r != null && r.polls && ((i = r == null ? void 0 : r.polls) != null && i.canView ? (yield this.getPolls(), t()) : (this.polls.items = [], e()));
17031
17031
  })), this.canViewPolls() && t();
17032
17032
  }
17033
17033
  updatePoll(s) {
@@ -30451,7 +30451,7 @@ let ri = (Wg = class {
30451
30451
  video: true
30452
30452
  };
30453
30453
  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 || (() => {
30454
- })), 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;
30454
+ })), 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;
30455
30455
  }
30456
30456
  join() {
30457
30457
  return l(this, null, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-react",
3
- "version": "1.1.5-staging.1",
3
+ "version": "1.1.5-staging.2",
4
4
  "description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "private": false,
19
19
  "dependencies": {
20
- "@cloudflare/realtimekit": "1.1.5-staging.1"
20
+ "@cloudflare/realtimekit": "1.1.5-staging.2"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=16.8.6"