@hocuspocus/extension-webhook
Advanced tools
Comparing version 2.0.0-alpha.0 to 2.0.0-alpha.1
@@ -90,2 +90,3 @@ import * as Y from 'yjs'; | ||
get isAuthenticationRequired(): boolean; | ||
connect(): Promise<unknown>; | ||
disconnect(): void; | ||
@@ -92,0 +93,0 @@ onOpen(event: Event): Promise<void>; |
@@ -18,3 +18,4 @@ import { Awareness } from 'y-protocols/awareness'; | ||
QueryAwareness = 3, | ||
Stateless = 5 | ||
Stateless = 5, | ||
CLOSE = 7 | ||
} | ||
@@ -21,0 +22,0 @@ export declare enum WebSocketStatus { |
@@ -26,6 +26,10 @@ /// <reference types="node" /> | ||
constructor(connection: WebSocket, request: HTTPIncomingMessage, document: Document, timeout: number, socketId: string, context: any, readOnly: boolean | undefined, logger: Debugger); | ||
boundClose: (event?: CloseEvent | undefined) => void; | ||
boundHandleMessage: (data: Uint8Array) => void; | ||
boundHandlePong: () => void; | ||
handlePong(): void; | ||
/** | ||
* Set a callback that will be triggered when the connection is closed | ||
*/ | ||
onClose(callback: (document: Document) => void): Connection; | ||
onClose(callback: (document: Document, event?: CloseEvent) => void): Connection; | ||
/** | ||
@@ -32,0 +36,0 @@ * Set a callback that will be triggered when an stateless message is received |
@@ -16,3 +16,4 @@ /// <reference types="node" /> | ||
Stateless = 5, | ||
BroadcastStateless = 6 | ||
BroadcastStateless = 6, | ||
CLOSE = 7 | ||
} | ||
@@ -19,0 +20,0 @@ export interface AwarenessUpdate { |
{ | ||
"name": "@hocuspocus/extension-webhook", | ||
"version": "2.0.0-alpha.0", | ||
"version": "2.0.0-alpha.1", | ||
"description": "hocuspocus webhook extension", | ||
@@ -32,5 +32,5 @@ "homepage": "https://hocuspocus.dev", | ||
"dependencies": { | ||
"@hocuspocus/common": "^2.0.0-alpha.0", | ||
"@hocuspocus/server": "^2.0.0-alpha.0", | ||
"@hocuspocus/transformer": "^2.0.0-alpha.0", | ||
"@hocuspocus/common": "^2.0.0-alpha.1", | ||
"@hocuspocus/server": "^2.0.0-alpha.1", | ||
"@hocuspocus/transformer": "^2.0.0-alpha.1", | ||
"axios": "^1.2.2" | ||
@@ -37,0 +37,0 @@ }, |
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
96914
125
2168