@hocuspocus/extension-database
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -45,2 +45,7 @@ import RedisClient, { ClusterNode, ClusterOptions, RedisOptions } from 'ioredis'; | ||
lockTimeout: number; | ||
/** | ||
* A delay before onDisconnect is executed. This allows last minute updates' | ||
* sync messages to be received by the subscription before it's closed. | ||
*/ | ||
disconnectDelay: number; | ||
} | ||
@@ -107,3 +112,3 @@ export declare class Redis implements Extension { | ||
*/ | ||
onDisconnect: ({ documentName, clientsCount }: onDisconnectPayload) => Promise<void>; | ||
onDisconnect: ({ document, documentName }: onDisconnectPayload) => Promise<void>; | ||
beforeBroadcastStateless(data: beforeBroadcastStatelessPayload): Promise<number>; | ||
@@ -110,0 +115,0 @@ /** |
@@ -80,2 +80,3 @@ import * as Y from 'yjs'; | ||
get hasUnsyncedChanges(): boolean; | ||
updateUnsyncedChanges(unsyncedChanges?: number): void; | ||
forceSync(): void; | ||
@@ -82,0 +83,0 @@ boundBeforeUnload: () => void; |
{ | ||
"name": "@hocuspocus/extension-database", | ||
"description": "a generic Hocuspocus persistence driver for the database", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@hocuspocus/server": "^2.0.2" | ||
"@hocuspocus/server": "^2.0.3" | ||
}, | ||
@@ -32,0 +32,0 @@ "peerDependencies": { |
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
66577
1721
Updated@hocuspocus/server@^2.0.3