NativeSecureStorage
Defined in: native.ts:25
The native module surface (AnyWalletKitSecureStorage). Keys are opaque here;
slots, ids and policy live in the JS layer. Every method rejects with an
ERR_FW_* code (see errors.ts).
Methods
Section titled “Methods”capabilities()
Section titled “capabilities()”capabilities():
Promise<NativeCapabilities>
Defined in: native.ts:30
Returns
Section titled “Returns”Promise<NativeCapabilities>
deleteItem()
Section titled “deleteItem()”deleteItem(
namespace,key):Promise<void>
Defined in: native.ts:28
Parameters
Section titled “Parameters”namespace
Section titled “namespace”string
string
Returns
Section titled “Returns”Promise<void>
getItem()
Section titled “getItem()”getItem(
namespace,key,prompt):Promise<string|null>
Defined in: native.ts:27
Parameters
Section titled “Parameters”namespace
Section titled “namespace”string
string
prompt
Section titled “prompt”Returns
Section titled “Returns”Promise<string | null>
listItems()
Section titled “listItems()”listItems(
namespace):Promise<NativeEntry[]>
Defined in: native.ts:29
Parameters
Section titled “Parameters”namespace
Section titled “namespace”string
Returns
Section titled “Returns”Promise<NativeEntry[]>
setItem()
Section titled “setItem()”setItem(
namespace,key,value,protection,prompt):Promise<void>
Defined in: native.ts:26
Parameters
Section titled “Parameters”namespace
Section titled “namespace”string
string
string
protection
Section titled “protection”prompt
Section titled “prompt”Returns
Section titled “Returns”Promise<void>