UNPKG

@opendatalabs/vana-sdk

Version:

A TypeScript library for interacting with Vana Network smart contracts.

14 lines 296 B
function lazyImport(importFn) { let cached = null; return () => { cached ??= importFn().catch((err) => { cached = null; throw new Error("Failed to load module", { cause: err }); }); return cached; }; } export { lazyImport }; //# sourceMappingURL=lazy-import.js.map