@dzapio/sdk
Version:
A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.
11 lines (10 loc) • 342 B
TypeScript
export declare class CacheProvider {
private static _instance;
private readonly client;
private constructor();
static get instance(): CacheProvider;
static set<T>(key: string, value: T, ttl?: number): void;
static get<T>(key: string): T | undefined;
static delete(key: string): number;
static flush(): void;
}