@blocksuite/store
Advanced tools
Comparing version
import type * as Y from 'yjs'; | ||
import { WebrtcProvider } from 'y-webrtc'; | ||
import { IndexeddbPersistence } from './providers/indexdb.js'; | ||
import { IndexeddbPersistence } from 'y-indexeddb'; | ||
import type { Awareness } from 'y-protocols/awareness'; | ||
@@ -5,0 +5,0 @@ /** |
// @ts-ignore | ||
import { WebrtcProvider } from 'y-webrtc'; | ||
import { IndexeddbPersistence } from './providers/indexdb.js'; | ||
import { IndexeddbPersistence } from 'y-indexeddb'; | ||
// When using playground from blocksuite repo, this comes from "serve" script in "@blocksuite/store" package. | ||
@@ -5,0 +5,0 @@ // We use our own sync server because a local service for sync makes everything much faster for dev. |
{ | ||
"name": "@blocksuite/store", | ||
"version": "0.3.0-20221224044805-a700371", | ||
"version": "0.3.0-20221224061623-e226fed", | ||
"description": "BlockSuite data store built for general purpose state management.", | ||
@@ -18,10 +18,14 @@ "main": "dist/index.js", | ||
"lib0": "^0.2.52", | ||
"y-indexeddb": "^9.0.9", | ||
"y-protocols": "^1.0.5", | ||
"y-webrtc": "^10.2.3", | ||
"yjs": "^13.5.41" | ||
"y-webrtc": "^10.2.3" | ||
}, | ||
"devDependencies": { | ||
"cross-env": "^7.0.3", | ||
"lit": "^2.3.1" | ||
"lit": "^2.3.1", | ||
"yjs": "^13.5.43" | ||
}, | ||
"peerDependencies": { | ||
"yjs": "^13" | ||
}, | ||
"exports": { | ||
@@ -28,0 +32,0 @@ "./src/*": "./dist/*.js", |
import type * as Y from 'yjs'; | ||
// @ts-ignore | ||
import { WebrtcProvider } from 'y-webrtc'; | ||
import { IndexeddbPersistence } from './providers/indexdb.js'; | ||
import { IndexeddbPersistence } from 'y-indexeddb'; | ||
import type { Awareness } from 'y-protocols/awareness'; | ||
@@ -6,0 +6,0 @@ |
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
383311
-4.45%11
10%3
50%142
-3.4%6331
-5.13%+ Added
+ Added
- Removed