@cloudflare/realtimekit-react 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/index.cjs.js +9 -9
- package/dist/index.es.js +2 -2
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -22197,7 +22197,7 @@ const ba = (Hg = class {
|
|
|
22197
22197
|
m(this, Ui, true), m(this, fn, false);
|
|
22198
22198
|
let s = [], t = [];
|
|
22199
22199
|
if (this.context.getValue("flagsmith").hasFeature(Y.NEW_SYNC_CONSUMERS)) {
|
|
22200
|
-
const n = [], o = this.participants.videoSubscribed.toArray().reduce((P, w) => w.
|
|
22200
|
+
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(
|
|
22201
22201
|
a(this, er),
|
|
22202
22202
|
o
|
|
22203
22203
|
);
|
|
@@ -30513,7 +30513,7 @@ let ri = (Wg = class {
|
|
|
30513
30513
|
video: true
|
|
30514
30514
|
};
|
|
30515
30515
|
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 || (() => {
|
|
30516
|
-
})), n.setValue("cachedUserDetails", _s(e.cachedUserDetails)), n.setValue("sdkVersion", "3.2.0-staging.
|
|
30516
|
+
})), 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;
|
|
30517
30517
|
}
|
|
30518
30518
|
join() {
|
|
30519
30519
|
return u(this, null, function* () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/realtimekit-react",
|
|
3
|
-
"version": "1.2.0-staging.
|
|
3
|
+
"version": "1.2.0-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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"private": false,
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@cloudflare/realtimekit": "1.2.0-staging.
|
|
23
|
+
"@cloudflare/realtimekit": "1.2.0-staging.2"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": ">=16.8.6"
|