function cookieStorage(config?): Storage;Defined in: account-kit/core/src/utils/cookies.ts:20
Function to create cookie based Storage
| Parameter | Type | Description |
|---|---|---|
| { | optional config object |
|
| optional domain to set the cookie on, eg: |
|
| Deprecated this option is deprecated and will be ignored |
Storage
an instance of a browser storage object that leverages cookies