@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
7 lines • 415 B
TypeScript
import type { CryptoCurrency } from "@ledgerhq/types-cryptoassets";
import type { BridgeCacheSystem } from "@ledgerhq/types-live";
export declare function makeBridgeCacheSystem({ saveData, getData, }: {
saveData: (currency: CryptoCurrency, data: unknown) => Promise<void>;
getData: (currency: CryptoCurrency) => Promise<unknown | null | undefined>;
}): BridgeCacheSystem;
//# sourceMappingURL=cache.d.ts.map