@stream-io/video-client 0.5.5 → 0.5.6
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 +3 -2
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/events/__tests__/call.test.ts +34 -2
- package/src/events/call.ts +4 -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
|
+
### [0.5.6](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.5.5...@stream-io/video-client-0.5.6) (2024-01-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **client:** automatic call join for other participants when someone accepts ([#1247](https://github.com/GetStream/stream-video-js/issues/1247)) ([3559ff2](https://github.com/GetStream/stream-video-js/commit/3559ff209616ccfc4664b24e6a4f35c153be2090)), closes [#1245](https://github.com/GetStream/stream-video-js/issues/1245)
|
|
11
|
+
|
|
5
12
|
### [0.5.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.5.4...@stream-io/video-client-0.5.5) (2024-01-16)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -8795,7 +8795,8 @@ const watchCallAccepted = (call) => {
|
|
|
8795
8795
|
return;
|
|
8796
8796
|
}
|
|
8797
8797
|
const { state } = call;
|
|
8798
|
-
if (
|
|
8798
|
+
if (event.call.created_by.id === call.currentUserId &&
|
|
8799
|
+
state.callingState === CallingState.RINGING) {
|
|
8799
8800
|
await call.join();
|
|
8800
8801
|
}
|
|
8801
8802
|
};
|
|
@@ -14232,7 +14233,7 @@ class StreamClient {
|
|
|
14232
14233
|
});
|
|
14233
14234
|
};
|
|
14234
14235
|
this.getUserAgent = () => {
|
|
14235
|
-
const version = "0.5.
|
|
14236
|
+
const version = "0.5.6" ;
|
|
14236
14237
|
return (this.userAgent ||
|
|
14237
14238
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
14238
14239
|
};
|