@voicenter-team/events-sdk 0.0.76 → 0.0.77

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.
@@ -1101,7 +1101,9 @@ declare class SocketIoClass {
1101
1101
  doReconnect: boolean;
1102
1102
  private keepAliveInterval;
1103
1103
  private keepReconnectInterval;
1104
+ private keepReconnectTimeout;
1104
1105
  private connected;
1106
+ private reconnectionTime;
1105
1107
  getSocketIoFunction(Client: string): void;
1106
1108
  initSocketConnection(): void;
1107
1109
  clearKeepAliveInterval(): void;
@@ -5280,7 +5280,7 @@ class Vo {
5280
5280
  this.closeAllConnections();
5281
5281
  }), window.addEventListener("online", () => {
5282
5282
  this.keepReconnectTimeout && clearTimeout(this.keepReconnectTimeout), this.eventsSdkClass.connect(lt.NEXT);
5283
- })), typeof self < "u" && typeof window > "u" && (self.addEventListener("offline", () => {
5283
+ })), typeof self < "u" && typeof window > "u" && typeof global > "u" && (self.addEventListener("offline", () => {
5284
5284
  this.closeAllConnections();
5285
5285
  }), self.addEventListener("online", () => {
5286
5286
  this.keepReconnectTimeout && clearTimeout(this.keepReconnectTimeout), this.eventsSdkClass.connect(lt.NEXT);