@stream-io/video-client 1.6.2 → 1.6.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 +7 -0
- package/dist/index.browser.es.js +4 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/StreamVideoClient.ts +2 -1
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.6.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.6.2...@stream-io/video-client-1.6.3) (2024-09-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* client instance removal used a wrong key ([#1484](https://github.com/GetStream/stream-video-js/issues/1484)) ([edff5d7](https://github.com/GetStream/stream-video-js/commit/edff5d7ca0cc241a3929da3b752073883f29da32))
|
|
11
|
+
|
|
5
12
|
## [1.6.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.6.1...@stream-io/video-client-1.6.2) (2024-09-09)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -8748,7 +8748,7 @@ const enableHighQualityAudio = (sdp, trackMid, maxBitrate = 510000) => {
|
|
|
8748
8748
|
return SDP.write(parsedSdp);
|
|
8749
8749
|
};
|
|
8750
8750
|
|
|
8751
|
-
const version = "1.6.
|
|
8751
|
+
const version = "1.6.3" ;
|
|
8752
8752
|
const [major, minor, patch] = version.split('.');
|
|
8753
8753
|
let sdkInfo = {
|
|
8754
8754
|
type: SdkType.PLAIN_JAVASCRIPT,
|
|
@@ -16092,7 +16092,7 @@ class StreamClient {
|
|
|
16092
16092
|
});
|
|
16093
16093
|
};
|
|
16094
16094
|
this.getUserAgent = () => {
|
|
16095
|
-
const version = "1.6.
|
|
16095
|
+
const version = "1.6.3" ;
|
|
16096
16096
|
return (this.userAgent ||
|
|
16097
16097
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
16098
16098
|
};
|
|
@@ -16338,6 +16338,7 @@ class StreamVideoClient {
|
|
|
16338
16338
|
return;
|
|
16339
16339
|
}
|
|
16340
16340
|
const userId = this.streamClient.user?.id;
|
|
16341
|
+
const apiKey = this.streamClient.key;
|
|
16341
16342
|
const disconnectUser = () => this.streamClient.disconnectUser(timeout);
|
|
16342
16343
|
this.disconnectionPromise = this.connectionPromise
|
|
16343
16344
|
? this.connectionPromise.then(() => disconnectUser())
|
|
@@ -16345,7 +16346,7 @@ class StreamVideoClient {
|
|
|
16345
16346
|
this.disconnectionPromise.finally(() => (this.disconnectionPromise = undefined));
|
|
16346
16347
|
await this.disconnectionPromise;
|
|
16347
16348
|
if (userId) {
|
|
16348
|
-
StreamVideoClient._instanceMap.delete(userId);
|
|
16349
|
+
StreamVideoClient._instanceMap.delete(apiKey + userId);
|
|
16349
16350
|
}
|
|
16350
16351
|
this.eventHandlersToUnregister.forEach((unregister) => unregister());
|
|
16351
16352
|
this.eventHandlersToUnregister = [];
|