@vkontakte/calls-sdk 2.6.2-beta.4 → 2.6.2-beta.6
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/calls-sdk.cjs.js +8 -8
- package/calls-sdk.esm.js +8 -8
- package/package.json +1 -1
- package/static/ApiTransport.d.ts +1 -1
- package/static/Params.d.ts +2 -0
- package/static/Utils.d.ts +2 -0
package/package.json
CHANGED
package/static/ApiTransport.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function init(): void;
|
|
2
2
|
export declare function sendBeakon(method: string, params?: {
|
|
3
3
|
[key: string]: any;
|
|
4
|
-
}, noSession?: boolean): void
|
|
4
|
+
}, noSession?: boolean): Promise<void>;
|
|
5
5
|
export declare function request(method: string, params?: {
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}, noSession?: boolean): Promise<unknown>;
|
package/static/Params.d.ts
CHANGED
|
@@ -186,6 +186,7 @@ export declare type ParamsObject = {
|
|
|
186
186
|
* Работает только при приёме экрана через дата-канал.
|
|
187
187
|
*
|
|
188
188
|
* _По умолчанию: `true`_
|
|
189
|
+
* @deprecated
|
|
189
190
|
*/
|
|
190
191
|
producerScreenTrack: boolean;
|
|
191
192
|
/**
|
|
@@ -193,6 +194,7 @@ export declare type ParamsObject = {
|
|
|
193
194
|
* Работает только при отправке экрана через дата-канал.
|
|
194
195
|
*
|
|
195
196
|
* _По умолчанию: `true`_
|
|
197
|
+
* @deprecated
|
|
196
198
|
*/
|
|
197
199
|
consumerScreenTrack: boolean;
|
|
198
200
|
producerNotificationDataChannel: boolean;
|
package/static/Utils.d.ts
CHANGED
|
@@ -60,5 +60,7 @@ declare namespace Utils {
|
|
|
60
60
|
* https://stash.odkl.ru/projects/ODKL/repos/odnoklassniki-webrtc/browse/src/main/java/one/webrtc/domain/conversation/ParticipantIndex.java#67-78
|
|
61
61
|
*/
|
|
62
62
|
function participantMarkerCompare(marker1: ExternalParticipantListMarker | undefined, marker2: ExternalParticipantListMarker | undefined): number;
|
|
63
|
+
/** убирает все ключи со значением `V` на 1 уровне */
|
|
64
|
+
function objectFilterOutValues<T extends Record<string, V>, V = unknown>(obj: T, value?: V | V[]): Partial<T>;
|
|
63
65
|
}
|
|
64
66
|
export default Utils;
|