@hocuspocus/extension-webhook
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -75,2 +75,13 @@ import * as Y from 'yjs'; | ||
constructor(configuration: HocuspocusProviderConfiguration); | ||
boundBroadcastChannelSubscriber: (data: ArrayBuffer) => void; | ||
boundBeforeUnload: () => void; | ||
boundOnOpen: (event: Event) => Promise<void>; | ||
boundOnMessage: (event: MessageEvent) => void; | ||
boundOnClose: (event: CloseEvent) => void; | ||
boundOnStatus: ({ status }: onStatusParameters) => void; | ||
forwardConnect: (e: any) => this; | ||
forwardOpen: (e: any) => this; | ||
forwardClose: (e: any) => this; | ||
forwardDisconnect: (e: any) => this; | ||
forwardDestroy: (e: any) => this; | ||
onStatus({ status }: onStatusParameters): void; | ||
@@ -83,3 +94,2 @@ setConfiguration(configuration?: Partial<HocuspocusProviderConfiguration>): void; | ||
forceSync(): void; | ||
boundBeforeUnload: () => void; | ||
beforeUnload(): void; | ||
@@ -106,3 +116,2 @@ registerEventListeners(): void; | ||
get broadcastChannel(): string; | ||
boundBroadcastChannelSubscriber: (data: ArrayBuffer) => void; | ||
broadcastChannelSubscriber(data: ArrayBuffer): void; | ||
@@ -109,0 +118,0 @@ subscribeToBroadcastChannel(): void; |
import { HocuspocusProvider, HocuspocusProviderConfiguration } from './HocuspocusProvider.js'; | ||
export type TiptapCollabProviderConfiguration = Required<Pick<HocuspocusProviderConfiguration, 'name'>> & Partial<HocuspocusProviderConfiguration> & AdditionalTiptapCollabProviderConfiguration; | ||
import { TiptapCollabProviderWebsocket } from './TiptapCollabProviderWebsocket.js'; | ||
export type TiptapCollabProviderConfiguration = Required<Pick<HocuspocusProviderConfiguration, 'name'>> & Partial<HocuspocusProviderConfiguration> & (Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'websocketProvider'>> | Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'appId'>>); | ||
export interface AdditionalTiptapCollabProviderConfiguration { | ||
@@ -7,3 +8,4 @@ /** | ||
*/ | ||
appId: string; | ||
appId?: string; | ||
websocketProvider?: TiptapCollabProviderWebsocket; | ||
} | ||
@@ -10,0 +12,0 @@ export declare class TiptapCollabProvider extends HocuspocusProvider { |
import Document from './Document.js'; | ||
import type { Hocuspocus } from './Hocuspocus.js'; | ||
import type { DirectConnection as DirectConnectionInterface } from './types'; | ||
import type { DirectConnection as DirectConnectionInterface } from './types.js'; | ||
export declare class DirectConnection implements DirectConnectionInterface { | ||
@@ -5,0 +5,0 @@ document: Document | null; |
{ | ||
"name": "@hocuspocus/extension-webhook", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "hocuspocus webhook extension", | ||
@@ -33,5 +33,5 @@ "homepage": "https://hocuspocus.dev", | ||
"dependencies": { | ||
"@hocuspocus/common": "^2.2.1", | ||
"@hocuspocus/server": "^2.2.1", | ||
"@hocuspocus/transformer": "^2.2.1", | ||
"@hocuspocus/common": "^2.2.2", | ||
"@hocuspocus/server": "^2.2.2", | ||
"@hocuspocus/transformer": "^2.2.2", | ||
"axios": "^1.2.2" | ||
@@ -38,0 +38,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
98410
2172
Updated@hocuspocus/common@^2.2.2
Updated@hocuspocus/server@^2.2.2