UNPKG

@quirks/core

Version:
2 lines (1 loc) 398 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index13.cjs"),l=(e,n)=>{if(typeof window<"u"&&t.isMobile()){let o=`${e.android}${n??""}`;t.isiOS()&&(o=`${e.ios}${n??""}`),window.location.href=o}},p=(e,n=l,o)=>{const i=e;i.options.connection_type==="wallet_connect"&&i.deeplinks&&n(o??i.deeplinks)};exports.openDeeplink=l;exports.openWCDeeplink=p;