Optional ReadonlyaccountEmits when the active account changes, so the inbox follows it without waiting for the next call.
Optional ReadonlydiscoveryHow long the library waits for relays to return the account's device
list, as { fetchMs, fastMs }. Defaults to the library's 10 s and 2 s.
ReadonlypoolReadonlyselfThe active account's public key, read on every call.
ReadonlysignerThe active account's signer, read on every call. The only key holder the backend uses.
ReadonlystorageWhere the library's device key and session state are kept, sealed to the account.
Readonlytiers
What the ratchet backend needs: the signer backends' options plus the storage the library's sealed state is kept in.
Example