@vkontakte/calls-sdk 2.8.12-dev.773596bc.0 → 2.8.12-dev.813f751c.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 CHANGED
@@ -769,6 +769,9 @@ export declare function stopAsr(params?: IAsrStopParams): Promise<void>;
769
769
  export declare function requestAsr(request: boolean): Promise<void>;
770
770
  export declare function startUrlSharing(sharedUrl: string): Promise<void>;
771
771
  export declare function stopUrlSharing(): Promise<void>;
772
+ export declare function sendTestCommand(name: string, params?: any): void;
773
+ export declare function startAnalyzingAudio(expectAudio: boolean, expectedActiveTracks?: number | null, expectedTrackFrequencies?: number[] | null): void;
774
+ export declare function stopAnalyzingAudio(): void;
772
775
  export declare function switchCall(conversationId: string): Promise<void>;
773
776
  export declare function getActiveCallId(): string | null;
774
777
  /**
@@ -38,7 +38,7 @@ export default abstract class BaseApi {
38
38
  */
39
39
  setAbortSignal(signal: AbortSignal | undefined): void;
40
40
  abstract authorize(): Promise<void>;
41
- abstract userId(participantId: ParticipantId): Promise<ExternalParticipantId>;
41
+ abstract userId(participantId: ParticipantId): ExternalParticipantId;
42
42
  abstract deviceId(): string;
43
43
  abstract createConversation(conversationId: string, payload?: string, requireAuthToJoin?: boolean, createConversationParameters?: {
44
44
  onlyAdminCanShareMovie?: boolean;