@hocuspocus/common 2.3.0 → 2.3.1

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.
@@ -105,6 +105,7 @@ export declare class HocuspocusProviderWebsocket extends EventEmitter {
105
105
  resolveConnectionAttempt(): void;
106
106
  stopConnectionAttempt(): void;
107
107
  rejectConnectionAttempt(): void;
108
+ closeTries: number;
108
109
  checkConnection(): void;
109
110
  registerEventListeners(): void;
110
111
  get serverUrl(): string;
@@ -1,7 +1,8 @@
1
1
  import { Encoder } from 'lib0/encoding';
2
- import type { CloseEvent, Event, MessageEvent } from 'ws';
2
+ import type { Event, MessageEvent } from 'ws';
3
3
  import { Awareness } from 'y-protocols/awareness';
4
4
  import * as Y from 'yjs';
5
+ import { CloseEvent } from '@hocuspocus/common';
5
6
  import { IncomingMessage } from './IncomingMessage.js';
6
7
  import { OutgoingMessage } from './OutgoingMessage.js';
7
8
  import { AuthenticationMessage } from './OutgoingMessages/AuthenticationMessage.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hocuspocus/common",
3
3
  "description": "shared code for multiple Hocuspocus packages",
4
- "version": "2.3.0",
4
+ "version": "2.3.1",
5
5
  "homepage": "https://hocuspocus.dev",
6
6
  "keywords": [
7
7
  "hocuspocus"