@vkontakte/calls-sdk 2.8.5-dev.9830abc7.0 → 2.8.5-dev.a22df474.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
@@ -612,6 +612,11 @@ export declare function debug(enabled: boolean): void;
612
612
  * @param args
613
613
  */
614
614
  export declare function debugMessage(type: DebugMessageType, ...args: any[]): void;
615
+ /**
616
+ * Отправляет клиенские логи по conversationId на сервер OK
617
+ * @example можно посмотреть в examples/anonym/index.html
618
+ */
619
+ export declare function uploadDebugLogs(): Promise<void>;
615
620
  /**
616
621
  * Эффект локального видео
617
622
  *
@@ -62,6 +62,7 @@ export default abstract class BaseApi {
62
62
  * method: vchat.clientEvents
63
63
  */
64
64
  logClientEvents(items: ClientEvent[]): void;
65
+ abstract uploadDebugLogs(conversationId: string, startTime: number, endTime: number, log: string): Promise<void>;
65
66
  abstract getOkIdsByExternalIds(externalIds: ExternalId[]): Promise<OkUserId[]>;
66
67
  abstract getParticipantIdsByExternalIds(externalIds: ExternalId[]): Promise<Map<ExternalId, ParticipantId>>;
67
68
  abstract getExternalIdsByOkIds(uids: OkUserId[]): Promise<ExternalParticipantId[]>;