@stream-io/video-client 1.15.4 → 1.15.5

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.15.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.15.4...@stream-io/video-client-1.15.5) (2025-01-24)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * remove the participants from state when leaving call ([003ac26](https://github.com/GetStream/stream-video-js/commit/003ac26eff3c14779d5f25e6e64973c88a5b811d))
11
+
5
12
  ## [1.15.4](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.15.3...@stream-io/video-client-1.15.4) (2025-01-23)
6
13
 
7
14
 
@@ -7356,7 +7356,7 @@ const aggregate = (stats) => {
7356
7356
  return report;
7357
7357
  };
7358
7358
 
7359
- const version = "1.15.4";
7359
+ const version = "1.15.5";
7360
7360
  const [major, minor, patch] = version.split('.');
7361
7361
  let sdkInfo = {
7362
7362
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -10253,6 +10253,7 @@ class Call {
10253
10253
  this.sfuClient = undefined;
10254
10254
  this.dynascaleManager.setSfuClient(undefined);
10255
10255
  this.state.setCallingState(CallingState.LEFT);
10256
+ this.state.setParticipants([]);
10256
10257
  this.state.dispose();
10257
10258
  // Call all leave call hooks, e.g. to clean up global event handlers
10258
10259
  this.leaveCallHooks.forEach((hook) => hook());
@@ -12862,7 +12863,7 @@ class StreamClient {
12862
12863
  return await this.wsConnection.connect(this.defaultWSTimeout);
12863
12864
  };
12864
12865
  this.getUserAgent = () => {
12865
- const version = "1.15.4";
12866
+ const version = "1.15.5";
12866
12867
  return (this.userAgent ||
12867
12868
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12868
12869
  };