@hocuspocus/extension-database
Advanced tools
Comparing version 2.13.5 to 2.13.6
@@ -28,3 +28,2 @@ import * as Y from 'yjs'; | ||
} | ||
return data.document; | ||
} | ||
@@ -31,0 +30,0 @@ /** |
@@ -47,3 +47,3 @@ /// <reference types="node" /> | ||
*/ | ||
listen(portOrCallback?: number | ((data: onListenPayload) => Promise<any>) | null, callback?: any): Promise<Hocuspocus>; | ||
listen(portOrCallback?: number | ((data: onListenPayload) => Promise<any>) | null, callback?: any, websocketOptions?: WebSocket.ServerOptions): Promise<Hocuspocus>; | ||
get address(): AddressInfo; | ||
@@ -50,0 +50,0 @@ get URL(): string; |
/// <reference types="node" /> | ||
import { IncomingMessage, Server as HTTPServer, ServerResponse } from 'http'; | ||
import { WebSocketServer } from 'ws'; | ||
import { ServerOptions, WebSocketServer } from 'ws'; | ||
import { Hocuspocus } from './Hocuspocus.js'; | ||
@@ -9,3 +9,3 @@ export declare class Server { | ||
hocuspocus: Hocuspocus; | ||
constructor(hocuspocus: Hocuspocus); | ||
constructor(hocuspocus: Hocuspocus, websocketOptions?: ServerOptions); | ||
setupWebsocketConnection: () => void; | ||
@@ -12,0 +12,0 @@ setupHttpUpgrade: () => void; |
{ | ||
"name": "@hocuspocus/extension-database", | ||
"description": "a generic Hocuspocus persistence driver for the database", | ||
"version": "2.13.5", | ||
"version": "2.13.6", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -30,3 +30,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@hocuspocus/server": "^2.13.5" | ||
"@hocuspocus/server": "^2.13.6" | ||
}, | ||
@@ -33,0 +33,0 @@ "peerDependencies": { |
@@ -50,4 +50,2 @@ import { | ||
} | ||
return data.document | ||
} | ||
@@ -54,0 +52,0 @@ |
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 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
79075
2051
Updated@hocuspocus/server@^2.13.6