@vkontakte/calls-sdk 2.7.2-beta.9 → 2.7.2-dev.876005f.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/CallsSDK.d.ts CHANGED
@@ -6,7 +6,6 @@ import type { IEffect, VideoEffects } from '@vkontakte/calls-video-effects';
6
6
  import BaseApi from './abstract/BaseApi';
7
7
  import BaseLogger from './abstract/BaseLogger';
8
8
  import BaseSignaling, { AddParticipantParams } from './abstract/BaseSignaling';
9
- import { ConversationData } from './classes/Conversation';
10
9
  import HangupReason, { HangupReasonData } from './classes/HangupReason';
11
10
  import { MediaTrackKind } from './classes/MediaSource';
12
11
  import { StatResult } from './classes/transport/Statistics';
@@ -58,6 +57,7 @@ import { IStartStreamData, IStopStreamData } from './types/Streams';
58
57
  import ConversationFeature from './enums/ConversationFeature';
59
58
  import { IFeaturesPerRole } from './types/ConversationFeature';
60
59
  import { ArrayDequeue } from './utils/ArrayDequeue';
60
+ import { ConversationData } from './types/Conversation';
61
61
  /**
62
62
  * Информация о текущем браузере
63
63
  */
@@ -126,10 +126,6 @@ export declare const browser: {
126
126
  * Устанавливает размер видео в стриме
127
127
  */
128
128
  setResolution: typeof WebRTCUtils.setResolution;
129
- /**
130
- * Запоминает выбранное устройство
131
- */
132
- saveDeviceId: typeof WebRTCUtils.saveDeviceId;
133
129
  /**
134
130
  * Проверяет поддержку WebRTC браузером
135
131
  *
@@ -1,11 +1,15 @@
1
1
  import CallType from '../enums/CallType';
2
+ import { ConversationData } from '../types/Conversation';
2
3
  import ConversationParams from '../types/ConversationParams';
3
4
  import ConversationResponse from '../types/ConversationResponse';
4
5
  import { ExternalId, ExternalUserId } from '../types/ExternalId';
5
6
  import { CompositeUserId, OkUserId } from '../types/Participant';
6
7
  export type LogItem = {
7
8
  count?: number;
8
- custom: Record<string, string | number>;
9
+ custom: {
10
+ vcid: ConversationData['id'] | null;
11
+ [k: string]: string | number;
12
+ };
9
13
  data?: string[];
10
14
  groups?: string[];
11
15
  network?: string;