@vkontakte/calls-sdk 2.8.12-beta.1 → 2.8.12-dev.a3089173.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.
@@ -111,7 +111,7 @@ export default class Conversation extends EventEmitter {
111
111
  private _openTransport;
112
112
  private _allocateParticipantTransport;
113
113
  private _close;
114
- destroy(): Promise<void>;
114
+ destroy(): void;
115
115
  private _getConversationParams;
116
116
  private _setConversationParams;
117
117
  private _buildSignalingEndpoint;
@@ -153,6 +153,7 @@ export default class Conversation extends EventEmitter {
153
153
  private _getExistedParticipantByIdOrCreate;
154
154
  private _getExternalIdByParticipantId;
155
155
  private _getExternalIdsByOkIdsFromCache;
156
+ private _getOrCacheExternalIdByCompositeId;
156
157
  private _registerParticipantAndSetMarkersIfChunkEnabled;
157
158
  private _warnParticipantNotInConversation;
158
159
  private _denormalizeMarkers;
@@ -357,7 +358,7 @@ export default class Conversation extends EventEmitter {
357
358
  private _onRecordInfo;
358
359
  private _onStopRecordInfo;
359
360
  private _changePinnedParticipantForRoom;
360
- _changeRecordInfoForRoom(): Promise<void>;
361
+ _changeRecordInfoForRoom(): void;
361
362
  private _changeAsrInfoForRoom;
362
363
  private _changeUrlSharingInfoForRoom;
363
364
  private _onParticipantAnimojiChanged;
@@ -5,7 +5,7 @@ import { Participant, ParticipantId } from '../types/Participant';
5
5
  type DisplayLayoutRequesterParams = {
6
6
  api: BaseApi;
7
7
  debug: DebugLogger;
8
- getParticipants: () => Promise<Record<ParticipantId, Participant>>;
8
+ getParticipants: () => Record<ParticipantId, Participant>;
9
9
  isMe: (participantId: ParticipantId) => boolean;
10
10
  updateDisplayLayout: (layouts: ParticipantLayout[]) => Promise<void>;
11
11
  };
package/default/Api.d.ts CHANGED
@@ -12,7 +12,7 @@ export default class Api extends BaseApi {
12
12
  private _idCache;
13
13
  private _callUnsafe;
14
14
  protected _call(method: string, data?: any, noSession?: boolean): Promise<any>;
15
- userId(participantId: ParticipantId): Promise<ExternalParticipantId>;
15
+ userId(participantId: ParticipantId): ExternalParticipantId;
16
16
  authorize(): Promise<void>;
17
17
  private _getAnonymLoginCacheKey;
18
18
  private _getCachedAnonymLogin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/calls-sdk",
3
- "version": "2.8.12-beta.1",
3
+ "version": "2.8.12-dev.a3089173.0",
4
4
  "author": "vk.com",
5
5
  "description": "Library for video calls based on the vk.com platform",
6
6
  "homepage": "https://vk.com",