@hocuspocus/provider
Advanced tools
Comparing version 1.0.0-alpha.20 to 1.0.0-alpha.21
@@ -37,3 +37,7 @@ /// <reference types="node" /> | ||
onConfigure?(data: onConfigurePayload): Promise<any>; | ||
onCreateDocument?(data: onCreateDocumentPayload): Promise<any>; | ||
/** | ||
* @deprecated onCreateDocument is deprecated, use onLoadDocument instead | ||
*/ | ||
onCreateDocument?(data: onLoadDocumentPayload): Promise<any>; | ||
onLoadDocument?(data: onLoadDocumentPayload): Promise<any>; | ||
onDestroy?(data: onDestroyPayload): Promise<any>; | ||
@@ -77,3 +81,3 @@ onDisconnect?(data: onDisconnectPayload): Promise<any>; | ||
} | ||
export interface onCreateDocumentPayload { | ||
export interface onLoadDocumentPayload { | ||
context: any; | ||
@@ -80,0 +84,0 @@ document: Document; |
{ | ||
"name": "@hocuspocus/provider", | ||
"version": "1.0.0-alpha.20", | ||
"version": "1.0.0-alpha.21", | ||
"description": "hocuspocus provider", | ||
@@ -29,5 +29,5 @@ "homepage": "https://hocuspocus.dev", | ||
"y-protocols": "^1.0.5", | ||
"yjs": "^13.5.8" | ||
"yjs": "^13.5.0" | ||
}, | ||
"gitHead": "d15359746b9d8e6518ef4128a033512ba0a893e6", | ||
"gitHead": "fa031748b345c53bd71eaeca2bccfcf29cbb36e8", | ||
"publishConfig": { | ||
@@ -34,0 +34,0 @@ "access": "public" |
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
532630
73
6060
Updatedyjs@^13.5.0