UNPKG

@sofaws/dapp-core

Version:

A library to hold the main logic for a dapp on the Elrond Network

3 lines (2 loc) 415 B
import{a as i}from"./chunk-X4D2VPRA.js";import{d as e}from"./chunk-FC3CZOOQ.js";import{j as n,m as c}from"./chunk-HBP5N4FR.js";c();import p from"axios";function l(r){return n(this,null,function*(){if(!r)return null;let o=`${i()}/${e}/${r}`;try{let{data:t}=yield p.get(o);return t}catch(t){console.error("error fetching configuration for ",o)}return null})}export{l as a}; //# sourceMappingURL=chunk-DUA7FAPY.js.map