@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
3 lines (2 loc) • 453 B
JavaScript
import{a as f}from"./chunk-X4D2VPRA.js";import{b as e}from"./chunk-FC3CZOOQ.js";import{j as t,m as n}from"./chunk-HBP5N4FR.js";n();import c from"axios";function A(){return t(this,null,function*(){var i;let o=`${f()}/${e}`;try{let{data:r}=yield c.get(o);if(r!=null)return(i=r==null?void 0:r.data)==null?void 0:i.config}catch(r){console.error("error fetching configuration for ",o)}return null})}export{A as a};
//# sourceMappingURL=chunk-ULAJMRI3.js.map