@stream-io/video-client 1.53.1 → 1.53.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-client",
3
- "version": "1.53.1",
3
+ "version": "1.53.2",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.es.js",
6
6
  "browser": "dist/index.browser.es.js",
@@ -393,7 +393,7 @@ export class ClientEventReporter {
393
393
  const ctx = this.callContexts.get(cid);
394
394
 
395
395
  this.send({
396
- user_id: this.streamClient.userID,
396
+ user_id: this.streamClient.userID || this.coordinatorConnectUserId,
397
397
  type: ctx?.callType,
398
398
  id: ctx?.callId,
399
399
  call_cid: cid,
@@ -712,7 +712,7 @@ export class ClientEventReporter {
712
712
  const ctx = this.callContexts.get(cid);
713
713
  const coordinatorConnectId = this.coordinatorConnectId;
714
714
  return {
715
- user_id: this.streamClient.userID,
715
+ user_id: this.streamClient.userID || this.coordinatorConnectUserId,
716
716
  type: ctx?.callType ?? '',
717
717
  id: ctx?.callId ?? '',
718
718
  call_cid: cid,