@vkontakte/calls-sdk 2.8.12-dev.a3089173.0 → 2.8.12-dev.c60cf16f.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 +0 -3
- package/abstract/BaseApi.d.ts +1 -1
- package/calls-sdk.cjs.js +9 -9
- package/calls-sdk.esm.js +275 -249
- package/classes/Conversation.d.ts +2 -3
- package/classes/DisplayLayoutRequester.d.ts +1 -1
- package/default/Api.d.ts +1 -1
- package/package.json +1 -1
|
@@ -111,7 +111,7 @@ export default class Conversation extends EventEmitter {
|
|
|
111
111
|
private _openTransport;
|
|
112
112
|
private _allocateParticipantTransport;
|
|
113
113
|
private _close;
|
|
114
|
-
destroy(): void
|
|
114
|
+
destroy(): Promise<void>;
|
|
115
115
|
private _getConversationParams;
|
|
116
116
|
private _setConversationParams;
|
|
117
117
|
private _buildSignalingEndpoint;
|
|
@@ -153,7 +153,6 @@ export default class Conversation extends EventEmitter {
|
|
|
153
153
|
private _getExistedParticipantByIdOrCreate;
|
|
154
154
|
private _getExternalIdByParticipantId;
|
|
155
155
|
private _getExternalIdsByOkIdsFromCache;
|
|
156
|
-
private _getOrCacheExternalIdByCompositeId;
|
|
157
156
|
private _registerParticipantAndSetMarkersIfChunkEnabled;
|
|
158
157
|
private _warnParticipantNotInConversation;
|
|
159
158
|
private _denormalizeMarkers;
|
|
@@ -358,7 +357,7 @@ export default class Conversation extends EventEmitter {
|
|
|
358
357
|
private _onRecordInfo;
|
|
359
358
|
private _onStopRecordInfo;
|
|
360
359
|
private _changePinnedParticipantForRoom;
|
|
361
|
-
_changeRecordInfoForRoom(): void
|
|
360
|
+
_changeRecordInfoForRoom(): Promise<void>;
|
|
362
361
|
private _changeAsrInfoForRoom;
|
|
363
362
|
private _changeUrlSharingInfoForRoom;
|
|
364
363
|
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: () => Record<ParticipantId, Participant
|
|
8
|
+
getParticipants: () => Promise<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): ExternalParticipantId
|
|
15
|
+
userId(participantId: ParticipantId): Promise<ExternalParticipantId>;
|
|
16
16
|
authorize(): Promise<void>;
|
|
17
17
|
private _getAnonymLoginCacheKey;
|
|
18
18
|
private _getCachedAnonymLogin;
|