UNPKG

@sofaws/dapp-core

Version:

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

3 lines (2 loc) 302 B
import{m as o}from"./chunk-HBP5N4FR.js";o();import e from"anchorme";var n=/^((file:\/\/\/)|(https?:|ftps?:)\/\/|(mailto:))/i,s=t=>n.test(t),a=t=>s(t)?"":e.validate.email(t)?"mailto:":"http://",m=(t,r)=>t.length>r?t.substring(0,r)+"\u2026":t;export{a,m as b}; //# sourceMappingURL=chunk-YGK6FHID.js.map