@hocuspocus/provider 3.1.10 → 3.1.11

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.
@@ -1242,6 +1242,7 @@ class HocuspocusProviderWebsocket extends EventEmitter {
1242
1242
  onDestroy: () => null,
1243
1243
  onAwarenessUpdate: () => null,
1244
1244
  onAwarenessChange: () => null,
1245
+ handleTimeout: null,
1245
1246
  providerMap: new Map(),
1246
1247
  };
1247
1248
  this.webSocket = null;
@@ -1326,6 +1327,7 @@ class HocuspocusProviderWebsocket extends EventEmitter {
1326
1327
  maxDelay: this.configuration.maxDelay,
1327
1328
  jitter: this.configuration.jitter,
1328
1329
  timeout: this.configuration.timeout,
1330
+ handleTimeout: this.configuration.handleTimeout,
1329
1331
  beforeAttempt: (context) => {
1330
1332
  if (!this.shouldConnect || cancelAttempt) {
1331
1333
  context.abort();