@vkontakte/calls-sdk 2.6.2-dev.8c5f377.0 → 2.6.2-dev.9711e28.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.
@@ -305,6 +305,7 @@ export default class Conversation extends EventEmitter {
305
305
  private _toggleJoinAvailability;
306
306
  private _updateDisplayLayoutFromCache;
307
307
  private _setParticipantsStatus;
308
+ private _onJoinLinkChanged;
308
309
  }
309
310
  export declare class UpdateDisplayLayoutError extends Error {
310
311
  readonly participantErrors: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/calls-sdk",
3
- "version": "2.6.2-dev.8c5f377.0",
3
+ "version": "2.6.2-dev.9711e28.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",
@@ -348,5 +348,10 @@ declare namespace External {
348
348
  * @param stream стрим от WebRTC
349
349
  */
350
350
  function onRemoteMixedAudioStream(stream: MediaStream): void;
351
+ /**
352
+ * Получена новая ссылка на звонок
353
+ * @param joinLink токен присоединения к звонку
354
+ */
355
+ function onJoinLinkChanged(joinLink: string): void;
351
356
  }
352
357
  export default External;
@@ -465,6 +465,11 @@ export declare type ParamsObject = {
465
465
  * @param stream стрим от WebRTC
466
466
  */
467
467
  onRemoteMixedAudioStream?: (stream: MediaStream) => void;
468
+ /**
469
+ * Получена новая ссылка на звонок
470
+ * @param joinLink токен присоединения к звонку
471
+ */
472
+ onJoinLinkChanged?: (joinLink: string) => void;
468
473
  };
469
474
  export default abstract class Params {
470
475
  private static _params;
@@ -273,6 +273,9 @@ declare namespace SignalingMessage {
273
273
  participants?: ParticipantListChunk;
274
274
  chatRoom?: ChatRoom;
275
275
  }
276
+ export interface JoinLinkChanged extends Notification {
277
+ joinLink: string;
278
+ }
276
279
  export {};
277
280
  }
278
281
  export default SignalingMessage;