@cloudflare/realtimekit-react 1.2.0-staging.13 → 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/index.es.js CHANGED
@@ -19105,7 +19105,7 @@ class Ot extends qa {
19105
19105
  }
19106
19106
  e && !a && n(this, Ie).getValue("callstats").audioOff(), r && !o && n(this, Ie).getValue("callstats").videoOff(), yield n(this, ye).setMediaTrack(a), yield n(this, ge).setMediaTrack(o);
19107
19107
  try {
19108
- this.setupSpeaker();
19108
+ yield this.setupSpeaker();
19109
19109
  } catch (d) {
19110
19110
  }
19111
19111
  if (o) {
@@ -22120,7 +22120,12 @@ const aS = (zg = class {
22120
22120
  })), this.roomSocketHandler.on(
22121
22121
  this.events.peerJoinedBroadcast,
22122
22122
  ({ participant: s }) => {
22123
- this.logger.info("events.peerJoinedBroadcast", { peers: s.peerId }), this.onParticipantMediaJoined(
22123
+ this.logger.info("PEER_INFO:::MEDIA_JOIN", {
22124
+ dyteParticipant: {
22125
+ id: s.peerId,
22126
+ maskedName: [...(s == null ? void 0 : s.displayName) || ""].map((t, e) => e % 2 ? "*" : t).join("")
22127
+ }
22128
+ }), this.logger.info("events.peerJoinedBroadcast", { peers: s.peerId }), this.onParticipantMediaJoined(
22124
22129
  s.peerId,
22125
22130
  s.producerStates,
22126
22131
  s.capabilities
@@ -22446,7 +22451,12 @@ const aS = (zg = class {
22446
22451
  if (!this.mediaJoined || s === this.self.id)
22447
22452
  return;
22448
22453
  const r = this.participants.joined.get(s);
22449
- if (!r) {
22454
+ if (this.logger.info("PEER_INFO:::SOCKET_ON_MEDIA_JOIN", {
22455
+ dyteParticipant: {
22456
+ id: r.id,
22457
+ maskedName: [...(r == null ? void 0 : r.name) || ""].map((i, a) => a % 2 ? "*" : i).join("")
22458
+ }
22459
+ }), !r) {
22450
22460
  this.logger.warn(`Received media.peerJoinedBroadcast for non-existent peer ${s}`);
22451
22461
  return;
22452
22462
  }
@@ -30679,7 +30689,7 @@ let ii = (em = class {
30679
30689
  video: true
30680
30690
  };
30681
30691
  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 || (() => {
30682
- })), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "3.2.0-staging.13"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new i1()), a;
30692
+ })), 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;
30683
30693
  }
30684
30694
  join() {
30685
30695
  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.13",
3
+ "version": "1.2.0-staging.15",
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.13"
23
+ "@cloudflare/realtimekit": "1.2.0-staging.15"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": ">=16.8.6"