@hocuspocus/common
Advanced tools
Comparing version 2.8.1 to 2.9.0-rc.0
@@ -8,3 +8,3 @@ import type { AbstractType, YArrayEvent } from 'yjs'; | ||
/** | ||
* A Hocuspocus Cloud App ID, get one here: https://collab.tiptap.dev | ||
* A Hocuspocus Cloud App ID, get one here: https://cloud.tiptap.dev | ||
*/ | ||
@@ -11,0 +11,0 @@ appId?: string; |
@@ -5,3 +5,3 @@ import { CompleteHocuspocusProviderWebsocketConfiguration, HocuspocusProviderWebsocket } from './HocuspocusProviderWebsocket.js'; | ||
/** | ||
* A Hocuspocus Cloud App ID, get one here: https://collab.tiptap.dev | ||
* A Hocuspocus Cloud App ID, get one here: https://cloud.tiptap.dev | ||
*/ | ||
@@ -8,0 +8,0 @@ appId: string; |
@@ -32,3 +32,7 @@ /// <reference types="node" /> | ||
debugger: Debugger; | ||
debounce: (id: string, func: Function, debounce: number, maxDebounce: number) => any; | ||
debouncer: { | ||
debounce: (id: string, func: Function, debounce: number, maxDebounce: number) => any; | ||
isDebounced: (id: string) => boolean; | ||
executeNow: (id: string) => any; | ||
}; | ||
constructor(configuration?: Partial<Configuration>); | ||
@@ -35,0 +39,0 @@ /** |
@@ -11,4 +11,4 @@ import Connection from './Connection.js'; | ||
apply(document: Document, connection?: Connection, reply?: (message: Uint8Array) => void): void; | ||
readSyncMessage(message: IncomingMessage, document: Document, connection?: Connection, reply?: (message: Uint8Array) => void, requestFirstSync?: boolean): 0 | 2 | 1; | ||
readSyncMessage(message: IncomingMessage, document: Document, connection?: Connection, reply?: (message: Uint8Array) => void, requestFirstSync?: boolean): 0 | 1 | 2; | ||
applyQueryAwarenessMessage(document: Document, reply?: (message: Uint8Array) => void): void; | ||
} |
@@ -1,1 +0,5 @@ | ||
export declare const useDebounce: () => (id: string, func: Function, debounce: number, maxDebounce: number) => any; | ||
export declare const useDebounce: () => { | ||
debounce: (id: string, func: Function, debounce: number, maxDebounce: number) => any; | ||
isDebounced: (id: string) => boolean; | ||
executeNow: (id: string) => any; | ||
}; |
{ | ||
"name": "@hocuspocus/common", | ||
"description": "shared code for multiple Hocuspocus packages", | ||
"version": "2.8.1", | ||
"version": "2.9.0-rc.0", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
233996
2868
1