@stream-io/video-client 1.11.1 → 1.11.2

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.11.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.11.1...@stream-io/video-client-1.11.2) (2024-11-14)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * fully reset token manager on user disconnect ([#1578](https://github.com/GetStream/stream-video-js/issues/1578)) ([6751abc](https://github.com/GetStream/stream-video-js/commit/6751abc0507085bd7c9f3f803f4c5929e0598bea)), closes [#1573](https://github.com/GetStream/stream-video-js/issues/1573)
11
+
5
12
  ## [1.11.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.11.0...@stream-io/video-client-1.11.1) (2024-11-14)
6
13
 
7
14
 
@@ -3335,7 +3335,7 @@ const retryable = async (rpc, signal) => {
3335
3335
  return result;
3336
3336
  };
3337
3337
 
3338
- const version = "1.11.1";
3338
+ const version = "1.11.2";
3339
3339
  const [major, minor, patch] = version.split('.');
3340
3340
  let sdkInfo = {
3341
3341
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -12216,6 +12216,8 @@ class TokenManager {
12216
12216
  */
12217
12217
  this.reset = () => {
12218
12218
  this.token = undefined;
12219
+ this.tokenProvider = undefined;
12220
+ this.type = 'static';
12219
12221
  this.user = undefined;
12220
12222
  this.loadTokenPromise = null;
12221
12223
  };
@@ -12976,7 +12978,7 @@ class StreamClient {
12976
12978
  });
12977
12979
  };
12978
12980
  this.getUserAgent = () => {
12979
- const version = "1.11.1";
12981
+ const version = "1.11.2";
12980
12982
  return (this.userAgent ||
12981
12983
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12982
12984
  };