@umbra-privacy/store-web
v0.1.1
Published
Persistent storage for a browser wallet: a record store for small structured values and a blob store for large binary ones, over IndexedDB. Data and free functions, no classes. Pre-release (0.x): every API, type and behaviour is subject to change at any t
Readme
@umbra-privacy/store-web
Persistent storage for a browser wallet over IndexedDB: a record store for small structured values and a blob store for large binary ones, plus an ordered key-value store.
Most apps don't install it directly. It is a storage engine of @umbra-privacy/nimbus-solana-web, which installs it for you.
Pre-release (0.x): every API, type and behaviour is subject to change at any time, as and when the Nimbus Privacy team (built by Umbra Privacy) decides or requires.
Install
pnpm add @umbra-privacy/store-webEntry points
@umbra-privacy/store-web: The shared contract: store errors and capabilities, key encoding and blob pruning.@umbra-privacy/store-web/database: Opens the wallet's IndexedDB database at its current schema version.@umbra-privacy/store-web/indexed-db: The blob and record stores over IndexedDB.@umbra-privacy/store-web/ordered: The ordered key-value store over IndexedDB: get, put, remove, batch, scan and count.@umbra-privacy/store-web/environment: Detects whether IndexedDB is available.@umbra-privacy/store-web/testing: In-memory stores and fixtures for tests.@umbra-privacy/store-web/types: The interfaces and type aliases of the entries above.@umbra-privacy/store-web/core/types: The interfaces and type aliases of the shared contract.@umbra-privacy/store-web/testing/types: The interfaces and type aliases of./testing.
License
Apache-2.0
Nimbus Privacy (built by Umbra Privacy)
