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

@hocuspocus/extension-webhook

Package Overview
Dependencies
Maintainers
4
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 2.0.0-alpha.0 to 2.0.0-alpha.1

dist/packages/provider/src/OutgoingMessages/CloseMessage.d.ts

1

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

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

get isAuthenticationRequired(): boolean;
connect(): Promise<unknown>;
disconnect(): void;

@@ -92,0 +93,0 @@ onOpen(event: Event): Promise<void>;

3

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

@@ -18,3 +18,4 @@ import { Awareness } from 'y-protocols/awareness';

QueryAwareness = 3,
Stateless = 5
Stateless = 5,
CLOSE = 7
}

@@ -21,0 +22,0 @@ export declare enum WebSocketStatus {

@@ -26,6 +26,10 @@ /// <reference types="node" />

constructor(connection: WebSocket, request: HTTPIncomingMessage, document: Document, timeout: number, socketId: string, context: any, readOnly: boolean | undefined, logger: Debugger);
boundClose: (event?: CloseEvent | undefined) => void;
boundHandleMessage: (data: Uint8Array) => void;
boundHandlePong: () => void;
handlePong(): void;
/**
* Set a callback that will be triggered when the connection is closed
*/
onClose(callback: (document: Document) => void): Connection;
onClose(callback: (document: Document, event?: CloseEvent) => void): Connection;
/**

@@ -32,0 +36,0 @@ * Set a callback that will be triggered when an stateless message is received

@@ -16,3 +16,4 @@ /// <reference types="node" />

Stateless = 5,
BroadcastStateless = 6
BroadcastStateless = 6,
CLOSE = 7
}

@@ -19,0 +20,0 @@ export interface AwarenessUpdate {

{
"name": "@hocuspocus/extension-webhook",
"version": "2.0.0-alpha.0",
"version": "2.0.0-alpha.1",
"description": "hocuspocus webhook extension",

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

"dependencies": {
"@hocuspocus/common": "^2.0.0-alpha.0",
"@hocuspocus/server": "^2.0.0-alpha.0",
"@hocuspocus/transformer": "^2.0.0-alpha.0",
"@hocuspocus/common": "^2.0.0-alpha.1",
"@hocuspocus/server": "^2.0.0-alpha.1",
"@hocuspocus/transformer": "^2.0.0-alpha.1",
"axios": "^1.2.2"

@@ -37,0 +37,0 @@ },

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