@hocuspocus/extension-webhook 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,11 +2,16 @@ import type { Event, MessageEvent } from "ws";
|
|
|
2
2
|
import EventEmitter from "./EventEmitter.ts";
|
|
3
3
|
import type { HocuspocusProvider } from "./HocuspocusProvider.ts";
|
|
4
4
|
import { WebSocketStatus, type onAwarenessChangeParameters, type onAwarenessUpdateParameters, type onCloseParameters, type onDisconnectParameters, type onMessageParameters, type onOpenParameters, type onOutgoingMessageParameters, type onStatusParameters } from "./types.ts";
|
|
5
|
-
export type
|
|
5
|
+
export type HocuspocusWebSocket = WebSocket & {
|
|
6
6
|
identifier: string;
|
|
7
7
|
};
|
|
8
|
+
export type HocusPocusWebSocket = HocuspocusWebSocket;
|
|
8
9
|
export type HocuspocusProviderWebsocketConfiguration = Required<Pick<CompleteHocuspocusProviderWebsocketConfiguration, "url">> & Partial<CompleteHocuspocusProviderWebsocketConfiguration>;
|
|
9
10
|
export interface CompleteHocuspocusProviderWebsocketConfiguration {
|
|
11
|
+
/**
|
|
12
|
+
* Whether to connect automatically when creating the provider instance. Default=true
|
|
13
|
+
*/
|
|
14
|
+
autoConnect: boolean;
|
|
10
15
|
/**
|
|
11
16
|
* URL of your @hocuspocus/server instance
|
|
12
17
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hocuspocus/extension-webhook",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "hocuspocus webhook extension",
|
|
5
5
|
"homepage": "https://hocuspocus.dev",
|
|
6
6
|
"keywords": [
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@hocuspocus/common": "^3.2.
|
|
34
|
-
"@hocuspocus/server": "^3.2.
|
|
35
|
-
"@hocuspocus/transformer": "^3.2.
|
|
33
|
+
"@hocuspocus/common": "^3.2.3",
|
|
34
|
+
"@hocuspocus/server": "^3.2.3",
|
|
35
|
+
"@hocuspocus/transformer": "^3.2.3",
|
|
36
36
|
"axios": "^1.6.2"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|