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

@hocuspocus/extension-webhook

Package Overview
Dependencies
Maintainers
3
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/extension-webhook - npm Package Compare versions

Comparing version 1.0.0-alpha.42 to 1.0.0-alpha.43

44

dist/packages/extension-logger/src/Logger.d.ts

@@ -5,6 +5,49 @@ import { Extension, onChangePayload, onConfigurePayload, onConnectPayload, onLoadDocumentPayload, onDestroyPayload, onDisconnectPayload, onListenPayload, onRequestPayload, onUpgradePayload } from '@hocuspocus/server';

* Prepend all logging message with a string.
*
* @deprecated
*/
prefix: null | string;
/**
* Whether to log something for the `onLoadDocument` hook.
*/
onLoadDocument: boolean;
/**
* Whether to log something for the `onChange` hook.
*/
onChange: boolean;
/**
* Whether to log something for the `onConnect` hook.
*/
onConnect: boolean;
/**
* Whether to log something for the `onDisconnect` hook.
*/
onDisconnect: boolean;
/**
* Whether to log something for the `onUpgrade` hook.
*/
onUpgrade: boolean;
/**
* Whether to log something for the `onRequest` hook.
*/
onRequest: boolean;
/**
* Whether to log something for the `onListen` hook.
*/
onListen: boolean;
/**
* Whether to log something for the `onDestroy` hook.
*/
onDestroy: boolean;
/**
* Whether to log something for the `onConfigure` hook.
*/
onConfigure: boolean;
/**
* A log function, if none is provided output will go to console
*/
log: (...args: any[]) => void;
}
export declare class Logger implements Extension {
name: string | null;
configuration: LoggerConfiguration;

@@ -24,3 +67,4 @@ /**

onConfigure(data: onConfigurePayload): Promise<void>;
private logRawText;
private log;
}

1

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

@@ -7,2 +7,3 @@ /// <reference types="node" />

export declare const defaultConfiguration: {
name: null;
port: number;

@@ -9,0 +10,0 @@ timeout: number;

2

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

@@ -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;
}

@@ -50,2 +50,6 @@ /// <reference types="node" />

/**
* A name for the instance, used for logging.
*/
name: string | null;
/**
* A list of hocuspocus extenions.

@@ -52,0 +56,0 @@ */

{
"name": "@hocuspocus/extension-webhook",
"version": "1.0.0-alpha.42",
"version": "1.0.0-alpha.43",
"description": "hocuspocus webhook extension",

@@ -19,4 +19,9 @@ "homepage": "https://hocuspocus.dev",

"exports": {
"import": "./dist/hocuspocus-webhook.esm.js",
"require": "./dist/hocuspocus-webhook.cjs"
"development": {
"import": "./src"
},
"default": {
"import": "./dist/hocuspocus-webhook.esm.js",
"require": "./dist/hocuspocus-webhook.cjs"
}
},

@@ -28,7 +33,7 @@ "files": [

"dependencies": {
"@hocuspocus/server": "^1.0.0-alpha.78",
"@hocuspocus/transformer": "^1.0.0-alpha.15",
"@hocuspocus/server": "^1.0.0-alpha.79",
"@hocuspocus/transformer": "^1.0.0-alpha.16",
"axios": "^0.23.0"
},
"gitHead": "0cc0acea1bbc8ba2106d9b5faa9384f4dc34f57d"
"gitHead": "f9f5acf828d4a1f5ae4df8188000b5c3873e18cf"
}
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