@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
3 lines (2 loc) • 583 B
JavaScript
import{a as r}from"./chunk-UB233QTH.js";import{a as c}from"./chunk-SIAIYQNL.js";import{b as o,c as i}from"./chunk-JXBPRUT3.js";import{k as g}from"./chunk-P6M5SGWP.js";import{m as e}from"./chunk-HBP5N4FR.js";e();c();g();function C({results:t,hash:m,sessionId:s}){let a=t==null?void 0:t.find(n=>(n==null?void 0:n.returnMessage)!=="");r.dispatch(o({transactionHash:m,sessionId:s,status:"fail",errorMessage:a==null?void 0:a.returnMessage})),r.dispatch(i({sessionId:s,status:"fail",errorMessage:a==null?void 0:a.returnMessage}))}export{C as a};
//# sourceMappingURL=chunk-EVLG6MPD.js.map