@stream-io/video-client 1.5.0 → 1.5.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 +5 -5
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5 -5
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/Call.ts +3 -3
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.5.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.5.0...@stream-io/video-client-1.5.1) (2024-08-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* do not use ended_at from call state to check ringing validity ([#1466](https://github.com/GetStream/stream-video-js/issues/1466)) ([4af7f00](https://github.com/GetStream/stream-video-js/commit/4af7f0060db24923fb5dab43d1f2a709ef9acd29))
|
|
11
|
+
|
|
5
12
|
## [1.5.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.4.8...@stream-io/video-client-1.5.0) (2024-08-21)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -6535,7 +6535,7 @@ function getIceCandidate(candidate) {
|
|
|
6535
6535
|
}
|
|
6536
6536
|
}
|
|
6537
6537
|
|
|
6538
|
-
const version = "1.5.
|
|
6538
|
+
const version = "1.5.1" ;
|
|
6539
6539
|
const [major, minor, patch] = version.split('.');
|
|
6540
6540
|
let sdkInfo = {
|
|
6541
6541
|
type: SdkType.PLAIN_JAVASCRIPT,
|
|
@@ -13931,12 +13931,12 @@ class Call {
|
|
|
13931
13931
|
return;
|
|
13932
13932
|
const callSession = this.state.session;
|
|
13933
13933
|
const receiver_id = this.clientStore.connectedUser?.id;
|
|
13934
|
-
const
|
|
13934
|
+
const ended_at = callSession?.ended_at;
|
|
13935
13935
|
const created_by_id = this.state.createdBy?.id;
|
|
13936
13936
|
const rejected_by = callSession?.rejected_by;
|
|
13937
13937
|
const accepted_by = callSession?.accepted_by;
|
|
13938
13938
|
let leaveCallIdle = false;
|
|
13939
|
-
if (
|
|
13939
|
+
if (ended_at) {
|
|
13940
13940
|
// call was ended before it was accepted or rejected so we should leave it to idle
|
|
13941
13941
|
leaveCallIdle = true;
|
|
13942
13942
|
}
|
|
@@ -13964,10 +13964,10 @@ class Call {
|
|
|
13964
13964
|
}
|
|
13965
13965
|
}
|
|
13966
13966
|
else {
|
|
13967
|
-
this.scheduleAutoDrop();
|
|
13968
13967
|
if (this.state.callingState === CallingState.IDLE) {
|
|
13969
13968
|
this.state.setCallingState(CallingState.RINGING);
|
|
13970
13969
|
}
|
|
13970
|
+
this.scheduleAutoDrop();
|
|
13971
13971
|
this.leaveCallHooks.add(registerRingingCallEventHandlers(this));
|
|
13972
13972
|
}
|
|
13973
13973
|
}));
|
|
@@ -15572,7 +15572,7 @@ class StreamClient {
|
|
|
15572
15572
|
});
|
|
15573
15573
|
};
|
|
15574
15574
|
this.getUserAgent = () => {
|
|
15575
|
-
const version = "1.5.
|
|
15575
|
+
const version = "1.5.1" ;
|
|
15576
15576
|
return (this.userAgent ||
|
|
15577
15577
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
15578
15578
|
};
|