@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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.8.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.8.2...@stream-io/video-client-1.8.3) (2024-10-10)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * do not release track if track was not removed from stream ([#1517](https://github.com/GetStream/stream-video-js/issues/1517)) ([5bfc528](https://github.com/GetStream/stream-video-js/commit/5bfc52850c36ffe0de37e47066538a8a14dc9e01))
11
+
12
+ ## [1.8.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.8.1...@stream-io/video-client-1.8.2) (2024-10-10)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * add track release for react-native whenever track stop is called ([#1516](https://github.com/GetStream/stream-video-js/issues/1516)) ([5074510](https://github.com/GetStream/stream-video-js/commit/50745101d28d0339592c22ca02b076040ad3bdeb))
18
+
5
19
  ## [1.8.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.8.0...@stream-io/video-client-1.8.1) (2024-10-10)
6
20
 
7
21
 
@@ -3020,7 +3020,7 @@ const retryable = async (rpc, signal) => {
3020
3020
  return result;
3021
3021
  };
3022
3022
 
3023
- const version = "1.8.1";
3023
+ const version = "1.8.3";
3024
3024
  const [major, minor, patch] = version.split('.');
3025
3025
  let sdkInfo = {
3026
3026
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -7938,7 +7938,6 @@ const disposeOfMediaStream = (stream) => {
7938
7938
  return;
7939
7939
  stream.getTracks().forEach((track) => {
7940
7940
  track.stop();
7941
- stream.removeTrack(track);
7942
7941
  });
7943
7942
  // @ts-expect-error release() is present in react-native-webrtc and must be called to dispose the stream
7944
7943
  if (typeof stream.release === 'function') {
@@ -12470,7 +12469,7 @@ class StreamClient {
12470
12469
  });
12471
12470
  };
12472
12471
  this.getUserAgent = () => {
12473
- const version = "1.8.1";
12472
+ const version = "1.8.3";
12474
12473
  return (this.userAgent ||
12475
12474
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12476
12475
  };