@hocuspocus/extension-webhook
Advanced tools
Comparing version 1.0.0-alpha.59 to 1.0.0-alpha.60
export * from './auth'; | ||
export * from './CloseEvents'; | ||
export * from './awarenessStatesToArray'; | ||
export * from './types'; |
/// <reference types="node" /> | ||
import { Extension, onChangePayload, onConfigurePayload, onConnectPayload, onLoadDocumentPayload, onDisconnectPayload, onRequestPayload, onUpgradePayload } from '@hocuspocus/server'; | ||
import { Extension, onChangePayload, onConfigurePayload, onLoadDocumentPayload, onDisconnectPayload, onRequestPayload, onUpgradePayload, connectedPayload } from '@hocuspocus/server'; | ||
import { IncomingMessage, ServerResponse } from 'http'; | ||
@@ -33,3 +33,3 @@ import WebSocket from 'ws'; | ||
onUpgrade({ request, socket, head }: onUpgradePayload): Promise<void>; | ||
onConnect(data: onConnectPayload): Promise<void>; | ||
connected(data: connectedPayload): Promise<void>; | ||
onDisconnect(data: onDisconnectPayload): Promise<void>; | ||
@@ -36,0 +36,0 @@ onLoadDocument(data: onLoadDocumentPayload): Promise<void>; |
@@ -136,2 +136,3 @@ import * as Y from 'yjs'; | ||
resolveConnectionAttempt(): void; | ||
stopConnectionAttempt(): void; | ||
rejectConnectionAttempt(): void; | ||
@@ -153,5 +154,4 @@ get document(): Y.Doc; | ||
disconnect(): void; | ||
onOpen(event: Event): void; | ||
onOpen(event: Event): Promise<void>; | ||
getToken(): Promise<string | null>; | ||
webSocketConnectionEstablished(): Promise<void>; | ||
startSync(): void; | ||
@@ -158,0 +158,0 @@ send(Message: ConstructableOutgoingMessage, args: any, broadcast?: boolean): void; |
@@ -15,12 +15,2 @@ /// <reference types="node" /> | ||
} | ||
/** | ||
* State of the WebSocket connection. | ||
* https://developer.mozilla.org/de/docs/Web/API/WebSocket/readyState | ||
*/ | ||
export declare enum WsReadyStates { | ||
Connecting = 0, | ||
Open = 1, | ||
Closing = 2, | ||
Closed = 3 | ||
} | ||
export interface AwarenessUpdate { | ||
@@ -27,0 +17,0 @@ added: Array<any>; |
{ | ||
"name": "@hocuspocus/extension-webhook", | ||
"version": "1.0.0-alpha.59", | ||
"version": "1.0.0-alpha.60", | ||
"description": "hocuspocus webhook extension", | ||
@@ -32,3 +32,3 @@ "homepage": "https://hocuspocus.dev", | ||
"dependencies": { | ||
"@hocuspocus/server": "^1.0.0-alpha.95", | ||
"@hocuspocus/server": "^1.0.0-alpha.96", | ||
"@hocuspocus/transformer": "^1.0.0-alpha.20", | ||
@@ -38,3 +38,3 @@ "axios": "^0.25.0", | ||
}, | ||
"gitHead": "41c2ca3452f17e7dab914c633cde04ae68f45929" | ||
"gitHead": "771a8cbad1016dd12080ff4b35fabb9680ec69a7" | ||
} |
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
84278
118
1895