@stream-io/video-client 0.0.27 → 0.0.28
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 +4 -4
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/src/Call.d.ts +5 -5
- package/package.json +1 -1
- package/src/Call.ts +3 -5
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.28](https://github.com/GetStream/stream-video-js/compare/client0.0.27...client0.0.28) (2023-06-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* Change sendEvent signature ([#734](https://github.com/GetStream/stream-video-js/issues/734)) ([284c8c2](https://github.com/GetStream/stream-video-js/commit/284c8c2165129852ccf9fd7d8baad37f43d22a17))
|
|
11
|
+
|
|
5
12
|
### [0.0.27](https://github.com/GetStream/stream-video-js/compare/client0.0.26...client0.0.27) (2023-06-27)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -9332,12 +9332,12 @@ class Call {
|
|
|
9332
9332
|
return response;
|
|
9333
9333
|
});
|
|
9334
9334
|
/**
|
|
9335
|
-
* Sends
|
|
9335
|
+
* Sends a custom event to all call participants.
|
|
9336
9336
|
*
|
|
9337
9337
|
* @param event the event to send.
|
|
9338
9338
|
*/
|
|
9339
|
-
this.
|
|
9340
|
-
return this.streamClient.post(`${this.streamClientBasePath}/event`,
|
|
9339
|
+
this.sendCustomEvent = (payload) => __awaiter(this, void 0, void 0, function* () {
|
|
9340
|
+
return this.streamClient.post(`${this.streamClientBasePath}/event`, { custom: payload });
|
|
9341
9341
|
});
|
|
9342
9342
|
this.type = type;
|
|
9343
9343
|
this.id = id;
|
|
@@ -11104,7 +11104,7 @@ class StreamClient {
|
|
|
11104
11104
|
}
|
|
11105
11105
|
getUserAgent() {
|
|
11106
11106
|
return (this.userAgent ||
|
|
11107
|
-
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.
|
|
11107
|
+
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.27"}`);
|
|
11108
11108
|
}
|
|
11109
11109
|
setUserAgent(userAgent) {
|
|
11110
11110
|
this.userAgent = userAgent;
|