UNPKG

@leapwallet/embedded-wallet-sdk-react

Version:

A react library for integrating metamask snaps on a cosmos dApp

9 lines (8 loc) 340 B
import { Token } from "typedi"; export interface Persistence { getItem(key: string): string | null; setItem(key: string, value: string): void; clear(): void; } /** Never use {@link localStorage} directly. Use it through the {@link Container} via this {@link Token}. */ export declare const persistenceToken: Token<Persistence>;