@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/dist/index.es.js
CHANGED
|
@@ -10063,7 +10063,7 @@ class Call {
|
|
|
10063
10063
|
/**
|
|
10064
10064
|
* Sends a custom event to all call participants.
|
|
10065
10065
|
*
|
|
10066
|
-
* @param
|
|
10066
|
+
* @param payload the payload to send.
|
|
10067
10067
|
*/
|
|
10068
10068
|
this.sendCustomEvent = (payload) => __awaiter(this, void 0, void 0, function* () {
|
|
10069
10069
|
return this.streamClient.post(`${this.streamClientBasePath}/event`, { custom: payload });
|
|
@@ -10126,7 +10126,7 @@ class Call {
|
|
|
10126
10126
|
const currentUserId = this.currentUserId;
|
|
10127
10127
|
if (currentUserId &&
|
|
10128
10128
|
metadata.blocked_user_ids.includes(currentUserId)) {
|
|
10129
|
-
this.logger('info', 'Leaving call
|
|
10129
|
+
this.logger('info', 'Leaving call because of being blocked');
|
|
10130
10130
|
yield this.leave();
|
|
10131
10131
|
}
|
|
10132
10132
|
})),
|
|
@@ -11832,7 +11832,7 @@ class StreamClient {
|
|
|
11832
11832
|
}
|
|
11833
11833
|
getUserAgent() {
|
|
11834
11834
|
return (this.userAgent ||
|
|
11835
|
-
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.
|
|
11835
|
+
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.33"}`);
|
|
11836
11836
|
}
|
|
11837
11837
|
setUserAgent(userAgent) {
|
|
11838
11838
|
this.userAgent = userAgent;
|