@bangle.dev/collab-server
Advanced tools
@@ -7,3 +7,3 @@ /// <reference path="../missing-types.d.ts" /> | ||
import { Manager } from '../manager'; | ||
import { Node } from 'prosemirror-model'; | ||
import { Node } from '@bangle.dev/pm'; | ||
import { sleep } from '../utils'; | ||
@@ -10,0 +10,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { Schema } from 'prosemirror-model'; | ||
import { Step } from 'prosemirror-transform'; | ||
import { Schema, Step } from '@bangle.dev/pm'; | ||
import { CollabError } from './collab-error'; | ||
@@ -4,0 +4,0 @@ import { Instance, StepBigger } from './instance'; |
@@ -1,2 +0,2 @@ | ||
import { Schema } from 'prosemirror-model'; | ||
import { Schema } from '@bangle.dev/pm'; | ||
import { Instance } from './instance'; | ||
@@ -3,0 +3,0 @@ import { GetDocumentRequestParam, GetDocumentResponse, PullEventRequestParam, PullEventResponse, PushEventsRequestParam, PushEventsResponse } from './types'; |
@@ -1,2 +0,2 @@ | ||
import { Step } from 'prosemirror-transform'; | ||
import { Step } from '@bangle.dev/pm'; | ||
import { CollabError } from './collab-error'; | ||
@@ -3,0 +3,0 @@ import { raceTimeout } from './utils'; |
@@ -1,3 +0,2 @@ | ||
import { Node, Schema } from 'prosemirror-model'; | ||
import { Step } from 'prosemirror-transform'; | ||
import { Node, Schema, Step } from '@bangle.dev/pm'; | ||
interface Waiter { | ||
@@ -4,0 +3,0 @@ userId: string; |
import { Instance } from './instance'; | ||
import { Schema } from 'prosemirror-model'; | ||
import { Schema } from '@bangle.dev/pm'; | ||
import { CollabRequestHandler } from './collab-request-handler'; | ||
@@ -4,0 +4,0 @@ import { CollabResponse, CollabRequestType } from './types'; |
@@ -1,3 +0,3 @@ | ||
import { Node, Schema } from 'prosemirror-model'; | ||
import { Step, StepMap } from 'prosemirror-transform'; | ||
import { Node, Schema, Step, StepMap } from '@bangle.dev/pm'; | ||
import { CollabError } from './collab-error'; | ||
@@ -4,0 +4,0 @@ |
import { serialExecuteQueue, uuid } from './utils'; | ||
import { Instance } from './instance'; | ||
import { Schema, Node } from 'prosemirror-model'; | ||
import { Schema, Node } from '@bangle.dev/pm'; | ||
import { CollabRequestHandler } from './collab-request-handler'; | ||
@@ -5,0 +5,0 @@ import { CollabResponse, CollabRequestType } from './types'; |
{ | ||
"name": "@bangle.dev/collab-server", | ||
"version": "0.23.1", | ||
"version": "0.24.0-alpha.1", | ||
"homepage": "https://bangle.dev", | ||
@@ -23,2 +23,8 @@ "authors": [ | ||
"types": "dist/index.d.ts", | ||
"publishConfig": { | ||
"access": "public", | ||
"main": "dist/index.js", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts" | ||
}, | ||
"scripts": { | ||
@@ -32,16 +38,11 @@ "compile-ts": "yarn g:tsc --build $INIT_CWD", | ||
"@types/node": "^15.12.2", | ||
"@types/prosemirror-model": "^1.13.1", | ||
"@types/prosemirror-transform": "^1.1.4" | ||
"@types/prosemirror-collab": "^1.1.2" | ||
}, | ||
"dependencies": { | ||
"@bangle.dev/core": "0.23.1", | ||
"@bangle.dev/disk": "0.23.1", | ||
"@bangle.dev/core": "0.24.0-alpha.1", | ||
"@bangle.dev/disk": "0.24.0-alpha.1", | ||
"@bangle.dev/pm": "0.5.0", | ||
"localforage": "^1.9.0", | ||
"prosemirror-collab": "^1.2.2", | ||
"prosemirror-model": "^1.14.2", | ||
"prosemirror-transform": "^1.3.2" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
"prosemirror-collab": "^1.2.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
5
-16.67%3
-25%138936
-55.49%45
-2.17%2104
-0.14%1
Infinity%