Interface MobileConnectionStorage

A storage interface for persisting mobile wallet connection data. Supports both synchronous and asynchronous implementations. Defaults to localStorage in browser environments.

Implement this interface to provide custom storage (e.g. sessionStorage, React Native AsyncStorage, IndexedDB, etc.)

interface MobileConnectionStorage {
    getItem(key: string): string | Promise<string>;
    removeItem(key: string): void | Promise<void>;
    setItem(key: string, value: string): void | Promise<void>;
}

Methods