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

@types/prosemirror-collab

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/prosemirror-collab - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

30

prosemirror-collab/index.d.ts

@@ -29,6 +29,3 @@ // Type definitions for prosemirror-collab 1.1

*/
export function collab(config?: {
version?: number | null;
clientID?: number | string | null;
}): Plugin;
export function collab(config?: { version?: number | null; clientID?: number | string | null }): Plugin;

@@ -51,6 +48,6 @@ /**

export function receiveTransaction<S extends Schema = any>(
state: EditorState<S>,
steps: Array<Step<S>>,
clientIDs: Array<number | string>,
options?: { mapSelectionBackward?: boolean }
state: EditorState<S>,
steps: Array<Step<S>>,
clientIDs: Array<number | string>,
options?: { mapSelectionBackward?: boolean },
): Transaction<S>;

@@ -70,9 +67,12 @@

export function sendableSteps<S extends Schema = any>(
state: EditorState<S>
): {
version: number;
steps: Array<Step<S>>;
clientID: number | string;
origins: Array<Transaction<S>>;
} | null | undefined;
state: EditorState<S>,
):
| {
version: number;
steps: Array<Step<S>>;
clientID: number | string;
origins: Array<Transaction<S>>;
}
| null
| undefined;

@@ -79,0 +79,0 @@ /**

{
"name": "@types/prosemirror-collab",
"version": "1.1.0",
"version": "1.1.1",
"description": "TypeScript definitions for prosemirror-collab",

@@ -46,4 +46,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "a8cdb47af5093e9df612f5d899abb1027f1c1d4f0ec53b6d21d75921f56412cd",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "670e6b4a1f9a2629f8842aca4119f3c97502d78b408d0c21b9ffd622513b6393",
"typeScriptVersion": "3.4"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 21 May 2020 06:14:58 GMT
* Last updated: Mon, 18 Jan 2021 15:07:05 GMT
* Dependencies: [@types/prosemirror-model](https://npmjs.com/package/@types/prosemirror-model), [@types/prosemirror-state](https://npmjs.com/package/@types/prosemirror-state), [@types/prosemirror-transform](https://npmjs.com/package/@types/prosemirror-transform)

@@ -14,0 +14,0 @@ * Global values: none

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