@vkontakte/calls-sdk 2.8.11-dev.50a3a6bf.0 → 2.8.11-dev.54118420.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 +2 -0
- package/abstract/BaseApi.d.ts +2 -0
- package/calls-sdk.cjs.js +9 -9
- package/calls-sdk.esm.js +812 -708
- package/classes/CallRegistry.d.ts +1 -1
- package/classes/Conversation.d.ts +1 -1
- package/classes/codec/WorkerBase.d.ts +2 -0
- package/default/Api.d.ts +7 -0
- package/package.json +1 -1
- package/types/PushData.d.ts +3 -0
package/CallsSDK.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ import { VmojiError } from './types/Vmoji';
|
|
|
67
67
|
import { VolumeDetector } from './classes/VolumeDetector';
|
|
68
68
|
import { FastStartHandler, FastStartParams } from './types/FastStart';
|
|
69
69
|
import { FastJoinHandler, FastJoinParams, FastJoinResponse } from './types/FastJoin';
|
|
70
|
+
import PushData from './types/PushData';
|
|
70
71
|
export type { CurrentLogItem, DebugLogGetParams, DebugLogSessionInfo, DebugLogStorageStats } from './utils/DebugStorage';
|
|
71
72
|
/**
|
|
72
73
|
* Информация о текущем браузере
|
|
@@ -255,6 +256,7 @@ export declare function callInternal(ids: OkUserId[], type: CallType | undefined
|
|
|
255
256
|
*/
|
|
256
257
|
export declare function processPush(conversationId: string, conversationParams?: string): Promise<void>;
|
|
257
258
|
export declare function processPushInternal(conversationId: string, type?: UserType, peerId?: number, conversationParams?: string, wsEndpoint?: string, userId?: number): Promise<void>;
|
|
259
|
+
export declare function getInbounds(): Promise<PushData[]>;
|
|
258
260
|
/**
|
|
259
261
|
* Авторизоваться для совершения звонков
|
|
260
262
|
*
|
package/abstract/BaseApi.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import ConversationParams from '../types/ConversationParams';
|
|
|
5
5
|
import ConversationResponse from '../types/ConversationResponse';
|
|
6
6
|
import { ExternalId, ExternalParticipantId, ExternalUserId } from '../types/ExternalId';
|
|
7
7
|
import { CompositeUserId, OkUserId, ParticipantId } from '../types/Participant';
|
|
8
|
+
import PushData from '../types/PushData';
|
|
8
9
|
export type ClientStats = {
|
|
9
10
|
vcid: ConversationData['id'] | null;
|
|
10
11
|
[k: string]: string | number | boolean | null;
|
|
@@ -85,4 +86,5 @@ export default abstract class BaseApi {
|
|
|
85
86
|
removeHistoryRecords(recordIds: number[]): Promise<void>;
|
|
86
87
|
getServerTime(): Promise<number>;
|
|
87
88
|
cleanup(): void;
|
|
89
|
+
getInbounds(): Promise<PushData[]>;
|
|
88
90
|
}
|