@cloudflare/realtimekit-react 0.5.0-staging.114 → 0.5.0-staging.115
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 +2 -2
- package/dist/index.es.js +2 -4
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -21523,8 +21523,8 @@ const sf = class {
|
|
|
21523
21523
|
}, 2e3));
|
|
21524
21524
|
p(this, "updateConsumers", (s2, t2) => {
|
|
21525
21525
|
let e2 = Promise.resolve();
|
|
21526
|
-
t2.length > 0 && (l.info("
|
|
21527
|
-
s2.length !== 0 && (l.info("
|
|
21526
|
+
t2.length > 0 && (l.info("Queueing close consumers for producers", { producers: t2 }), e2 = this.roomNodeClient.closeConsumers(t2)), e2.then(() => {
|
|
21527
|
+
s2.length !== 0 && (l.info("Queueing create consumers for producers", { producers: s2 }), this.roomNodeClient.createConsumers(s2).catch((r2) => l.error("Error activating peers", { error: r2 })));
|
|
21528
21528
|
}).catch((r2) => l.error("Error deactivating peers", { error: r2 }));
|
|
21529
21529
|
});
|
|
21530
21530
|
p(this, "updateConsumersDebounced", Xc(this.updateConsumers, 200, { trailing: true }));
|
|
@@ -25329,8 +25329,6 @@ const on = class extends fl {
|
|
|
25329
25329
|
throw new kt("closed");
|
|
25330
25330
|
if (this.direction !== "recv")
|
|
25331
25331
|
throw new go("not a receiving transport");
|
|
25332
|
-
if (this.listenerCount("connect") === 0 && this.connectionState === "new")
|
|
25333
|
-
throw new TypeError('no "connect" listener set into this transport');
|
|
25334
25332
|
if (!(yield this.transportConnectionPromise))
|
|
25335
25333
|
throw new ii("transport not connected");
|
|
25336
25334
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/realtimekit-react",
|
|
3
|
-
"version": "0.5.0-staging.
|
|
3
|
+
"version": "0.5.0-staging.115",
|
|
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": "0.5.0-staging.
|
|
20
|
+
"@cloudflare/realtimekit": "0.5.0-staging.115"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": ">=16.8.6"
|