LocalStoragePersistence
Class: LocalStoragePersistence
Implements
Constructors
constructor
new LocalStoragePersistence()
Defined in
keystore/persistence/LocalStoragePersistence.ts:6
Properties
storage
storage: Storage
Defined in
keystore/persistence/LocalStoragePersistence.ts:5
Methods
getItem
getItem(key
): Promise
<null
| Uint8Array
>
Parameters
Name | Type |
---|---|
key | string |
Returns
Promise
<null
| Uint8Array
>
Implementation of
Defined in
keystore/persistence/LocalStoragePersistence.ts:13
setItem
setItem(key
, value
): Promise
<void
>
Parameters
Name | Type |
---|---|
key | string |
value | Uint8Array |
Returns
Promise
<void
>