@cloudflare/realtimekit 1.2.0-staging.1 → 1.2.0-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/browser.js +9 -9
- package/dist/index.cjs.js +9 -9
- package/dist/index.es.js +2 -2
- package/dist/index.rn.js +9 -9
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -22190,7 +22190,7 @@ const ba = (Hg = class {
|
|
|
22190
22190
|
m(this, Ui, true), m(this, fn, false);
|
|
22191
22191
|
let s = [], t = [];
|
|
22192
22192
|
if (this.context.getValue("flagsmith").hasFeature(Y.NEW_SYNC_CONSUMERS)) {
|
|
22193
|
-
const n = [], o = this.participants.videoSubscribed.toArray().reduce((P, w) => w.
|
|
22193
|
+
const n = [], o = this.participants.videoSubscribed.toArray().reduce((P, w) => w.producers.some((A) => A.kind === "video") ? (n.push(w.id), P.set(w.id, w)) : P, /* @__PURE__ */ new Map()), c = [], d = this.participants.audioSubscribed.toArray().reduce((P, w) => w.producers.some((A) => A.kind === "audio") ? (c.push(w.id), P.set(w.id, w)) : P, /* @__PURE__ */ new Map()), [l, p] = ba.mapDiff(
|
|
22194
22194
|
a(this, er),
|
|
22195
22195
|
o
|
|
22196
22196
|
);
|
|
@@ -30506,7 +30506,7 @@ let ri = (Wg = class {
|
|
|
30506
30506
|
video: true
|
|
30507
30507
|
};
|
|
30508
30508
|
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 || (() => {
|
|
30509
|
-
})), n.setValue("cachedUserDetails", _s(e.cachedUserDetails)), n.setValue("sdkVersion", "3.2.0-staging.
|
|
30509
|
+
})), n.setValue("cachedUserDetails", _s(e.cachedUserDetails)), n.setValue("sdkVersion", "3.2.0-staging.2"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new oO()), n;
|
|
30510
30510
|
}
|
|
30511
30511
|
join() {
|
|
30512
30512
|
return u(this, null, function* () {
|