@fuel-ts/account .LocalStorage
• new LocalStorage(localStorage
): LocalStorage
Name | Type |
---|---|
localStorage | Storage |
packages/account/src/connectors/types/local-storage.ts:7
• Private
storage: Storage
packages/account/src/connectors/types/local-storage.ts:5
▸ clear(): Promise
<void
>
Promise
<void
>
packages/account/src/connectors/types/local-storage.ts:23
▸ getItem(key
): Promise
<undefined
| null
| string
>
Name | Type |
---|---|
key | string |
Promise
<undefined
| null
| string
>
packages/account/src/connectors/types/local-storage.ts:15
▸ removeItem(key
): Promise
<void
>
Name | Type |
---|---|
key | string |
Promise
<void
>
packages/account/src/connectors/types/local-storage.ts:19
▸ setItem(key
, value
): Promise
<void
>
Name | Type |
---|---|
key | string |
value | string |
Promise
<void
>