@mikebryant/earthstar@11.0.0-beta.3+hack5
Stores sensitive credentials like share and identity keypairs and capabilities in local storage. Encrypts and decrypts contents using a plaintext password.
- addCapPack
- addIdentityKeypair
- addShareKeypair
- allAuthorisedShares
- checkIdentityKeypairIsValid
- checkShareKeypairIsValid
- createFullCapPack
- createIdentityKeypair
- createShareKeypair
- decrypt
- delegateCapPack
- encrypt
- encryptionKey
- getWriteAuthorisation
- identityKeypair
- identityKeypairs
- interestsFromCaps
- isValidCapPack
- kvDriver
- meadowcap
- readCapPacks
- ready
- reset
- runtimeDriver
- shareKeypair
- shareKeypairs
- writeCapPacks
A BLAKE3 digest created by a Blake3Driver.
A driver capable of creating Blake3Digest from bytes.
An unforgeable token bestowing read or write access to a share.
Generic top-level error class that other Earthstar errors inherit from.
A driver capabile of generating ed25199 keypairs and using them to sign and verify data.
An identity's public key encoded in a more human-friendly form.
Check if any value is a subclass of EarthstarError (return true) or not (return false)
Check if any value is a subclass of EarthstarError (return false) or not (return true)
Stores and generates keypairs and capabilities and exposes access to Stores and Caps based on those.
Instructs Earthstar how to perform ed25519 and BLAKE3 operations on differing runtimes.
Emitted after an attempt to set a document.
Provides a Peer with methods for persisting authorisation data (keypairs, caps), as well as Share data for its Stores.
A StorageDriver for persisting keypairs, caps, entries, and payloads in memory.
A store for reading, writing, and querying documents from a corresponding share.
Options for configuring the drivers used by a Store.
Options for instantiating a Syncer.
Sync two Peer instances in the same process using an in-memory transport.
A mapping of ReadAuthorisation to AreaOfInterests permitted by that authorisation.
A transport for exchanging bytes with another peer.
Validation failed on a document, share address, author address, etc.
browser
Modules for using Earthstar in browsers, e.g. persisting data to IndexedDB.
A StorageDriver for persisting keypairs, caps, entries, and payloads in IndexedDB.
deno
Modules for using Earthstar on the Deno runtime, e.g. persisting data to the filesystem.
Extends a server so that it can receive requests to sync over Websockets.