@stream-io/video-client 0.1.6 → 0.1.7
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 +9 -9
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +9 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +9 -9
- package/dist/index.es.js.map +1 -1
- package/dist/src/Call.d.ts +3 -1
- package/dist/src/coordinator/connection/client.d.ts +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/Call.ts +2 -1
- package/src/coordinator/connection/client.ts +18 -6
package/dist/index.es.js
CHANGED
|
@@ -10271,8 +10271,8 @@ class Call {
|
|
|
10271
10271
|
/**
|
|
10272
10272
|
* Starts the livestreaming of the call.
|
|
10273
10273
|
*/
|
|
10274
|
-
this.goLive = () => __awaiter(this, void 0, void 0, function* () {
|
|
10275
|
-
return this.streamClient.post(`${this.streamClientBasePath}/go_live`, {});
|
|
10274
|
+
this.goLive = (params) => __awaiter(this, void 0, void 0, function* () {
|
|
10275
|
+
return this.streamClient.post(`${this.streamClientBasePath}/go_live`, {}, params);
|
|
10276
10276
|
});
|
|
10277
10277
|
/**
|
|
10278
10278
|
* Stops the livestreaming of the call.
|
|
@@ -11640,7 +11640,7 @@ class WSConnectionFallback {
|
|
|
11640
11640
|
}
|
|
11641
11641
|
}
|
|
11642
11642
|
|
|
11643
|
-
const version = '0.1.
|
|
11643
|
+
const version = '0.1.7';
|
|
11644
11644
|
|
|
11645
11645
|
const logger = getLogger(['location']);
|
|
11646
11646
|
const HINT_URL = `https://hint.stream-io-video.com/`;
|
|
@@ -11981,14 +11981,14 @@ class StreamClient {
|
|
|
11981
11981
|
params,
|
|
11982
11982
|
});
|
|
11983
11983
|
};
|
|
11984
|
-
this.put = (url, data) => {
|
|
11985
|
-
return this.doAxiosRequest('put', url, data);
|
|
11984
|
+
this.put = (url, data, params) => {
|
|
11985
|
+
return this.doAxiosRequest('put', url, data, { params });
|
|
11986
11986
|
};
|
|
11987
|
-
this.post = (url, data) => {
|
|
11988
|
-
return this.doAxiosRequest('post', url, data);
|
|
11987
|
+
this.post = (url, data, params) => {
|
|
11988
|
+
return this.doAxiosRequest('post', url, data, { params });
|
|
11989
11989
|
};
|
|
11990
|
-
this.patch = (url, data) => {
|
|
11991
|
-
return this.doAxiosRequest('patch', url, data);
|
|
11990
|
+
this.patch = (url, data, params) => {
|
|
11991
|
+
return this.doAxiosRequest('patch', url, data, { params });
|
|
11992
11992
|
};
|
|
11993
11993
|
this.delete = (url, params) => {
|
|
11994
11994
|
return this.doAxiosRequest('delete', url, null, {
|