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

@hocuspocus/extension-database

Package Overview
Dependencies
Maintainers
3
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/extension-database - npm Package Compare versions

Comparing version 1.0.0-alpha.9 to 1.0.0-alpha.10

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-database",
"description": "a generic Hocuspocus persistence driver for the database",
"version": "1.0.0-alpha.9",
"version": "1.0.0-alpha.10",
"homepage": "https://hocuspocus.dev",

@@ -29,3 +29,3 @@ "keywords": [

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

@@ -36,3 +36,3 @@ },

},
"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