@hocuspocus/extension-throttle
Advanced tools
Comparing version 2.13.5 to 2.13.6
@@ -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-throttle", | ||
"version": "2.13.5", | ||
"version": "2.13.6", | ||
"description": "hocuspocus throttle extension", | ||
@@ -31,5 +31,5 @@ "homepage": "https://hocuspocus.dev", | ||
"dependencies": { | ||
"@hocuspocus/server": "^2.13.5" | ||
"@hocuspocus/server": "^2.13.6" | ||
}, | ||
"gitHead": "b3454a4ca289a84ddfb7fa5607a2d4b8d5c37e9d" | ||
} |
91370
Updated@hocuspocus/server@^2.13.6