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

@hocuspocus/extension-webhook

Package Overview
Dependencies
Maintainers
5
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.2.1 to 2.2.2

13

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

@@ -75,2 +75,13 @@ import * as Y from 'yjs';

constructor(configuration: HocuspocusProviderConfiguration);
boundBroadcastChannelSubscriber: (data: ArrayBuffer) => void;
boundBeforeUnload: () => void;
boundOnOpen: (event: Event) => Promise<void>;
boundOnMessage: (event: MessageEvent) => void;
boundOnClose: (event: CloseEvent) => void;
boundOnStatus: ({ status }: onStatusParameters) => void;
forwardConnect: (e: any) => this;
forwardOpen: (e: any) => this;
forwardClose: (e: any) => this;
forwardDisconnect: (e: any) => this;
forwardDestroy: (e: any) => this;
onStatus({ status }: onStatusParameters): void;

@@ -83,3 +94,2 @@ setConfiguration(configuration?: Partial<HocuspocusProviderConfiguration>): void;

forceSync(): void;
boundBeforeUnload: () => void;
beforeUnload(): void;

@@ -106,3 +116,2 @@ registerEventListeners(): void;

get broadcastChannel(): string;
boundBroadcastChannelSubscriber: (data: ArrayBuffer) => void;
broadcastChannelSubscriber(data: ArrayBuffer): void;

@@ -109,0 +118,0 @@ subscribeToBroadcastChannel(): void;

6

dist/packages/provider/src/TiptapCollabProvider.d.ts
import { HocuspocusProvider, HocuspocusProviderConfiguration } from './HocuspocusProvider.js';
export type TiptapCollabProviderConfiguration = Required<Pick<HocuspocusProviderConfiguration, 'name'>> & Partial<HocuspocusProviderConfiguration> & AdditionalTiptapCollabProviderConfiguration;
import { TiptapCollabProviderWebsocket } from './TiptapCollabProviderWebsocket.js';
export type TiptapCollabProviderConfiguration = Required<Pick<HocuspocusProviderConfiguration, 'name'>> & Partial<HocuspocusProviderConfiguration> & (Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'websocketProvider'>> | Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'appId'>>);
export interface AdditionalTiptapCollabProviderConfiguration {

@@ -7,3 +8,4 @@ /**

*/
appId: string;
appId?: string;
websocketProvider?: TiptapCollabProviderWebsocket;
}

@@ -10,0 +12,0 @@ export declare class TiptapCollabProvider extends HocuspocusProvider {

import Document from './Document.js';
import type { Hocuspocus } from './Hocuspocus.js';
import type { DirectConnection as DirectConnectionInterface } from './types';
import type { DirectConnection as DirectConnectionInterface } from './types.js';
export declare class DirectConnection implements DirectConnectionInterface {

@@ -5,0 +5,0 @@ document: Document | null;

{
"name": "@hocuspocus/extension-webhook",
"version": "2.2.1",
"version": "2.2.2",
"description": "hocuspocus webhook extension",

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

"dependencies": {
"@hocuspocus/common": "^2.2.1",
"@hocuspocus/server": "^2.2.1",
"@hocuspocus/transformer": "^2.2.1",
"@hocuspocus/common": "^2.2.2",
"@hocuspocus/server": "^2.2.2",
"@hocuspocus/transformer": "^2.2.2",
"axios": "^1.2.2"

@@ -38,0 +38,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