@cloudflare/realtimekit 2.1.0-staging.4 → 2.1.0-staging.5
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/browser.js +2 -2
- package/dist/dependencies.txt +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +2 -2
- package/dist/index.es5.js +2 -2
- package/dist/index.rn.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -13392,7 +13392,7 @@ let dh = (gm = class extends Bt {
|
|
|
13392
13392
|
return u(this, null, function* () {
|
|
13393
13393
|
var i, a, o;
|
|
13394
13394
|
const e = (i = n(this, Pi).getValue("meeting")) == null ? void 0 : i.connectedMeetings;
|
|
13395
|
-
if ((a = e == null ? void 0 : e.parentMeeting) == null ? void 0 : a.id) {
|
|
13395
|
+
if (((a = e == null ? void 0 : e.parentMeeting) == null ? void 0 : a.id) && (e != null && e.isActive)) {
|
|
13396
13396
|
if (!((o = n(this, zs).permissions.connectedMeetings) != null && o.canAlterConnectedMeetings))
|
|
13397
13397
|
throw this.logger.error("Meta::setMeetingTitle::permission_denied"), new R("User does not have permission to edit the meeting title", "0801");
|
|
13398
13398
|
yield e.updateMeetings([{ id: this.meetingId, title: t }]);
|
|
@@ -27653,7 +27653,7 @@ let oi = (km = class {
|
|
|
27653
27653
|
video: !0
|
|
27654
27654
|
};
|
|
27655
27655
|
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", AC({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
|
|
27656
|
-
})), a.setValue("cachedUserDetails", Vs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.1.0-staging.
|
|
27656
|
+
})), a.setValue("cachedUserDetails", Vs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.1.0-staging.5"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new f1()), a;
|
|
27657
27657
|
}
|
|
27658
27658
|
join() {
|
|
27659
27659
|
return u(this, null, function* () {
|
package/dist/index.es5.js
CHANGED
|
@@ -12349,7 +12349,7 @@ var IA = Object.defineProperty, MA = Object.getOwnPropertyDescriptor, OA = funct
|
|
|
12349
12349
|
for (; ; )
|
|
12350
12350
|
switch (p.n) {
|
|
12351
12351
|
case 0:
|
|
12352
|
-
if (c = (a = u(this, ai)[ai].getValue("meeting")) === null || a === void 0 ? void 0 : a.connectedMeetings, l = c == null || (o = c.parentMeeting) === null || o === void 0 ? void 0 : o.id, !l) {
|
|
12352
|
+
if (c = (a = u(this, ai)[ai].getValue("meeting")) === null || a === void 0 ? void 0 : a.connectedMeetings, l = c == null || (o = c.parentMeeting) === null || o === void 0 ? void 0 : o.id, !(l && c !== null && c !== void 0 && c.isActive)) {
|
|
12353
12353
|
p.n = 3;
|
|
12354
12354
|
break;
|
|
12355
12355
|
}
|
|
@@ -28501,7 +28501,7 @@ var gr = /* @__PURE__ */ b("trackMap"), yD = /* @__PURE__ */ function(s) {
|
|
|
28501
28501
|
}, { key: "setupContext", value: function(e, t, n, i) {
|
|
28502
28502
|
var a, o, c = Aa.createContext(e, t), l = N(N({}, CP), t == null ? void 0 : t.modules), d = t.defaults || { audio: !0, video: !0 };
|
|
28503
28503
|
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", RP({ baseURI: i.baseURI })), c.setValue("defaults", d), c.setValue("onError", t.onError || function() {
|
|
28504
|
-
}), c.setValue("cachedUserDetails", pi(t.cachedUserDetails)), c.setValue("sdkVersion", "2.1.0-staging.
|
|
28504
|
+
}), c.setValue("cachedUserDetails", pi(t.cachedUserDetails)), c.setValue("sdkVersion", "2.1.0-staging.5"), (o = t.modules) !== null && o !== void 0 && o.experimentalAudioPlayback && c.setValue("audioPlayback", new yD()), c;
|
|
28505
28505
|
} }]);
|
|
28506
28506
|
}());
|
|
28507
28507
|
Zl([dr("0002"), xi.executeWithLock({ methodName: "meeting.join", lockName: "Client.join", timeout: 3e3 })], Ma.prototype, "join", 1);
|