@vkontakte/calls-sdk 2.8.8-dev.52b6ccd7.0 → 2.8.8-dev.5958ecd5.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.
@@ -5,6 +5,7 @@ declare enum ConversationOption {
5
5
  REQUIRE_AUTH_TO_JOIN = "REQUIRE_AUTH_TO_JOIN",
6
6
  AUDIENCE_MODE = "AUDIENCE_MODE",// Stereo chat room
7
7
  WAITING_HALL = "WAITING_HALL",// Waiting Hall is ON
8
+ WAIT_FOR_ADMIN = "WAIT_FOR_ADMIN",
8
9
  ASR = "ASR",
9
10
  FEEDBACK = "FEEDBACK",// Reactions (default = off)
10
11
  RECURRING = "RECURRING"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/calls-sdk",
3
- "version": "2.8.8-dev.52b6ccd7.0",
3
+ "version": "2.8.8-dev.5958ecd5.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",
@@ -104,12 +104,6 @@ export type ParamsObject = {
104
104
  debugLog: boolean;
105
105
  /** @hidden */
106
106
  debug: boolean;
107
- /**
108
- * Выставляет таймаут в ms для fetch запросов от sdk
109
- * По умолчанию 5000 ms
110
- * @hidden
111
- */
112
- apiTimeout: number;
113
107
  /**
114
108
  * Не отправлять в ICE-кандидатах персональные IP-адреса
115
109
  * @see [RTCIceTransportPolicy](https://www.w3.org/TR/webrtc/#rtcicetransportpolicy-enum)
@@ -932,7 +926,6 @@ export default abstract class Params {
932
926
  static get apiBaseUrl(): IAPIBaseUrl;
933
927
  static set apiBaseUrl(apiBaseUrl: IAPIBaseUrl);
934
928
  static apiEndpoint(apiEnv?: IApiEnv): string;
935
- static get apiTimeout(): number;
936
929
  static get authToken(): string;
937
930
  static set authToken(value: string);
938
931
  static get anonymToken(): string;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @see https://confluence.vk.team/display/VIDEOOK/Websocket+Capability+Flags
3
+ */
1
4
  declare const PREDICATES: {
2
5
  readonly producerScreenTrack: () => boolean;
3
6
  readonly videoTracksCount: () => boolean;
@@ -13,6 +16,7 @@ declare const PREDICATES: {
13
16
  readonly useChatRooms: () => boolean;
14
17
  readonly audienceModeHandUpTimestamps: () => boolean;
15
18
  readonly animojiBackendRender: () => boolean;
19
+ readonly sessionStateUpdates: () => boolean;
16
20
  readonly addParticipant: () => boolean;
17
21
  };
18
22
  type ParticipantCapabilitiesKeys = keyof typeof PREDICATES;
package/types/Params.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export type IApiEnv = 'AUTO' | 'PROD' | 'CALLS' | 'PROD_OK' | 'TEST' | 'VIDEOTEST' | 'CALLSTEST' | string;
1
+ export type IApiEnv = 'AUTO' | 'PROD' | 'CALLS' | 'PROD_OK' | 'TEST' | 'VIDEOTEST' | 'CALLSTEST' | 'CALLS_BETA' | 'CALLS_BENDER' | 'CALLS_MAMES' | 'CALLS_MARS' | string;
2
2
  export type IAPIBaseUrl = string | null;