@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
4 lines (3 loc) • 444 B
JavaScript
import{a as t}from"./chunk-JIZSFZZ3.js";import{a as i}from"./chunk-6WW3A7FF.js";import{m as o}from"./chunk-HBP5N4FR.js";o();var l=!1,s=e=>{l||(console.error(`Operations field missing for txHash: ${e}.
Unable to compute value field.`),l=!0)};function u(e){try{if(e.operations){let[r]=i(e);return t(r==null?void 0:r.value)}else s(e.txHash)}catch(r){s(e.txHash)}return t(e.value)}export{u as a};
//# sourceMappingURL=chunk-J4LCLE7D.js.map