@stream-io/video-client 0.5.3 → 0.5.4

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.es.js CHANGED
@@ -11333,10 +11333,10 @@ class Call {
11333
11333
  this.sfuClient?.close();
11334
11334
  this.sfuClient = undefined;
11335
11335
  this.dispatcher.offAll();
11336
+ this.state.setCallingState(CallingState.LEFT);
11336
11337
  // Call all leave call hooks, e.g. to clean up global event handlers
11337
11338
  this.leaveCallHooks.forEach((hook) => hook());
11338
11339
  this.clientStore.unregisterCall(this);
11339
- this.state.setCallingState(CallingState.LEFT);
11340
11340
  this.camera.removeSubscriptions();
11341
11341
  this.microphone.removeSubscriptions();
11342
11342
  this.screenShare.removeSubscriptions();
@@ -14236,7 +14236,7 @@ class StreamClient {
14236
14236
  });
14237
14237
  };
14238
14238
  this.getUserAgent = () => {
14239
- const version = "0.5.3" ;
14239
+ const version = "0.5.4" ;
14240
14240
  return (this.userAgent ||
14241
14241
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
14242
14242
  };