@cloudflare/realtimekit 1.2.0-staging.14 → 1.2.0-staging.15
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/index.cjs.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +13 -3
- package/dist/index.rn.js +2 -2
- package/dist/ts3.4/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -22113,7 +22113,12 @@ const aS = (zg = class {
|
|
|
22113
22113
|
})), this.roomSocketHandler.on(
|
|
22114
22114
|
this.events.peerJoinedBroadcast,
|
|
22115
22115
|
({ participant: s }) => {
|
|
22116
|
-
this.logger.info("
|
|
22116
|
+
this.logger.info("PEER_INFO:::MEDIA_JOIN", {
|
|
22117
|
+
dyteParticipant: {
|
|
22118
|
+
id: s.peerId,
|
|
22119
|
+
maskedName: [...(s == null ? void 0 : s.displayName) || ""].map((t, e) => e % 2 ? "*" : t).join("")
|
|
22120
|
+
}
|
|
22121
|
+
}), this.logger.info("events.peerJoinedBroadcast", { peers: s.peerId }), this.onParticipantMediaJoined(
|
|
22117
22122
|
s.peerId,
|
|
22118
22123
|
s.producerStates,
|
|
22119
22124
|
s.capabilities
|
|
@@ -22439,7 +22444,12 @@ const aS = (zg = class {
|
|
|
22439
22444
|
if (!this.mediaJoined || s === this.self.id)
|
|
22440
22445
|
return;
|
|
22441
22446
|
const r = this.participants.joined.get(s);
|
|
22442
|
-
if (
|
|
22447
|
+
if (this.logger.info("PEER_INFO:::SOCKET_ON_MEDIA_JOIN", {
|
|
22448
|
+
dyteParticipant: {
|
|
22449
|
+
id: r.id,
|
|
22450
|
+
maskedName: [...(r == null ? void 0 : r.name) || ""].map((i, a) => a % 2 ? "*" : i).join("")
|
|
22451
|
+
}
|
|
22452
|
+
}), !r) {
|
|
22443
22453
|
this.logger.warn(`Received media.peerJoinedBroadcast for non-existent peer ${s}`);
|
|
22444
22454
|
return;
|
|
22445
22455
|
}
|
|
@@ -30672,7 +30682,7 @@ let ii = (em = class {
|
|
|
30672
30682
|
video: true
|
|
30673
30683
|
};
|
|
30674
30684
|
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", TR({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
|
|
30675
|
-
})), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "3.2.0-staging.
|
|
30685
|
+
})), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "3.2.0-staging.15"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new i1()), a;
|
|
30676
30686
|
}
|
|
30677
30687
|
join() {
|
|
30678
30688
|
return u(this, null, function* () {
|