@hocuspocus/server
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 |
{ | ||
"name": "@hocuspocus/server", | ||
"description": "plug & play collaboration backend", | ||
"version": "2.13.4-rc.0", | ||
"version": "2.13.5-rc.0", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@hocuspocus/common": "^2.13.4-rc.0", | ||
"@hocuspocus/common": "^2.13.5-rc.0", | ||
"async-lock": "^1.3.1", | ||
@@ -35,0 +35,0 @@ "kleur": "^4.1.4", |
@@ -32,3 +32,3 @@ import WebSocket from 'ws' | ||
logger: Debugger | ||
logger?: Debugger | ||
@@ -42,3 +42,3 @@ isLoading: boolean | ||
*/ | ||
constructor(name: string, logger: Debugger, yDocOptions: {}) { | ||
constructor(name: string, logger?: Debugger, yDocOptions?: {}) { | ||
super(yDocOptions) | ||
@@ -211,3 +211,3 @@ | ||
this.logger.log({ | ||
this.logger?.log({ | ||
direction: 'out', | ||
@@ -237,3 +237,3 @@ type: awarenessMessage.type, | ||
this.getConnections().forEach(connection => { | ||
this.logger.log({ | ||
this.logger?.log({ | ||
direction: 'out', | ||
@@ -240,0 +240,0 @@ type: message.type, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
822772
9714