@hocuspocus/extension-throttle
Advanced tools
Comparing version 1.0.0-alpha.31 to 1.0.0-alpha.32
@@ -111,3 +111,3 @@ import * as Y from 'yjs'; | ||
subscribedToBroadcastChannel: boolean; | ||
webSocket: any; | ||
webSocket: WebSocket | null; | ||
shouldConnect: boolean; | ||
@@ -114,0 +114,0 @@ status: WebSocketStatus; |
@@ -9,3 +9,3 @@ import Connection from './Connection'; | ||
apply(connection: Connection): void; | ||
readSyncMessage(message: IncomingMessage, connection: Connection): 0 | 1 | 2; | ||
readSyncMessage(message: IncomingMessage, connection: Connection): 0 | 2 | 1; | ||
} |
@@ -37,3 +37,7 @@ /// <reference types="node" /> | ||
onConfigure?(data: onConfigurePayload): Promise<any>; | ||
onCreateDocument?(data: onCreateDocumentPayload): Promise<any>; | ||
/** | ||
* @deprecated onCreateDocument is deprecated, use onLoadDocument instead | ||
*/ | ||
onCreateDocument?(data: onLoadDocumentPayload): Promise<any>; | ||
onLoadDocument?(data: onLoadDocumentPayload): Promise<any>; | ||
onDestroy?(data: onDestroyPayload): Promise<any>; | ||
@@ -77,3 +81,3 @@ onDisconnect?(data: onDisconnectPayload): Promise<any>; | ||
} | ||
export interface onCreateDocumentPayload { | ||
export interface onLoadDocumentPayload { | ||
context: any; | ||
@@ -80,0 +84,0 @@ document: Document; |
{ | ||
"name": "@hocuspocus/extension-throttle", | ||
"version": "1.0.0-alpha.31", | ||
"version": "1.0.0-alpha.32", | ||
"description": "hocuspocus throttle extension", | ||
@@ -15,3 +15,3 @@ "homepage": "https://hocuspocus.dev", | ||
"module": "dist/hocuspocus-throttle.esm.js", | ||
"types": "dist/packages/throttle/src/index.d.ts", | ||
"types": "dist/packages/extension-throttle/src/index.d.ts", | ||
"exports": { | ||
@@ -26,5 +26,5 @@ "import": "./dist/hocuspocus-throttle.esm.js", | ||
"dependencies": { | ||
"@hocuspocus/server": "^1.0.0-alpha.75" | ||
"@hocuspocus/server": "^1.0.0-alpha.76" | ||
}, | ||
"gitHead": "49a520f1b6be37139f5c7243a484dc413640869c" | ||
"gitHead": "fa031748b345c53bd71eaeca2bccfcf29cbb36e8" | ||
} |
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
50027
58
1245