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

@hocuspocus/transformer

Package Overview
Dependencies
Maintainers
5
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/transformer - npm Package Compare versions

Comparing version 2.9.0 to 2.9.1-rc.0

8

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

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

appId?: string;
/**
* If you are using the on-premise version of TiptapCollab, put your baseUrl here (e.g. https://collab.yourdomain.com)
*/
baseUrl?: string;
websocketProvider?: TiptapCollabProviderWebsocket;

@@ -13,0 +17,0 @@ }

@@ -7,3 +7,7 @@ import { CompleteHocuspocusProviderWebsocketConfiguration, HocuspocusProviderWebsocket } from './HocuspocusProviderWebsocket.js';

*/
appId: string;
appId?: string;
/**
* If you are using the on-premise version of TiptapCollab, put your baseUrl here (e.g. https://collab.yourdomain.com)
*/
baseUrl?: string;
}

@@ -10,0 +14,0 @@ export declare class TiptapCollabProviderWebsocket extends HocuspocusProviderWebsocket {

/// <reference types="node" />
import { IncomingMessage } from 'http';
import WebSocket, { AddressInfo } from 'ws';
import { Server as HocuspocusServer } from './Server';
import { Server as HocuspocusServer } from './Server.js';
import { Debugger } from './Debugger.js';

@@ -6,0 +6,0 @@ import { DirectConnection } from './DirectConnection.js';

/// <reference types="node" />
import { IncomingMessage, Server as HTTPServer, ServerResponse } from 'http';
import { WebSocketServer } from 'ws';
import { Hocuspocus } from './Hocuspocus';
import { Hocuspocus } from './Hocuspocus.js';
export declare class Server {

@@ -6,0 +6,0 @@ httpServer: HTTPServer;

{
"name": "@hocuspocus/transformer",
"version": "2.9.0",
"version": "2.9.1-rc.0",
"description": "hocuspocus transformation utilities",

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

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