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.12.1-rc.0 to 2.12.2-rc.0

5

dist/packages/provider/src/TiptapCollabProvider.d.ts
import type { AbstractType, YArrayEvent } from 'yjs';
import * as Y from 'yjs';
import { HocuspocusProvider, HocuspocusProviderConfiguration } from './HocuspocusProvider.js';
import { TiptapCollabProviderWebsocket } from './TiptapCollabProviderWebsocket.js';
import type { TCollabComment, TCollabThread, 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 type TiptapCollabProviderConfiguration = Required<Pick<HocuspocusProviderConfiguration, 'name'>> & Partial<HocuspocusProviderConfiguration> & (Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'websocketProvider'>> | Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'appId'>> | Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'baseUrl'>>) & Pick<AdditionalTiptapCollabProviderConfiguration, 'user'>;
export interface AdditionalTiptapCollabProviderConfiguration {

@@ -16,5 +17,7 @@ /**

websocketProvider?: TiptapCollabProviderWebsocket;
user?: string;
}
export declare class TiptapCollabProvider extends HocuspocusProvider {
tiptapCollabConfigurationPrefix: string;
userData?: Y.PermanentUserData;
constructor(configuration: TiptapCollabProviderConfiguration);

@@ -21,0 +24,0 @@ /**

2

package.json
{
"name": "@hocuspocus/transformer",
"version": "2.12.1-rc.0",
"version": "2.12.2-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