@stream-io/video-client 1.11.15 → 1.12.0
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 +13 -2
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +13 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +13 -2
- package/dist/index.es.js.map +1 -1
- package/dist/src/StreamVideoClient.d.ts +8 -1
- package/dist/src/gen/coordinator/index.d.ts +354 -0
- package/dist/src/gen/shims.d.ts +38 -0
- package/package.json +1 -1
- package/src/StreamVideoClient.ts +17 -0
- package/src/gen/coordinator/index.ts +350 -1
- package/src/gen/shims.ts +40 -0
package/dist/index.es.js
CHANGED
|
@@ -9,6 +9,8 @@ import { ReplaySubject, combineLatest, BehaviorSubject, map, shareReplay, distin
|
|
|
9
9
|
import * as SDP from 'sdp-transform';
|
|
10
10
|
import https from 'https';
|
|
11
11
|
|
|
12
|
+
/* tslint:disable */
|
|
13
|
+
/* eslint-disable */
|
|
12
14
|
/**
|
|
13
15
|
* @export
|
|
14
16
|
*/
|
|
@@ -3298,7 +3300,7 @@ const retryable = async (rpc, signal) => {
|
|
|
3298
3300
|
return result;
|
|
3299
3301
|
};
|
|
3300
3302
|
|
|
3301
|
-
const version = "1.
|
|
3303
|
+
const version = "1.12.0";
|
|
3302
3304
|
const [major, minor, patch] = version.split('.');
|
|
3303
3305
|
let sdkInfo = {
|
|
3304
3306
|
type: SdkType.PLAIN_JAVASCRIPT,
|
|
@@ -12795,7 +12797,7 @@ class StreamClient {
|
|
|
12795
12797
|
return await this.wsConnection.connect(this.defaultWSTimeout);
|
|
12796
12798
|
};
|
|
12797
12799
|
this.getUserAgent = () => {
|
|
12798
|
-
const version = "1.
|
|
12800
|
+
const version = "1.12.0";
|
|
12799
12801
|
return (this.userAgent ||
|
|
12800
12802
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
12801
12803
|
};
|
|
@@ -13115,6 +13117,15 @@ class StreamVideoClient {
|
|
|
13115
13117
|
this.queryCallStats = async (data = {}) => {
|
|
13116
13118
|
return this.streamClient.post(`/call/stats`, data);
|
|
13117
13119
|
};
|
|
13120
|
+
/**
|
|
13121
|
+
* Retrieve the list of available reports aggregated from the call stats.
|
|
13122
|
+
*
|
|
13123
|
+
* @param data Specify filter conditions like from and to (within last 30 days) and the report types
|
|
13124
|
+
* @returns Requested reports with (mostly) raw daily data for each report type requested
|
|
13125
|
+
*/
|
|
13126
|
+
this.queryAggregateCallStats = async (data = {}) => {
|
|
13127
|
+
return this.streamClient.post(`/stats`, data);
|
|
13128
|
+
};
|
|
13118
13129
|
/**
|
|
13119
13130
|
* Returns a list of available data centers available for hosting calls.
|
|
13120
13131
|
*/
|