@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/dist/index.cjs.js CHANGED
@@ -7358,7 +7358,7 @@ const aggregate = (stats) => {
7358
7358
  return report;
7359
7359
  };
7360
7360
 
7361
- const version = "1.15.4";
7361
+ const version = "1.15.5";
7362
7362
  const [major, minor, patch] = version.split('.');
7363
7363
  let sdkInfo = {
7364
7364
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -10255,6 +10255,7 @@ class Call {
10255
10255
  this.sfuClient = undefined;
10256
10256
  this.dynascaleManager.setSfuClient(undefined);
10257
10257
  this.state.setCallingState(exports.CallingState.LEFT);
10258
+ this.state.setParticipants([]);
10258
10259
  this.state.dispose();
10259
10260
  // Call all leave call hooks, e.g. to clean up global event handlers
10260
10261
  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
  };