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.59 to 1.0.0-alpha.60

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

1

dist/packages/common/src/index.d.ts
export * from './auth';
export * from './CloseEvents';
export * from './awarenessStatesToArray';
export * from './types';

4

dist/packages/extension-monitor/src/index.d.ts
/// <reference types="node" />
import { Extension, onChangePayload, onConfigurePayload, onConnectPayload, onLoadDocumentPayload, onDisconnectPayload, onRequestPayload, onUpgradePayload } from '@hocuspocus/server';
import { Extension, onChangePayload, onConfigurePayload, onLoadDocumentPayload, onDisconnectPayload, onRequestPayload, onUpgradePayload, connectedPayload } from '@hocuspocus/server';
import { IncomingMessage, ServerResponse } from 'http';

@@ -33,3 +33,3 @@ import WebSocket from 'ws';

onUpgrade({ request, socket, head }: onUpgradePayload): Promise<void>;
onConnect(data: onConnectPayload): Promise<void>;
connected(data: connectedPayload): Promise<void>;
onDisconnect(data: onDisconnectPayload): Promise<void>;

@@ -36,0 +36,0 @@ onLoadDocument(data: onLoadDocumentPayload): Promise<void>;

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

resolveConnectionAttempt(): void;
stopConnectionAttempt(): void;
rejectConnectionAttempt(): void;

@@ -153,5 +154,4 @@ get document(): Y.Doc;

disconnect(): void;
onOpen(event: Event): void;
onOpen(event: Event): Promise<void>;
getToken(): Promise<string | null>;
webSocketConnectionEstablished(): Promise<void>;
startSync(): void;

@@ -158,0 +158,0 @@ send(Message: ConstructableOutgoingMessage, args: any, broadcast?: boolean): void;

@@ -15,12 +15,2 @@ /// <reference types="node" />

}
/**
* State of the WebSocket connection.
* https://developer.mozilla.org/de/docs/Web/API/WebSocket/readyState
*/
export declare enum WsReadyStates {
Connecting = 0,
Open = 1,
Closing = 2,
Closed = 3
}
export interface AwarenessUpdate {

@@ -27,0 +17,0 @@ added: Array<any>;

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

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

"dependencies": {
"@hocuspocus/server": "^1.0.0-alpha.95",
"@hocuspocus/server": "^1.0.0-alpha.96",
"@hocuspocus/transformer": "^1.0.0-alpha.20",

@@ -38,3 +38,3 @@ "axios": "^0.25.0",

},
"gitHead": "41c2ca3452f17e7dab914c633cde04ae68f45929"
"gitHead": "771a8cbad1016dd12080ff4b35fabb9680ec69a7"
}
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