UNPKG

@reown/appkit-ui

Version:

The full stack toolkit to build onchain app UX.

22 lines 451 B
export class CacheUtil { constructor() { this.cache = new Map(); } set(key, value) { this.cache.set(key, value); } get(key) { return this.cache.get(key); } has(key) { return this.cache.has(key); } delete(key) { this.cache.delete(key); } clear() { this.cache.clear(); } } export const globalSvgCache = new CacheUtil(); //# sourceMappingURL=CacheUtil.js.map