@voicenter-team/events-sdk 0.0.101 → 0.0.103

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.
@@ -354,7 +354,7 @@ declare class EventsSdkClass {
354
354
  on(event: '*', callback: (data: GenericEventWrapper) => void): void;
355
355
  emit<T extends ServerEmitEventTypeNames>(event: T, ...args: Parameters<ServerEmitEventCallbackRegistry[T]>): void;
356
356
  connect(serverParameter: ServerParameter): void;
357
- disconnect(): void;
357
+ disconnect(): Promise<void>;
358
358
  clearKeepAliveInterval(): void;
359
359
  private findMainServer;
360
360
  private findNextServer;
@@ -797,7 +797,7 @@ declare class LoggerClass {
797
797
  private storageLogger;
798
798
  init(): void;
799
799
  start(): Promise<void>;
800
- stop(): void;
800
+ stop(): Promise<void>;
801
801
  log(data: LoggerDataPartial): void;
802
802
  sdkConnectionSuccess(): void;
803
803
  sdkDisconnect(reasons: string[]): void;
@@ -3139,7 +3139,7 @@ class ct {
3139
3139
  connect(t) {
3140
3140
  t === te.MAIN && this.findMainServer(), t === te.NEXT && this.findNextServer(), this.socketIoClass.doReconnect = !0;
3141
3141
  try {
3142
- this.loggerClass.start();
3142
+ this.loggerClass.init();
3143
3143
  } catch (e) {
3144
3144
  console.error(e);
3145
3145
  }