@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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.53.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.53.1...@stream-io/video-client-1.53.2) (2026-06-12)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **client:** keep user_id populated in call event telemetry when a disconnect races an in-flight join ([#2284](https://github.com/GetStream/stream-video-js/issues/2284)) ([4403348](https://github.com/GetStream/stream-video-js/commit/4403348115500499cd60919a417d97659546bb8b))
10
+
5
11
  ## [1.53.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.53.0...@stream-io/video-client-1.53.1) (2026-06-12)
6
12
 
7
13
  ### Bug Fixes
@@ -6640,7 +6640,7 @@ const getSdkVersion = (sdk) => {
6640
6640
  return sdk ? `${sdk.major}.${sdk.minor}.${sdk.patch}` : '0.0.0-development';
6641
6641
  };
6642
6642
 
6643
- const version = "1.53.1";
6643
+ const version = "1.53.2";
6644
6644
  const [major, minor, patch] = version.split('.');
6645
6645
  let sdkInfo = {
6646
6646
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -17464,11 +17464,11 @@ class StreamClient {
17464
17464
  return await this.wsConnection.connect(this.defaultWSTimeout);
17465
17465
  };
17466
17466
  this.getSdkVersion = () => this.options.clientAppIdentifier?.sdkVersion ||
17467
- "1.53.1";
17467
+ "1.53.2";
17468
17468
  this.getUserAgent = () => {
17469
17469
  if (!this.cachedUserAgent) {
17470
17470
  const { clientAppIdentifier = {} } = this.options;
17471
- const { sdkName = 'js', sdkVersion = "1.53.1", ...extras } = clientAppIdentifier;
17471
+ const { sdkName = 'js', sdkVersion = "1.53.2", ...extras } = clientAppIdentifier;
17472
17472
  this.cachedUserAgent = [
17473
17473
  `stream-video-${sdkName}-v${sdkVersion}`,
17474
17474
  ...Object.entries(extras).map(([key, value]) => `${key}=${value}`),
@@ -17875,7 +17875,7 @@ class ClientEventReporter {
17875
17875
  const coordinatorConnectId = this.coordinatorConnectId;
17876
17876
  const ctx = this.callContexts.get(cid);
17877
17877
  this.send({
17878
- user_id: this.streamClient.userID,
17878
+ user_id: this.streamClient.userID || this.coordinatorConnectUserId,
17879
17879
  type: ctx?.callType,
17880
17880
  id: ctx?.callId,
17881
17881
  call_cid: cid,
@@ -18128,7 +18128,7 @@ class ClientEventReporter {
18128
18128
  const ctx = this.callContexts.get(cid);
18129
18129
  const coordinatorConnectId = this.coordinatorConnectId;
18130
18130
  return {
18131
- user_id: this.streamClient.userID,
18131
+ user_id: this.streamClient.userID || this.coordinatorConnectUserId,
18132
18132
  type: ctx?.callType ?? '',
18133
18133
  id: ctx?.callId ?? '',
18134
18134
  call_cid: cid,