UNPKG

@sofaws/dapp-core

Version:

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

3 lines (2 loc) 391 B
import{b as t,c as O}from"./chunk-WUCJ5FDJ.js";import{e as s,m as o}from"./chunk-HBP5N4FR.js";function g({callbackRoute:e,onLoginRedirect:i,options:r}){let p=Boolean(e),n=typeof i=="function",d=n?0:f;p&&e!=null&&setTimeout(()=>{if(n)return i(e,r);window.location.pathname.includes(e)||t(e)},d)}var f,T=s(()=>{o();O();f=200});export{g as a,T as b}; //# sourceMappingURL=chunk-G7CLUFEM.js.map