@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.
- package/CallsSDK.d.ts +1 -2
- package/calls-sdk.cjs.js +8 -8
- package/calls-sdk.esm.js +8 -8
- package/classes/Conversation.d.ts +1 -0
- package/package.json +1 -1
- package/static/External.d.ts +5 -0
- package/static/Params.d.ts +5 -0
- package/types/SignalingMessage.d.ts +3 -0
|
@@ -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
package/static/External.d.ts
CHANGED
|
@@ -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;
|
package/static/Params.d.ts
CHANGED
|
@@ -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;
|