@stream-io/video-client 1.12.0 → 1.12.1
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 +7 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +7 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/Call.ts +5 -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.12.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.12.0...@stream-io/video-client-1.12.1) (2024-12-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* reenable usage of ringing filters with useCalls ([1dffaed](https://github.com/GetStream/stream-video-js/commit/1dffaed609ac147a6030a4fb103c4dd586db775e))
|
|
11
|
+
|
|
5
12
|
## [1.12.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.11.15...@stream-io/video-client-1.12.0) (2024-12-10)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -3299,7 +3299,7 @@ const retryable = async (rpc, signal) => {
|
|
|
3299
3299
|
return result;
|
|
3300
3300
|
};
|
|
3301
3301
|
|
|
3302
|
-
const version = "1.12.
|
|
3302
|
+
const version = "1.12.1";
|
|
3303
3303
|
const [major, minor, patch] = version.split('.');
|
|
3304
3304
|
let sdkInfo = {
|
|
3305
3305
|
type: SdkType.PLAIN_JAVASCRIPT,
|
|
@@ -10162,8 +10162,12 @@ class Call {
|
|
|
10162
10162
|
}
|
|
10163
10163
|
// update the call state with the latest event data
|
|
10164
10164
|
this.state.updateFromCallResponse(event.call);
|
|
10165
|
-
this.ringingSubject.next(true);
|
|
10166
10165
|
this.watching = true;
|
|
10166
|
+
this.ringingSubject.next(true);
|
|
10167
|
+
// we remove the instance from the calls list to enable the following filter in useCalls hook
|
|
10168
|
+
// const calls = useCalls().filter((c) => c.ringing);
|
|
10169
|
+
const calls = this.clientStore.calls.filter((c) => c.cid !== this.cid);
|
|
10170
|
+
this.clientStore.setCalls([this, ...calls]);
|
|
10167
10171
|
await this.applyDeviceConfig(false);
|
|
10168
10172
|
};
|
|
10169
10173
|
/**
|
|
@@ -12798,7 +12802,7 @@ class StreamClient {
|
|
|
12798
12802
|
return await this.wsConnection.connect(this.defaultWSTimeout);
|
|
12799
12803
|
};
|
|
12800
12804
|
this.getUserAgent = () => {
|
|
12801
|
-
const version = "1.12.
|
|
12805
|
+
const version = "1.12.1";
|
|
12802
12806
|
return (this.userAgent ||
|
|
12803
12807
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
12804
12808
|
};
|