@hocuspocus/extension-database
Advanced tools
Comparing version 1.0.0-alpha.17 to 1.0.0-alpha.18
@@ -78,3 +78,3 @@ import RedisClient from 'ioredis'; | ||
*/ | ||
onAwarenessUpdate({ documentName, awareness }: onAwarenessUpdatePayload): Promise<number>; | ||
onAwarenessUpdate({ documentName, awareness, added, updated, removed, }: onAwarenessUpdatePayload): Promise<number>; | ||
/** | ||
@@ -81,0 +81,0 @@ * Handle incoming messages published on all subscribed document channels. |
@@ -113,2 +113,3 @@ import * as Y from 'yjs'; | ||
isSynced: boolean; | ||
unsyncedChanges: number; | ||
isAuthenticated: boolean; | ||
@@ -132,2 +133,3 @@ lastMessageReceived: number; | ||
get awareness(): Awareness; | ||
get hasUnsyncedChanges(): boolean; | ||
checkConnection(): void; | ||
@@ -134,0 +136,0 @@ forceSync(): void; |
{ | ||
"name": "@hocuspocus/extension-database", | ||
"description": "a generic Hocuspocus persistence driver for the database", | ||
"version": "1.0.0-alpha.17", | ||
"version": "1.0.0-alpha.18", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@hocuspocus/server": "^1.0.0-alpha.103", | ||
"@hocuspocus/server": "^1.0.0-alpha.104", | ||
"yjs": "^13.5.29" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "af278e7c5d91c74afefd9234379c8179c8b91e6d" | ||
"gitHead": "02845d914742af88c8ef034adf072fcaadb48208" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
65242
1716
1