@hocuspocus/transformer
Advanced tools
Comparing version 2.7.1 to 2.8.0
@@ -1,2 +0,1 @@ | ||
import * as mutex from 'lib0/mutex'; | ||
import type { MessageEvent } from 'ws'; | ||
@@ -88,3 +87,2 @@ import { Event } from 'ws'; | ||
configuration: CompleteHocuspocusProviderWebsocketConfiguration; | ||
subscribedToBroadcastChannel: boolean; | ||
webSocket: HocusPocusWebSocket | null; | ||
@@ -98,3 +96,2 @@ webSocketHandlers: { | ||
identifier: number; | ||
mux: mutex.mutex; | ||
intervals: any; | ||
@@ -113,3 +110,2 @@ connectionAttempt: { | ||
setConfiguration(configuration?: Partial<HocuspocusProviderWebsocketConfiguration>): void; | ||
boundConnect: () => Promise<unknown>; | ||
cancelWebsocketRetry?: () => void; | ||
@@ -116,0 +112,0 @@ connect(): Promise<unknown>; |
@@ -22,2 +22,3 @@ /// <reference types="node" /> | ||
unloadImmediately: boolean; | ||
stopOnSignals: boolean; | ||
}; | ||
@@ -32,3 +33,3 @@ /** | ||
debugger: Debugger; | ||
debounce: (id: string, func: Function, debounce: number, maxDebounce: number) => void; | ||
debounce: (id: string, func: Function, debounce: number, maxDebounce: number) => any; | ||
constructor(configuration?: Partial<Configuration>); | ||
@@ -35,0 +36,0 @@ /** |
@@ -120,2 +120,8 @@ /// <reference types="node" /> | ||
/** | ||
* the server will gracefully stop if SIGINT, SIGQUIT or SIGTERM is received. | ||
* | ||
* Set this to false if you don't want that. | ||
*/ | ||
stopOnSignals: boolean; | ||
/** | ||
* options to pass to the ydoc document | ||
@@ -122,0 +128,0 @@ */ |
@@ -1,1 +0,1 @@ | ||
export declare const useDebounce: () => (id: string, func: Function, debounce: number, maxDebounce: number) => void; | ||
export declare const useDebounce: () => (id: string, func: Function, debounce: number, maxDebounce: number) => any; |
{ | ||
"name": "@hocuspocus/transformer", | ||
"version": "2.7.1", | ||
"version": "2.8.0", | ||
"description": "hocuspocus transformation utilities", | ||
@@ -5,0 +5,0 @@ "homepage": "https://hocuspocus.dev", |
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
694590
134
7196