@stream-io/video-client 0.6.8 → 0.6.9
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 +14 -1
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +14 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +14 -1
- package/dist/index.es.js.map +1 -1
- package/dist/src/Call.d.ts +7 -1
- package/dist/src/gen/coordinator/index.d.ts +167 -0
- package/package.json +1 -1
- package/src/Call.ts +19 -0
- package/src/gen/coordinator/index.ts +176 -0
package/dist/index.cjs.js
CHANGED
|
@@ -12632,6 +12632,19 @@ class Call {
|
|
|
12632
12632
|
const endpoint = `${this.streamClientBasePath}/stats/${callSessionID}`;
|
|
12633
12633
|
return this.streamClient.get(endpoint);
|
|
12634
12634
|
};
|
|
12635
|
+
/**
|
|
12636
|
+
* Submit feedback on call experience
|
|
12637
|
+
*
|
|
12638
|
+
* @returns
|
|
12639
|
+
*/
|
|
12640
|
+
this.submitFeedback = async (feedback) => {
|
|
12641
|
+
const callSessionId = this.state.session?.id;
|
|
12642
|
+
if (!callSessionId) {
|
|
12643
|
+
return;
|
|
12644
|
+
}
|
|
12645
|
+
const endpoint = `${this.streamClientBasePath}/feedback/${callSessionId}`;
|
|
12646
|
+
return this.streamClient.post(endpoint, feedback);
|
|
12647
|
+
};
|
|
12635
12648
|
/**
|
|
12636
12649
|
* Sends a custom event to all call participants.
|
|
12637
12650
|
*
|
|
@@ -14501,7 +14514,7 @@ class StreamClient {
|
|
|
14501
14514
|
});
|
|
14502
14515
|
};
|
|
14503
14516
|
this.getUserAgent = () => {
|
|
14504
|
-
const version = "0.6.
|
|
14517
|
+
const version = "0.6.9" ;
|
|
14505
14518
|
return (this.userAgent ||
|
|
14506
14519
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
14507
14520
|
};
|