@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.
- package/abstract/BaseApi.d.ts +1 -1
- package/calls-sdk.cjs.js +9 -9
- package/calls-sdk.esm.js +247 -273
- package/classes/Conversation.d.ts +3 -2
- 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():
|
|
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():
|
|
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: () =>
|
|
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):
|
|
15
|
+
userId(participantId: ParticipantId): ExternalParticipantId;
|
|
16
16
|
authorize(): Promise<void>;
|
|
17
17
|
private _getAnonymLoginCacheKey;
|
|
18
18
|
private _getCachedAnonymLogin;
|