@stream-io/video-client 0.0.33 → 0.0.34
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 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/src/Call.d.ts +1 -1
- package/package.json +1 -1
- package/src/Call.ts +2 -2
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.0.34](https://github.com/GetStream/stream-video-js/compare/client0.0.33...client0.0.34) (2023-07-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* prevent double publishStream invocation ([#749](https://github.com/GetStream/stream-video-js/issues/749)) ([9e3c22f](https://github.com/GetStream/stream-video-js/commit/9e3c22fd37d8dc00d275e8b69f9cd18f67e366fe))
|
|
11
|
+
|
|
5
12
|
### [0.0.33](https://github.com/GetStream/stream-video-js/compare/client0.0.32...client0.0.33) (2023-07-04)
|
|
6
13
|
|
|
7
14
|
### [0.0.32](https://github.com/GetStream/stream-video-js/compare/client0.0.31...client0.0.32) (2023-07-04)
|
package/dist/index.browser.es.js
CHANGED
|
@@ -10060,7 +10060,7 @@ class Call {
|
|
|
10060
10060
|
/**
|
|
10061
10061
|
* Sends a custom event to all call participants.
|
|
10062
10062
|
*
|
|
10063
|
-
* @param
|
|
10063
|
+
* @param payload the payload to send.
|
|
10064
10064
|
*/
|
|
10065
10065
|
this.sendCustomEvent = (payload) => __awaiter(this, void 0, void 0, function* () {
|
|
10066
10066
|
return this.streamClient.post(`${this.streamClientBasePath}/event`, { custom: payload });
|
|
@@ -10123,7 +10123,7 @@ class Call {
|
|
|
10123
10123
|
const currentUserId = this.currentUserId;
|
|
10124
10124
|
if (currentUserId &&
|
|
10125
10125
|
metadata.blocked_user_ids.includes(currentUserId)) {
|
|
10126
|
-
this.logger('info', 'Leaving call
|
|
10126
|
+
this.logger('info', 'Leaving call because of being blocked');
|
|
10127
10127
|
yield this.leave();
|
|
10128
10128
|
}
|
|
10129
10129
|
})),
|
|
@@ -11828,7 +11828,7 @@ class StreamClient {
|
|
|
11828
11828
|
}
|
|
11829
11829
|
getUserAgent() {
|
|
11830
11830
|
return (this.userAgent ||
|
|
11831
|
-
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.
|
|
11831
|
+
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.33"}`);
|
|
11832
11832
|
}
|
|
11833
11833
|
setUserAgent(userAgent) {
|
|
11834
11834
|
this.userAgent = userAgent;
|