@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/calls-sdk",
3
- "version": "2.6.2-beta.4",
3
+ "version": "2.6.2-beta.6",
4
4
  "author": "vk.com",
5
5
  "description": "Library for video calls based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -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>;
@@ -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;