Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hocuspocus/provider

Package Overview
Dependencies
Maintainers
3
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/provider - npm Package Compare versions

Comparing version 1.0.0-alpha.20 to 1.0.0-alpha.21

dist/demos/backend/src/load-document.d.ts

8

dist/packages/server/src/types.d.ts

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc