New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hocuspocus/extension-webhook

Package Overview
Dependencies
Maintainers
3
Versions
121
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.49 to 1.0.0-alpha.50

10

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

@@ -1,2 +0,2 @@

import { Extension, onChangePayload, onConfigurePayload, onConnectPayload, onLoadDocumentPayload, onDestroyPayload, onDisconnectPayload, onListenPayload, onRequestPayload, onUpgradePayload } from '@hocuspocus/server';
import { Extension, onChangePayload, onConfigurePayload, onConnectPayload, onLoadDocumentPayload, onDestroyPayload, onDisconnectPayload, onRequestPayload, onUpgradePayload } from '@hocuspocus/server';
export interface LoggerConfiguration {

@@ -34,6 +34,2 @@ /**

/**
* Whether to log something for the `onListen` hook.
*/
onListen: boolean;
/**
* Whether to log something for the `onDestroy` hook.

@@ -58,2 +54,3 @@ */

constructor(configuration?: Partial<LoggerConfiguration>);
onConfigure(data: onConfigurePayload): Promise<void>;
onLoadDocument(data: onLoadDocumentPayload): Promise<void>;

@@ -65,7 +62,4 @@ onChange(data: onChangePayload): Promise<void>;

onRequest(data: onRequestPayload): Promise<void>;
onListen(data: onListenPayload): Promise<void>;
onDestroy(data: onDestroyPayload): Promise<void>;
onConfigure(data: onConfigurePayload): Promise<void>;
private logRawText;
private log;
}

7

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

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

import { MessageLogger } from './Debugger';
import { onListenPayload } from '.';
export declare const defaultConfiguration: {

@@ -11,5 +12,6 @@ name: null;

timeout: number;
quiet: boolean;
};
/**
* Hocuspocus server
* Hocuspocus Server
*/

@@ -30,3 +32,4 @@ export declare class Hocuspocus {

*/
listen(): Promise<void>;
listen(portOrCallback?: number | ((data: onListenPayload) => Promise<any>) | null, callback?: any): Promise<void>;
private showStartScreen;
/**

@@ -33,0 +36,0 @@ * Get the total number of active documents

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

/**
* By default, the servers show a start screen. If passed false, the server will start quietly.
*/
quiet: boolean;
/**
* Function which returns the (customized) document name based on the request

@@ -73,0 +77,0 @@ */

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

@@ -32,7 +32,7 @@ "homepage": "https://hocuspocus.dev",

"dependencies": {
"@hocuspocus/server": "^1.0.0-alpha.85",
"@hocuspocus/server": "^1.0.0-alpha.86",
"@hocuspocus/transformer": "^1.0.0-alpha.17",
"axios": "^0.23.0"
},
"gitHead": "63a50dd02286693b5025ac385c3fb4afd6b29050"
"gitHead": "505fc82451201ef77847dc5bc9e92edb498dcb8e"
}
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