UNPKG

@thirdweb-dev/wallets

Version:

<p align="center"> <br /> <a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <br /> </p> <h1 align="center">thirdweb Wallet SDK</h1> <p align="center"> <a h

21 lines 681 B
export interface AsyncStorage { getItem(key: string): Promise<string | null>; setItem(key: string, value: string): Promise<void>; removeItem(key: string): Promise<void>; } export type CreateAsyncStorage = (name: string) => AsyncStorage; /** * @internal */ export declare class AsyncLocalStorage implements AsyncStorage { name: string; constructor(name: string); getItem(key: string): Promise<string | null>; setItem(key: string, value: string): Promise<void>; removeItem(key: string): Promise<void>; } /** * @internal */ export declare function createAsyncLocalStorage(name: string): AsyncLocalStorage; //# sourceMappingURL=AsyncStorage.d.ts.map