@thirdweb-dev/wallets
Version:
<p align="center"> <br /> <a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <br /> </p> <h1 align="center">thirdweb Wallet SDK</h1> <p align="center"> <a href="ht
15 lines • 639 B
TypeScript
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;
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>;
}
export declare function createAsyncLocalStorage(name: string): AsyncLocalStorage;
//# sourceMappingURL=AsyncStorage.d.ts.map