@arkade-os/sdk
Version:
Bitcoin wallet SDK with Taproot and Ark integration
13 lines (12 loc) • 427 B
TypeScript
import type { StorageAdapter } from "./index";
export declare class IndexedDBStorageAdapter implements StorageAdapter {
private dbName;
private version;
private db;
constructor(dbName: string, version?: number);
private getDB;
getItem(key: string): Promise<string | null>;
setItem(key: string, value: string): Promise<void>;
removeItem(key: string): Promise<void>;
clear(): Promise<void>;
}