@stream-io/video-client 1.40.2 → 1.40.3

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,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.40.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.40.2...@stream-io/video-client-1.40.3) (2026-01-16)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **react:** resolve call state race condition when using join with ring ([#2086](https://github.com/GetStream/stream-video-js/issues/2086)) ([6c2d3b3](https://github.com/GetStream/stream-video-js/commit/6c2d3b35ac96dbf7a85cadba47068a0e417d65be)), closes [#1755](https://github.com/GetStream/stream-video-js/issues/1755) [#2035](https://github.com/GetStream/stream-video-js/issues/2035)
10
+ - **react:** resolve call state race condition when using join with ring ([#2084](https://github.com/GetStream/stream-video-js/issues/2084)) ([f9b5946](https://github.com/GetStream/stream-video-js/commit/f9b59465f22b35304dbd01601e3f6166e1d02ea0)), closes [#1755](https://github.com/GetStream/stream-video-js/issues/1755) [#2035](https://github.com/GetStream/stream-video-js/issues/2035)
11
+
5
12
  ## [1.40.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.40.1...@stream-io/video-client-1.40.2) (2026-01-15)
6
13
 
7
14
  ### Bug Fixes
@@ -6060,7 +6060,7 @@ const getSdkVersion = (sdk) => {
6060
6060
  return sdk ? `${sdk.major}.${sdk.minor}.${sdk.patch}` : '0.0.0-development';
6061
6061
  };
6062
6062
 
6063
- const version = "1.40.2";
6063
+ const version = "1.40.3";
6064
6064
  const [major, minor, patch] = version.split('.');
6065
6065
  let sdkInfo = {
6066
6066
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -12797,7 +12797,7 @@ class Call {
12797
12797
  }
12798
12798
  if (this.streamClient._hasConnectionID()) {
12799
12799
  this.watching = true;
12800
- this.clientStore.registerCall(this);
12800
+ this.clientStore.registerOrUpdateCall(this);
12801
12801
  }
12802
12802
  return joinResponse;
12803
12803
  };
@@ -15114,7 +15114,7 @@ class StreamClient {
15114
15114
  this.getUserAgent = () => {
15115
15115
  if (!this.cachedUserAgent) {
15116
15116
  const { clientAppIdentifier = {} } = this.options;
15117
- const { sdkName = 'js', sdkVersion = "1.40.2", ...extras } = clientAppIdentifier;
15117
+ const { sdkName = 'js', sdkVersion = "1.40.3", ...extras } = clientAppIdentifier;
15118
15118
  this.cachedUserAgent = [
15119
15119
  `stream-video-${sdkName}-v${sdkVersion}`,
15120
15120
  ...Object.entries(extras).map(([key, value]) => `${key}=${value}`),