Skip to content
docs

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).

capabilities(): Promise<NativeCapabilities>

Defined in: native.ts:30

Promise<NativeCapabilities>


deleteItem(namespace, key): Promise<void>

Defined in: native.ts:28

string

string

Promise<void>


getItem(namespace, key, prompt): Promise<string | null>

Defined in: native.ts:27

string

string

NativePrompt

Promise<string | null>


listItems(namespace): Promise<NativeEntry[]>

Defined in: native.ts:29

string

Promise<NativeEntry[]>


setItem(namespace, key, value, protection, prompt): Promise<void>

Defined in: native.ts:26

string

string

string

Protection

NativePrompt

Promise<void>