@dcl/auth-site 4.9.0 → 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-Dsyq72zZ.js → ConstantsUtil-zQkWnxC4.js} +1 -1
- package/assets/ContentfulRichText-C5U4FIrW.js +2 -0
- package/assets/{ExchangeController-D-vtZFe-.js → ExchangeController-D9XsD84D.js} +1 -1
- package/assets/{HelpersUtil-vtokp5Kb.js → HelpersUtil-BTl_JllN.js} +1 -1
- package/assets/{NetworkUtil-CqJrNVuL.js → NetworkUtil-Bppu7hqz.js} +1 -1
- package/assets/{SwapController-0N3Ng7yY.js → SwapController-CgLuVkpp.js} +1 -1
- package/assets/{biconomy-BA0EbxPn.js → biconomy-D4AEGsda.js} +1 -1
- package/assets/{ccip-CAgb1BK9.js → ccip-BUPHbq_V.js} +1 -1
- package/assets/{data-capture-BuzTHjtu.js → data-capture-CKyMq4EK.js} +1 -1
- package/assets/{email-BBUhzzdK.js → email-ZH_fVz-D.js} +1 -1
- package/assets/{embedded-wallet-CGuQx0gl.js → embedded-wallet-BhrIqHC4.js} +1 -1
- package/assets/{engine-D3y_j_7j.js → engine-B7Ti9W6T.js} +1 -1
- package/assets/{extractIPFS-BgFqzauq.js → extractIPFS-6k-l3wtv.js} +1 -1
- package/assets/{features-HIPu4Bat.js → features-BmRqsCSh.js} +1 -1
- package/assets/{fortmatic-zeH3FiWP.js → fortmatic-Cc13sOZ_.js} +1 -1
- package/assets/{getInstalledModules-7QzCIKYd.js → getInstalledModules-hVwoJg0N.js} +1 -1
- package/assets/{if-defined-C0N-UQQl.js → if-defined-BqfEZmLw.js} +1 -1
- package/assets/{in-app-wallet-calls-Co0bK4Fs.js → in-app-wallet-calls-ro13O8UC.js} +1 -1
- package/assets/{index-RbRhQLyK.js → index-B-WOdWyx.js} +1 -1
- package/assets/{index-m0ISRvKM.js → index-B1xWTE5L.js} +1 -1
- package/assets/{index-C3mxKnVB.js → index-B5gsx6xM.js} +1 -1
- package/assets/{index-ByWBFm2T.js → index-B8hHUr83.js} +1 -1
- package/assets/index-BB0s-veM.css +1 -0
- package/assets/{index-BoPxfiYQ.js → index-BEQv_wK5.js} +1 -1
- package/assets/{index-CxczLVyd.js → index-BNzb8EzD.js} +3 -3
- package/assets/{index-a49sLC3J.js → index-BQc-JAah.js} +1 -1
- package/assets/{index-CawlZQf6.js → index-BYFgDna6.js} +1 -1
- package/assets/{index-_Vxhv-B2.js → index-B_JmDPH-.js} +1 -1
- package/assets/{index-B-Yer-WR.js → index-B_k0VzvK.js} +1 -1
- package/assets/{index-S4avQ94z.js → index-BcJlTgJl.js} +1 -1
- package/assets/{index-D-jJm-KF.js → index-BkFkDmUa.js} +4 -4
- package/assets/{index-zMy7Qus3.js → index-Byi-XY3I.js} +1 -1
- package/assets/{index-C82Gew1N.js → index-CArp-GKS.js} +1 -1
- package/assets/{index-N2mugN5Z.js → index-CDKyteH4.js} +1 -1
- package/assets/{index-t4rpbv4s.js → index-CLC6qU2v.js} +1 -1
- package/assets/{index-BGJ3xfzN.js → index-CPPauAAu.js} +1 -1
- package/assets/{index-Bv1piS8F.js → index-CYyYH0y6.js} +1 -1
- package/assets/{index-B0SgP9jH.js → index-C_XtCudp.js} +1 -1
- package/assets/{index-DTSdu6UH.js → index-CdP2j524.js} +1 -1
- package/assets/{index-DkZKwGlW.js → index-CecExfE_.js} +1 -1
- package/assets/{index-CuOo7gHy.js → index-Cq5SzH_l.js} +1 -1
- package/assets/{index-DEUrHIqy.js → index-D3qudVRg.js} +1 -1
- package/assets/{index-g6FLTNpO.js → index-DAuKQb0F.js} +1 -1
- package/assets/{index-2w4472Ki.js → index-DB6fcXYk.js} +1 -1
- package/assets/{index-CE8om_Ji.js → index-DD-nEc5n.js} +1 -1
- package/assets/{index-DKeJcoqM.js → index-DIYSHN4s.js} +1 -1
- package/assets/{index-BYlKr-xp.js → index-DK7xugg0.js} +1 -1
- package/assets/{index-CvsrsI0S.js → index-DRp92_3u.js} +1 -1
- package/assets/{index-BWG5IIgl.js → index-DZ5ZtdKk.js} +1 -1
- package/assets/{index-E4MMRxho.js → index-D_0lpU4x.js} +1 -1
- package/assets/{index-BCxVmzaC.js → index-Dh9S40Wp.js} +1 -1
- package/assets/{index-Df273T9H.js → index-DlF4Y1GG.js} +1 -1
- package/assets/{index-CkB_dL5v.js → index-DmD04NOj.js} +2 -2
- package/assets/{index-V47t4WXt.js → index-DqyHgM6w.js} +1 -1
- package/assets/{index-9KoxA4Ng.js → index-Dv4puTXq.js} +9 -9
- package/assets/{index-CIoMMwUy.js → index-EXyjaCeW.js} +1 -1
- package/assets/{index-Dl522F1p.js → index-FGzTzmBw.js} +1 -1
- package/assets/{index-vg8emLzq.js → index-GmPuP9pB.js} +1 -1
- package/assets/{index-Cp-It5t8.js → index-PUvCAy0J.js} +1 -1
- package/assets/{index-Byp5L-I_.js → index-_OG6gpRL.js} +1 -1
- package/assets/{index-Ca6axf_J.js → index-yeZjIgvT.js} +1 -1
- package/assets/{networks-BEIYgFeZ.js → networks-DLiLXa5Z.js} +1 -1
- package/assets/{onramp-BvNGNHuF.js → onramp-CYAChhC1.js} +1 -1
- package/assets/{openzeppelin-CkSVK7ON.js → openzeppelin-BK0uG8C4.js} +1 -1
- package/assets/{parse-typed-data-jA5anADV.js → parse-typed-data-D7UyJcbm.js} +1 -1
- package/assets/{passkeys-cSfd2jwA.js → passkeys-CKrRbys5.js} +1 -1
- package/assets/{pay-with-exchange-bTYcu60w.js → pay-with-exchange-CHZvFHRe.js} +1 -1
- package/assets/{receive-Bxt1eLR8.js → receive-B916gaaF.js} +1 -1
- package/assets/{ref-CG_ZjpRx.js → ref-DC8Xeo7Z.js} +1 -1
- package/assets/{resolveImplementation--C7LlTYu.js → resolveImplementation-BUCE_oyN.js} +1 -1
- package/assets/{rich-text-react-renderer.es5-Cc6e33oa.js → rich-text-react-renderer.es5--pOlxp1t.js} +1 -1
- package/assets/{secp256k1-KpyT0_5c.js → secp256k1-B1SXv58z.js} +1 -1
- package/assets/{send-Dzb4nlT6.js → send-DnxMCbAX.js} +1 -1
- package/assets/{send-eip712-transaction-C7ALFJBU.js → send-eip712-transaction-Dmp7-D7U.js} +1 -1
- package/assets/{send-gasless-transaction-DHp0IJhh.js → send-gasless-transaction-BDrh39e2.js} +2 -2
- package/assets/{socials-2-Sr4RVh.js → socials-CNjxDLsX.js} +1 -1
- package/assets/{swaps-BDOEZTnE.js → swaps-DzWFyeHb.js} +1 -1
- package/assets/{thirdweb-DxU0j7mx.js → thirdweb-BKrgR-wj.js} +3 -3
- package/assets/{transactions-B2L2D91U.js → transactions-ueNvJolS.js} +1 -1
- package/assets/{ui-Cb7POMFH.css → ui-CklGyFVO.css} +3 -3
- package/assets/{ui-Cuuh51zn.js → ui-DkoPs7Qj.js} +49 -49
- package/assets/{vendor-BL0Tcusl.js → vendor-CDkmG7r6.js} +1 -1
- package/assets/{verifyHash-Dz6f30cT.js → verifyHash-0Yo1-CJS.js} +3 -3
- package/assets/{w3m-modal-CKEVFw-C.js → w3m-modal-D9A3Z8EH.js} +1 -1
- package/assets/{web-connector-v4CStlgq.js → web-connector-CCn_yiS4.js} +3 -3
- package/index.html +6 -6
- package/package.json +3 -3
- package/assets/ContentfulRichText-ENTJf0no.js +0 -2
- package/assets/index-edMHhTut.css +0 -1
|
@@ -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
|
}
|