@hocuspocus/common
Advanced tools
Comparing version 2.13.4-rc.0 to 2.13.5-rc.0
@@ -20,3 +20,3 @@ import WebSocket from 'ws'; | ||
mux: mutex; | ||
logger: Debugger; | ||
logger?: Debugger; | ||
isLoading: boolean; | ||
@@ -27,3 +27,3 @@ isDestroyed: boolean; | ||
*/ | ||
constructor(name: string, logger: Debugger, yDocOptions: {}); | ||
constructor(name: string, logger?: Debugger, yDocOptions?: {}); | ||
/** | ||
@@ -30,0 +30,0 @@ * Check if the Document (XMLFragment or Map) is empty |
@@ -11,4 +11,4 @@ import Connection from './Connection.js'; | ||
apply(document: Document, connection?: Connection, reply?: (message: Uint8Array) => void): void; | ||
readSyncMessage(message: IncomingMessage, document: Document, connection?: Connection, reply?: (message: Uint8Array) => void, requestFirstSync?: boolean): 0 | 2 | 1; | ||
readSyncMessage(message: IncomingMessage, document: Document, connection?: Connection, reply?: (message: Uint8Array) => void, requestFirstSync?: boolean): 0 | 1 | 2; | ||
applyQueryAwarenessMessage(document: Document, reply?: (message: Uint8Array) => void): void; | ||
} |
{ | ||
"name": "@hocuspocus/common", | ||
"description": "shared code for multiple Hocuspocus packages", | ||
"version": "2.13.4-rc.0", | ||
"version": "2.13.5-rc.0", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
237042