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

@hocuspocus/extension-throttle

Package Overview
Dependencies
Maintainers
3
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/extension-throttle - npm Package Compare versions

Comparing version 1.0.0-alpha.31 to 1.0.0-alpha.32

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

2

dist/packages/provider/src/HocuspocusProvider.d.ts

@@ -111,3 +111,3 @@ import * as Y from 'yjs';

subscribedToBroadcastChannel: boolean;
webSocket: any;
webSocket: WebSocket | null;
shouldConnect: boolean;

@@ -114,0 +114,0 @@ status: WebSocketStatus;

@@ -9,3 +9,3 @@ import Connection from './Connection';

apply(connection: Connection): void;
readSyncMessage(message: IncomingMessage, connection: Connection): 0 | 1 | 2;
readSyncMessage(message: IncomingMessage, connection: Connection): 0 | 2 | 1;
}

@@ -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/extension-throttle",
"version": "1.0.0-alpha.31",
"version": "1.0.0-alpha.32",
"description": "hocuspocus throttle extension",

@@ -15,3 +15,3 @@ "homepage": "https://hocuspocus.dev",

"module": "dist/hocuspocus-throttle.esm.js",
"types": "dist/packages/throttle/src/index.d.ts",
"types": "dist/packages/extension-throttle/src/index.d.ts",
"exports": {

@@ -26,5 +26,5 @@ "import": "./dist/hocuspocus-throttle.esm.js",

"dependencies": {
"@hocuspocus/server": "^1.0.0-alpha.75"
"@hocuspocus/server": "^1.0.0-alpha.76"
},
"gitHead": "49a520f1b6be37139f5c7243a484dc413640869c"
"gitHead": "fa031748b345c53bd71eaeca2bccfcf29cbb36e8"
}
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