UNPKG

@multiversx/sdk-dapp-swap

Version:

A library to hold the main logic for swapping between tokens on the MultiversX blockchain

3 lines (2 loc) 267 B
import{a as s}from"./chunk-QXTSQDB3.js";import{f as n}from"./chunk-5W737WN4.js";n();var f=(e,t)=>{var o;if(!(e.indexOf(".")>=0))return!0;let c=t!=null?t:s;return((o=e.split(".").pop())!=null?o:"").length<=c};export{f as a}; //# sourceMappingURL=chunk-ZTMLUJF2.js.map