minca
ApiCoreFunctions

Function: createBrowserAccountStore()

function createBrowserAccountStore(dbName?): Promise<AccountStore>;

Defined in: packages/core/src/identity/account-store.ts:283

Opens the accounts kept in this browser, for when there is no folder.

Same shape as a folder store, so nothing above has to know which it got — the difference is only that no other origin can read this one.

Parameters

ParameterTypeDefault valueDescription
dbName?stringDB_NAMEOverridable for tests

Returns

Promise<AccountStore>

On this page