@vkontakte/calls-sdk 2.6.3-dev.1fd3364.0 → 2.6.3-dev.3c2a801.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.
@@ -177,15 +177,12 @@ export default class Conversation extends EventEmitter {
177
177
  * Обрабатывает данные connection из сигналинга. Должен вызываться после `_registerParticipants`
178
178
  *
179
179
  * @param connection
180
- * @private
181
- * @hidden
182
180
  */
183
181
  private _processConnectionData;
184
182
  /**
185
183
  * Обрабатывает информацию о сессионных залах
184
+ *
186
185
  * @param connection
187
- * @private
188
- * @hidden
189
186
  */
190
187
  private _processRooms;
191
188
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/calls-sdk",
3
- "version": "2.6.3-dev.1fd3364.0",
3
+ "version": "2.6.3-dev.3c2a801.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",
@@ -451,7 +451,7 @@ declare namespace External {
451
451
  /**
452
452
  * Получена новая реакция
453
453
  */
454
- function onFeedback(feedback: IFeedbackExternal[]): void;
454
+ function onFeedback(feedback: IFeedbackExternal[], roomId?: number | null): void;
455
455
  /**
456
456
  * Изменилось состояние пермиссий фич в звонке
457
457
  *
@@ -305,6 +305,13 @@ export declare type ParamsObject = {
305
305
  * @hidden
306
306
  */
307
307
  screenShareCongestionControl: boolean;
308
+ /**
309
+ * Настройки api
310
+ */
311
+ api: {
312
+ /** таймаут для батчинга на получение externalId */
313
+ userIdsByOkBatchedTimeout: number;
314
+ };
308
315
  /**
309
316
  * Получен локальный стрим с камеры/микрофона
310
317
  */
@@ -577,7 +584,7 @@ export declare type ParamsObject = {
577
584
  * Получены новые реакции в звонке
578
585
  * @param feedback массив с реакциями
579
586
  */
580
- onFeedback?: (feedback: IFeedbackExternal[]) => void;
587
+ onFeedback?: (feedback: IFeedbackExternal[], roomId: number | null) => void;
581
588
  /**
582
589
  * Включать capability c аудио шарой
583
590
  */
@@ -693,4 +700,8 @@ export default abstract class Params {
693
700
  static get preserveAudioTracks(): boolean;
694
701
  static get audioShareCapabilityEnabled(): boolean;
695
702
  static get screenShareCongestionControl(): boolean;
703
+ static get api(): {
704
+ /** таймаут для батчинга на получение externalId */
705
+ userIdsByOkBatchedTimeout: number;
706
+ };
696
707
  }
@@ -307,6 +307,7 @@ declare namespace SignalingMessage {
307
307
  }
308
308
  export interface Feedback extends Notification {
309
309
  feedback: IFeedback[];
310
+ roomId?: number;
310
311
  }
311
312
  export interface SharedMovieState extends Notification {
312
313
  data: ISharedMovieState[];