@dcl/auth-site 4.8.1-21486942800.commit-7e2bd8e → 4.9.1-21515381070.commit-0e2abc6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{ConstantsUtil-EKIiqWRM.js → ConstantsUtil-zQkWnxC4.js} +1 -1
- package/assets/ContentfulRichText-C5U4FIrW.js +2 -0
- package/assets/{ExchangeController-9_iuQD3n.js → ExchangeController-D9XsD84D.js} +1 -1
- package/assets/{HelpersUtil-ErMwdjQ_.js → HelpersUtil-BTl_JllN.js} +1 -1
- package/assets/{NetworkUtil-DLuyNPkI.js → NetworkUtil-Bppu7hqz.js} +1 -1
- package/assets/{SwapController-CT7k5aNu.js → SwapController-CgLuVkpp.js} +1 -1
- package/assets/{biconomy-CgbztfS_.js → biconomy-D4AEGsda.js} +1 -1
- package/assets/{ccip-DDG-75Mh.js → ccip-BUPHbq_V.js} +1 -1
- package/assets/{data-capture-BRQQrfdG.js → data-capture-CKyMq4EK.js} +1 -1
- package/assets/{email-Dq-tstfP.js → email-ZH_fVz-D.js} +1 -1
- package/assets/{embedded-wallet-q3FmTGGK.js → embedded-wallet-BhrIqHC4.js} +1 -1
- package/assets/{engine-CSEmw8Ef.js → engine-B7Ti9W6T.js} +1 -1
- package/assets/{extractIPFS-BGse4Z_j.js → extractIPFS-6k-l3wtv.js} +1 -1
- package/assets/{features-CU9CsegM.js → features-BmRqsCSh.js} +1 -1
- package/assets/{fortmatic-BBk2-Fz1.js → fortmatic-Cc13sOZ_.js} +1 -1
- package/assets/{getInstalledModules-Diz7w8De.js → getInstalledModules-hVwoJg0N.js} +1 -1
- package/assets/{if-defined-Cg_1LstO.js → if-defined-BqfEZmLw.js} +1 -1
- package/assets/{in-app-wallet-calls-isUdFPHF.js → in-app-wallet-calls-ro13O8UC.js} +1 -1
- package/assets/{index-D_D66ZP_.js → index-B-WOdWyx.js} +1 -1
- package/assets/{index-Coxel8ZH.js → index-B1xWTE5L.js} +1 -1
- package/assets/{index-4orTczVC.js → index-B5gsx6xM.js} +1 -1
- package/assets/{index-BvzQpBTj.js → index-B8hHUr83.js} +1 -1
- package/assets/{index-CVCYOboT.css → index-BB0s-veM.css} +1 -1
- package/assets/{index-B4HsxTad.js → index-BEQv_wK5.js} +1 -1
- package/assets/{index-DBjGzlqg.js → index-BNzb8EzD.js} +3 -3
- package/assets/{index-2vxSyQnM.js → index-BQc-JAah.js} +1 -1
- package/assets/{index-B-FDsz8U.js → index-BYFgDna6.js} +1 -1
- package/assets/{index-C-zdaW-s.js → index-B_JmDPH-.js} +1 -1
- package/assets/{index-Die-wOJq.js → index-B_k0VzvK.js} +1 -1
- package/assets/{index-CDZYHF46.js → index-BcJlTgJl.js} +1 -1
- package/assets/{index-Bbyqf4l7.js → index-BkFkDmUa.js} +4 -4
- package/assets/{index-BhqjWJdQ.js → index-Byi-XY3I.js} +1 -1
- package/assets/{index-CvmFwrnb.js → index-CArp-GKS.js} +1 -1
- package/assets/{index-Ds9OKDoY.js → index-CDKyteH4.js} +1 -1
- package/assets/{index-Cmb8JO-r.js → index-CLC6qU2v.js} +1 -1
- package/assets/{index-KR__3nV4.js → index-CPPauAAu.js} +1 -1
- package/assets/{index-3RZWLLLK.js → index-CYyYH0y6.js} +1 -1
- package/assets/{index-DLv0TbSW.js → index-C_XtCudp.js} +1 -1
- package/assets/{index-fHb_dPj4.js → index-CdP2j524.js} +1 -1
- package/assets/{index-C-aQf7lX.js → index-CecExfE_.js} +1 -1
- package/assets/{index-DI_ZghS8.js → index-Cq5SzH_l.js} +1 -1
- package/assets/{index-D_cpoRfF.js → index-D3qudVRg.js} +1 -1
- package/assets/{index-CjkDqLE7.js → index-DAuKQb0F.js} +1 -1
- package/assets/{index-DGPRYqgE.js → index-DB6fcXYk.js} +1 -1
- package/assets/{index-CSlBpAMh.js → index-DD-nEc5n.js} +1 -1
- package/assets/{index-DVzMvJxq.js → index-DIYSHN4s.js} +1 -1
- package/assets/{index-CbklDA35.js → index-DK7xugg0.js} +1 -1
- package/assets/{index-B0fGKi7D.js → index-DRp92_3u.js} +1 -1
- package/assets/{index-aqXl-yCp.js → index-DZ5ZtdKk.js} +1 -1
- package/assets/{index-BwvrXbNJ.js → index-D_0lpU4x.js} +1 -1
- package/assets/{index-b1q6Xp4y.js → index-Dh9S40Wp.js} +1 -1
- package/assets/{index-8Lcm_8Dc.js → index-DlF4Y1GG.js} +1 -1
- package/assets/{index-Cwc8p3cr.js → index-DmD04NOj.js} +2 -2
- package/assets/{index-1JPT0iwK.js → index-DqyHgM6w.js} +1 -1
- package/assets/{index-UOLEcZRE.js → index-Dv4puTXq.js} +9 -9
- package/assets/{index-D14jxm0G.js → index-EXyjaCeW.js} +1 -1
- package/assets/{index-DAjwJKQK.js → index-FGzTzmBw.js} +1 -1
- package/assets/{index-CgT20vdV.js → index-GmPuP9pB.js} +1 -1
- package/assets/{index-CUs63xDc.js → index-PUvCAy0J.js} +1 -1
- package/assets/{index-BSWxz9zA.js → index-_OG6gpRL.js} +1 -1
- package/assets/{index-DC4-dwiK.js → index-yeZjIgvT.js} +1 -1
- package/assets/{networks-Cpdq1OgH.js → networks-DLiLXa5Z.js} +1 -1
- package/assets/{onramp-CyllACLP.js → onramp-CYAChhC1.js} +1 -1
- package/assets/{openzeppelin-CpyQ_uzs.js → openzeppelin-BK0uG8C4.js} +1 -1
- package/assets/{parse-typed-data-Bfcz5teT.js → parse-typed-data-D7UyJcbm.js} +1 -1
- package/assets/{passkeys-DXMWwQ1_.js → passkeys-CKrRbys5.js} +1 -1
- package/assets/{pay-with-exchange-lfc1XAA-.js → pay-with-exchange-CHZvFHRe.js} +1 -1
- package/assets/{receive-BukbqMdm.js → receive-B916gaaF.js} +1 -1
- package/assets/{ref-BuOJgpCZ.js → ref-DC8Xeo7Z.js} +1 -1
- package/assets/{resolveImplementation-Ch0wm1cl.js → resolveImplementation-BUCE_oyN.js} +1 -1
- package/assets/{rich-text-react-renderer.es5-BBQi777o.js → rich-text-react-renderer.es5--pOlxp1t.js} +1 -1
- package/assets/{secp256k1-tmfeYp_r.js → secp256k1-B1SXv58z.js} +1 -1
- package/assets/{send-DlTGaSse.js → send-DnxMCbAX.js} +1 -1
- package/assets/{send-eip712-transaction-D-XPPzNR.js → send-eip712-transaction-Dmp7-D7U.js} +1 -1
- package/assets/{send-gasless-transaction-7qwwiYKC.js → send-gasless-transaction-BDrh39e2.js} +2 -2
- package/assets/{socials-ByU-oB7f.js → socials-CNjxDLsX.js} +1 -1
- package/assets/{swaps-nj27VPMM.js → swaps-DzWFyeHb.js} +1 -1
- package/assets/{thirdweb-CDxL4yE8.js → thirdweb-BKrgR-wj.js} +3 -3
- package/assets/{transactions-CKzFI4q-.js → transactions-ueNvJolS.js} +1 -1
- package/assets/{ui-R7uOTq6G.css → ui-CklGyFVO.css} +3 -3
- package/assets/{ui-BO05-96z.js → ui-DkoPs7Qj.js} +49 -49
- package/assets/{vendor-BxXWGcRR.js → vendor-CDkmG7r6.js} +1 -1
- package/assets/{verifyHash-BNj4RX2q.js → verifyHash-0Yo1-CJS.js} +3 -3
- package/assets/{w3m-modal-DjyNNtJU.js → w3m-modal-D9A3Z8EH.js} +1 -1
- package/assets/{web-connector-Bwb--TlN.js → web-connector-CCn_yiS4.js} +3 -3
- package/index.html +6 -6
- package/package.json +3 -3
- package/assets/ContentfulRichText-nJ8jjseC.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as A,l as O,m as c,r as B,C as R,a4 as m,a as j,R as Y,O as G,E as V,q as W,W as H}from"./index-
|
|
1
|
+
import{j as A,l as O,m as c,r as B,C as R,a4 as m,a as j,R as Y,O as G,E as V,q as W,W as H}from"./index-BkFkDmUa.js";import{U as q,n as d,r as T,c as _}from"./index-B-WOdWyx.js";import{g as N}from"./thirdweb-BKrgR-wj.js";import{r as K,a as J,b as Q}from"./ui-DkoPs7Qj.js";import"./index-D_0lpU4x.js";import"./index-PUvCAy0J.js";import{o as X}from"./if-defined-BqfEZmLw.js";import"./index-DB6fcXYk.js";import"./index-CdP2j524.js";var Z=K();const I=N(Z);var ee=J();const te=N(ee);var ie=Q();const re=N(ie);var S={exports:{}},ne=S.exports,M;function oe(){return M||(M=1,(function(e,t){(function(i,r){e.exports=r()})(ne,(function(){return function(i,r,o){o.updateLocale=function(n,a){var s=o.Ls[n];if(s)return(a?Object.keys(a):[]).forEach((function(l){s[l]=a[l]})),s}}}))})(S)),S.exports}var ae=oe();const se=N(ae);I.extend(re);I.extend(se);const le={...te,name:"en-web3-modal",relativeTime:{future:"in %s",past:"%s ago",s:"%d sec",m:"1 min",mm:"%d min",h:"1 hr",hh:"%d hrs",d:"1 d",dd:"%d d",M:"1 mo",MM:"%d mo",y:"1 yr",yy:"%d yr"}},ce=["January","February","March","April","May","June","July","August","September","October","November","December"];I.locale("en-web3-modal",le);const z={getMonthNameByIndex(e){return ce[e]},getYear(e=new Date().toISOString()){return I(e).year()},getRelativeDateFromNow(e){return I(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return I(e).format(t)}},ue=3,F=.1,de=["receive","deposit","borrow","claim"],pe=["withdraw","repay","burn"],$={getTransactionGroupTitle(e,t){const i=z.getYear(),r=z.getMonthNameByIndex(t);return e===i?r:`${r} ${e}`},getTransactionImages(e){const[t]=e;return(e==null?void 0:e.length)>1?e.map(r=>this.getTransactionImage(r)):[this.getTransactionImage(t)]},getTransactionImage(e){return{type:$.getTransactionTransferTokenType(e),url:$.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,a,s,l;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(a=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:a.url:e&&r&&(t=(l=(s=e==null?void 0:e.fungible_info)==null?void 0:s.icon)==null?void 0:l.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var k;const i=(k=e==null?void 0:e.metadata)==null?void 0:k.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,a=o&&r.every(v=>!!(v!=null&&v.fungible_info)),[s,l]=r||[];let u=this.getTransferDescription(s),p=this.getTransferDescription(l);if(!o)return(i==="send"||i==="receive")&&a?(u=q.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),p=q.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[u,p]):[e.metadata.status];if(n)return r==null?void 0:r.map(v=>this.getTransferDescription(v));let D="";return de.includes(i)?D="+":pe.includes(i)&&(D="-"),u=D.concat(u),[u]},getTransferDescription(e){var i;let t="";return e&&(e!=null&&e.nft_info?t=((i=e==null?void 0:e.nft_info)==null?void 0:i.name)||"-":e!=null&&e.fungible_info&&(t=this.getFungibleTransferDescription(e)||"-")),t},getFungibleTransferDescription(e){var r;return e?[this.getQuantityFixedValue(e==null?void 0:e.quantity.numeric),(r=e==null?void 0:e.fungible_info)==null?void 0:r.symbol].join(" ").trim():null},mergeTransfers(e){if((e==null?void 0:e.length)<=1)return e;const i=this.filterGasFeeTransfers(e).reduce((o,n)=>{var l;const a=(l=n==null?void 0:n.fungible_info)==null?void 0:l.name,s=o.find(({fungible_info:u,direction:p})=>a&&a===(u==null?void 0:u.name)&&p===n.direction);if(s){const u=Number(s.quantity.numeric)+Number(n.quantity.numeric);s.quantity.numeric=u.toString(),s.value=(s.value||0)+(n.value||0)}else o.push(n);return o},[]);let r=i;return i.length>2&&(r=i.sort((o,n)=>(n.value||0)-(o.value||0)).slice(0,2)),r=r.sort((o,n)=>o.direction==="out"&&n.direction==="in"?-1:o.direction==="in"&&n.direction==="out"?1:0),r},filterGasFeeTransfers(e){const t=e==null?void 0:e.reduce((r,o)=>{var a;const n=(a=o==null?void 0:o.fungible_info)==null?void 0:a.name;return n&&(r[n]||(r[n]=[]),r[n].push(o)),r},{}),i=[];return Object.values(t??{}).forEach(r=>{if(r.length===1){const o=r[0];o&&i.push(o)}else{const o=r.filter(a=>a.direction==="in"),n=r.filter(a=>a.direction==="out");if(o.length===1&&n.length===1){const a=o[0],s=n[0];let l=!1;if(a&&s){const u=Number(a.quantity.numeric),p=Number(s.quantity.numeric);p<u*F?(i.push(a),l=!0):u<p*F&&(i.push(s),l=!0)}l||i.push(...r)}else{const a=this.filterGasFeesFromTokenGroup(r);i.push(...a)}}}),e==null||e.forEach(r=>{var o;(o=r==null?void 0:r.fungible_info)!=null&&o.name||i.push(r)}),i},filterGasFeesFromTokenGroup(e){if(e.length<=1)return e;const t=e==null?void 0:e.map(s=>Number(s.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(l=>Number(l.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(s=>s.direction==="in"),a=e==null?void 0:e.filter(s=>s.direction==="out");if(n.length===1&&a.length===1){const s=n[0],l=a[0];if(s&&l){const u=Number(s.quantity.numeric),p=Number(l.quantity.numeric);if(p<u*F)return[s];if(u<p*F)return[l]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(ue):null}};var E;(function(e){e.approve="approved",e.bought="bought",e.borrow="borrowed",e.burn="burnt",e.cancel="canceled",e.claim="claimed",e.deploy="deployed",e.deposit="deposited",e.execute="executed",e.mint="minted",e.receive="received",e.repay="repaid",e.send="sent",e.sell="sold",e.stake="staked",e.trade="swapped",e.unstake="unstaked",e.withdraw="withdrawn"})(E||(E={}));const me=A`
|
|
2
2
|
:host > wui-flex {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{D as t,n as d,r as p,l as n,m as w}from"./index-
|
|
1
|
+
import{D as t,n as d,r as p,l as n,m as w}from"./index-BkFkDmUa.js";import{n as f,c as k,a as v}from"./index-B-WOdWyx.js";const g=t`<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<rect width="64" height="64" fill="#F7931A"/>
|
|
3
3
|
<g clip-path="url(#clip0_1045_17)">
|
|
4
4
|
<path d="M63.0394 39.7409C58.7654 56.8839 41.4024 67.3169 24.2574 63.0419C7.11937 58.7679 -3.31363 41.4039 0.962367 24.2619C5.23437 7.11686 22.5974 -3.31714 39.7374 0.956863C56.8814 5.23086 67.3134 22.5969 63.0394 39.7409Z" fill="#F7931A"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as l,E as g,R as h,y as m,S as w,a as c,F as E,G as _,j as y,r as b,l as C,m as v,k as R}from"./index-
|
|
1
|
+
import{C as l,E as g,R as h,y as m,S as w,a as c,F as E,G as _,j as y,r as b,l as C,m as v,k as R}from"./index-BkFkDmUa.js";import{C as O}from"./NetworkUtil-Bppu7hqz.js";import{n as d,c as S}from"./index-B-WOdWyx.js";import{o as $}from"./if-defined-BqfEZmLw.js";function I(){try{return c.returnOpenHref(`${O.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function L(){h.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=l.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();l.setAccountProp("farcasterUrl",t,l.state.activeChain)}catch(t){h.goBack(),w.showError(t)}}}async function T(e){h.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const i=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(c.isTelegram()||(t=I()),t)l.setAccountProp("socialWindow",E(t),l.state.activeChain);else if(!c.isTelegram())throw new Error("Could not create social popup");const{uri:n}=await o.provider.getSocialRedirectUri({provider:e});if(!n)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=n),c.isTelegram()){_.setTelegramSocialProvider(e);const r=c.formatTelegramSocialLoginUrl(n);c.openHref(r,"_top")}clearTimeout(i)}}catch(i){t==null||t.close();const n=c.parseError(i);w.showError(n),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:n}})}}async function G(e){l.setAccountProp("socialProvider",e,l.state.activeChain),g.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await L():await T(e)}const U=y`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as v,r as _,k as T,l as f,m as l,C as d,O as m,a1 as ke,z as S,a as y,M as P,n as te,E as C,G as ge,y as b,R as h,d as D,S as A,o as x,q as Me,W as Ve,ak as Qt,al as we,am as J,U as qi,L as I,an as nt,u as Ti,Q as Gi,P as Xi,K as Yi,T as bt,a2 as Jt,a3 as Zt,ao as Qi,a5 as zt,ap as Ji}from"./index-
|
|
1
|
+
import{j as v,r as _,k as T,l as f,m as l,C as d,O as m,a1 as ke,z as S,a as y,M as P,n as te,E as C,G as ge,y as b,R as h,d as D,S as A,o as x,q as Me,W as Ve,ak as Qt,al as we,am as J,U as qi,L as I,an as nt,u as Ti,Q as Gi,P as Xi,K as Yi,T as bt,a2 as Jt,a3 as Zt,ao as Qi,a5 as zt,ap as Ji}from"./index-BkFkDmUa.js";import{n as c,c as p,U as B,r as u,b as Ri}from"./index-B-WOdWyx.js";import{o as w}from"./if-defined-BqfEZmLw.js";import"./index-DB6fcXYk.js";import"./index-B_JmDPH-.js";import"./index-DZ5ZtdKk.js";import"./index-D_0lpU4x.js";import{a as Ra,W as Wa}from"./index-Cq5SzH_l.js";import"./index-GmPuP9pB.js";import"./index-B_k0VzvK.js";import"./index-BYFgDna6.js";import{C as E}from"./NetworkUtil-Bppu7hqz.js";import{H as ei}from"./HelpersUtil-BTl_JllN.js";import{E as Q}from"./ExchangeController-D9XsD84D.js";import"./index-Byi-XY3I.js";import"./index-CYyYH0y6.js";import{M as gt}from"./index-BQc-JAah.js";import"./index-yeZjIgvT.js";import"./index-DK7xugg0.js";import"./index-DRp92_3u.js";import{e as ti,n as ii}from"./ref-DC8Xeo7Z.js";import"./index-B1xWTE5L.js";import{n as Zi}from"./index-DlF4Y1GG.js";import"./index-CdP2j524.js";import"./index-EXyjaCeW.js";import"./index-CPPauAAu.js";import{O as yt}from"./index-FGzTzmBw.js";import{e as en}from"./index-CDKyteH4.js";import"./index-PUvCAy0J.js";import"./index-DqyHgM6w.js";import"./index-CecExfE_.js";import{N as tn}from"./NavigationUtil-DmfK5sOV.js";import"./index-CArp-GKS.js";import"./thirdweb-BKrgR-wj.js";import"./index-Dv4puTXq.js";import"./ui-DkoPs7Qj.js";import"./vendor-CDkmG7r6.js";import"./ConstantsUtil-zQkWnxC4.js";const nn=v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as m,r as c,l as f,m as d}from"./index-
|
|
1
|
+
import{n as m,r as c,l as f,m as d}from"./index-BkFkDmUa.js";import{n as u,c as b}from"./index-B-WOdWyx.js";import{o as h}from"./if-defined-BqfEZmLw.js";import"./index-B1xWTE5L.js";const v=m`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as p,r as f,k as h,l as b,N as d,m}from"./index-
|
|
1
|
+
import{j as p,r as f,k as h,l as b,N as d,m}from"./index-BkFkDmUa.js";import{n as i,c as w}from"./index-B-WOdWyx.js";import"./index-DB6fcXYk.js";const g=p`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|