@stream-io/video-client 1.8.1 → 1.8.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/dist/index.es.js CHANGED
@@ -3021,7 +3021,7 @@ const retryable = async (rpc, signal) => {
3021
3021
  return result;
3022
3022
  };
3023
3023
 
3024
- const version = "1.8.1";
3024
+ const version = "1.8.3";
3025
3025
  const [major, minor, patch] = version.split('.');
3026
3026
  let sdkInfo = {
3027
3027
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -7939,7 +7939,6 @@ const disposeOfMediaStream = (stream) => {
7939
7939
  return;
7940
7940
  stream.getTracks().forEach((track) => {
7941
7941
  track.stop();
7942
- stream.removeTrack(track);
7943
7942
  });
7944
7943
  // @ts-expect-error release() is present in react-native-webrtc and must be called to dispose the stream
7945
7944
  if (typeof stream.release === 'function') {
@@ -12469,7 +12468,7 @@ class StreamClient {
12469
12468
  });
12470
12469
  };
12471
12470
  this.getUserAgent = () => {
12472
- const version = "1.8.1";
12471
+ const version = "1.8.3";
12473
12472
  return (this.userAgent ||
12474
12473
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12475
12474
  };