@blocksuite/store
Advanced tools
Comparing version 0.3.0-20221221054016-12522fa to 0.3.0-20221221064254-e3ebf2f
@@ -6,3 +6,3 @@ import { createStore, del, get, keys, set, clear } from 'idb-keyval'; | ||
const buffer = Buffer.from(hash); | ||
return buffer.toString('base64url'); | ||
return buffer.toString('base64').replace(/\+/g, '-').replace(/\//g, '_'); | ||
} | ||
@@ -9,0 +9,0 @@ export function getDatabase(type, database) { |
@@ -51,2 +51,3 @@ import * as Y from 'yjs'; | ||
export declare class Workspace { | ||
static Y: typeof Y; | ||
private _store; | ||
@@ -53,0 +54,0 @@ private _indexer; |
@@ -253,2 +253,3 @@ import * as Y from 'yjs'; | ||
} | ||
Workspace.Y = Y; | ||
//# sourceMappingURL=workspace.js.map |
{ | ||
"name": "@blocksuite/store", | ||
"version": "0.3.0-20221221054016-12522fa", | ||
"version": "0.3.0-20221221064254-e3ebf2f", | ||
"description": "BlockSuite data store built for general purpose state management.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -9,3 +9,3 @@ import { createStore, del, get, keys, set, clear } from 'idb-keyval'; | ||
return buffer.toString('base64url'); | ||
return buffer.toString('base64').replace(/\+/g, '-').replace(/\//g, '_'); | ||
} | ||
@@ -12,0 +12,0 @@ |
@@ -205,2 +205,4 @@ import * as Y from 'yjs'; | ||
export class Workspace { | ||
static Y = Y; | ||
private _store: Store; | ||
@@ -207,0 +209,0 @@ private _indexer: Indexer; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
382950
6320