@dcl/governance-site 2.4.6 → 2.4.7-30652288202.commit-1cef698
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/{BlockOverrides-51bf45a4.js → BlockOverrides-3bd1e0c0.js} +1 -1
- package/assets/{ConstantsUtil-79203bac.js → ConstantsUtil-e93059cb.js} +1 -1
- package/assets/{ExchangeController-0264bcfa.js → ExchangeController-ac0c6359.js} +1 -1
- package/assets/{HelpersUtil-85d72186.js → HelpersUtil-1ba4f6f4.js} +1 -1
- package/assets/{NetworkUtil-f02c9dda.js → NetworkUtil-b9a8abcb.js} +1 -1
- package/assets/{ReownAuthentication-d782a14d.js → ReownAuthentication-2638e043.js} +1 -1
- package/assets/{SwapController-136d29ef.js → SwapController-b4bcb2d9.js} +1 -1
- package/assets/{UserAvatar-4fc2e6f6.js → UserAvatar-bea73335.js} +1 -1
- package/assets/{browser-95a97259.js → browser-158a7183.js} +1 -1
- package/assets/{ccip-32dfca8a.js → ccip-b5ddb348.js} +1 -1
- package/assets/{ccip-6ea6af7a.js → ccip-e2c202d8.js} +1 -1
- package/assets/{data-capture-9dbff362.js → data-capture-6f786ce0.js} +1 -1
- package/assets/{email-667aa7d4.js → email-83712709.js} +1 -1
- package/assets/{embedded-wallet-b52abab1.js → embedded-wallet-9af51145.js} +1 -1
- package/assets/features-a1f803ef.js +1 -0
- package/assets/{fortmatic-acbc501c.js → fortmatic-9a6e0d5a.js} +1 -1
- package/assets/{if-defined-b24b7e57.js → if-defined-3bf4ee8e.js} +1 -1
- package/assets/{index-43deb1c2.js → index-0035afa9.js} +1 -1
- package/assets/{index-f42ea95a.css → index-01231d9e.css} +4 -4
- package/assets/{index-0b1e4073.js → index-12785865.js} +1 -1
- package/assets/{index-cf8fcc5f.js → index-156403b8.js} +1 -1
- package/assets/{index-d06bd713.js → index-225ed469.js} +1 -1
- package/assets/{index-1725e34c.js → index-2a94d120.js} +1 -1
- package/assets/{index-67df43a3.js → index-2fd70692.js} +1 -1
- package/assets/{index-b7950d04.js → index-3b90c1f7.js} +1 -1
- package/assets/{index-14ffaa99.js → index-3f6072fb.js} +1 -1
- package/assets/{index-8b01e124.js → index-40089e77.js} +1 -1
- package/assets/{index-f5598c0a.js → index-450bf0dd.js} +22 -22
- package/assets/{index-c2a62204.js → index-4754a28b.js} +1 -1
- package/assets/{index-9bc4fdca.js → index-49a67931.js} +1 -1
- package/assets/{index-6637124a.js → index-4ec7f14c.js} +1 -1
- package/assets/{index-8c045563.js → index-5a50a5c6.js} +1 -1
- package/assets/{index-61b56211.js → index-6014944e.js} +1 -1
- package/assets/{index-85c22dee.js → index-60c4333f.js} +1 -1
- package/assets/{index-0051f16e.js → index-617a0406.js} +1 -1
- package/assets/{index-e8c053af.js → index-63ea7b24.js} +1 -1
- package/assets/{index-cc624997.js → index-67348d0c.js} +1 -1
- package/assets/{index-e3f9d2e9.js → index-6dd9630d.js} +1 -1
- package/assets/{index-fca577c7.js → index-7095402f.js} +1 -1
- package/assets/{index-a7df706e.js → index-774da115.js} +1 -1
- package/assets/{index-81994ff1.js → index-789c13f0.js} +1 -1
- package/assets/{index-6e395091.js → index-81a9530d.js} +1 -1
- package/assets/{index-28b79ac6.js → index-9671ee24.js} +1 -1
- package/assets/{index-0e0510e7.js → index-985fed56.js} +1 -1
- package/assets/{index-69ae2233.js → index-a14749eb.js} +1 -1
- package/assets/{index-f823f3a8.js → index-a69c3f67.js} +1 -1
- package/assets/{index-a763ccbe.js → index-ad8e3970.js} +1 -1
- package/assets/{index-e48ab213.js → index-b0ebae3a.js} +1 -1
- package/assets/{index-d5023927.js → index-bd4d2e94.js} +1 -1
- package/assets/{index-258a7d94.js → index-c1497765.js} +1 -1
- package/assets/{index-3f46fcf8.js → index-c2df0b34.js} +1 -1
- package/assets/{index-d6457f20.js → index-d45a60a6.js} +1 -1
- package/assets/{index-f0e76de8.js → index-d65d07f7.js} +1 -1
- package/assets/{index-7b0aa225.js → index-ded04890.js} +2 -2
- package/assets/{index-e2ac5902.js → index-f0649b24.js} +1 -1
- package/assets/{index.web-e781fa1f.js → index.web-f5fa5209.js} +1 -1
- package/assets/{networks-f0015930.js → networks-3240f79d.js} +1 -1
- package/assets/{onramp-f1afd02b.js → onramp-32e77d50.js} +1 -1
- package/assets/{pay-with-exchange-625be6d4.js → pay-with-exchange-66906934.js} +1 -1
- package/assets/{receive-79a1cb54.js → receive-f2ec9938.js} +1 -1
- package/assets/{ref-7aef0ebe.js → ref-1f030639.js} +1 -1
- package/assets/{secp256k1-9f9d0f70.js → secp256k1-a37e367f.js} +1 -1
- package/assets/{send-41769f68.js → send-1371c74d.js} +1 -1
- package/assets/{socials-63bd8f39.js → socials-3ca0276e.js} +1 -1
- package/assets/{swaps-af79f5a7.js → swaps-2e6aa8fd.js} +1 -1
- package/assets/{transactions-9121572b.js → transactions-11d33041.js} +1 -1
- package/assets/{w3m-modal-561b2c04.js → w3m-modal-e58f7fdb.js} +1 -1
- package/assets/{zoraTestnet-ae35e066.js → zoraTestnet-5bc39e8c.js} +2 -2
- package/index.html +4 -4
- package/package.json +3 -3
- package/assets/features-85d40ddd.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as h,r as m,k as g,l as y,m as l}from"./index-
|
|
1
|
+
import{j as h,r as m,k as g,l as y,m as l}from"./index-ded04890.js";import{n as i,c as b}from"./index-63ea7b24.js";import{o as c}from"./if-defined-3bf4ee8e.js";import"./index-0035afa9.js";const f=h`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as U,r as Ee,k as Pe,l as _,m as u,a6 as y,h as O,x as v,a7 as ve,a8 as Se,a9 as ke,aa as N,O as ce,N as A,ab as me,C as m,p as _e,s as Ce,a as $e,E as M,M as G,S as R,t as Re,H as P,o as T,R as z,v as Oe,n as Ue}from"./index-
|
|
1
|
+
import{j as U,r as Ee,k as Pe,l as _,m as u,a6 as y,h as O,x as v,a7 as ve,a8 as Se,a9 as ke,aa as N,O as ce,N as A,ab as me,C as m,p as _e,s as Ce,a as $e,E as M,M as G,S as R,t as Re,H as P,o as T,R as z,v as Oe,n as Ue}from"./index-ded04890.js";import{n as x,c as C,r as h,U as Le,b as Ie}from"./index-63ea7b24.js";import{o as f}from"./if-defined-3bf4ee8e.js";import"./index-9671ee24.js";import"./index-4ec7f14c.js";import"./index-12785865.js";import"./index-774da115.js";import"./index-0035afa9.js";import"./index-ad8e3970.js";import"./index-81a9530d.js";import{C as I}from"./NetworkUtil-b9a8abcb.js";import"./index-c1497765.js";import{M as ge}from"./MathUtil-b514a570.js";const qe=U`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as d,r as h,l as g,m as u}from"./index-
|
|
1
|
+
import{j as d,r as h,l as g,m as u}from"./index-ded04890.js";import{n as p,c as m}from"./index-63ea7b24.js";const b=d`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as b,r as g,k as p,l as h,m as u}from"./index-
|
|
1
|
+
import{j as b,r as g,k as p,l as h,m as u}from"./index-ded04890.js";import{n,c as v}from"./index-63ea7b24.js";import"./index-0035afa9.js";const m=b`
|
|
2
2
|
:host {
|
|
3
3
|
width: var(--local-width);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as y,l as m,m as a,E as b,y as g,C as x,W as v,R as T,O as c,j as d,r as C,k as _}from"./index-
|
|
1
|
+
import{n as y,l as m,m as a,E as b,y as g,C as x,W as v,R as T,O as c,j as d,r as C,k as _}from"./index-ded04890.js";import{c as w,r as $}from"./index-63ea7b24.js";import"./index-d65d07f7.js";const R=y``;var O=globalThis&&globalThis.__decorate||function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var s=n.length-1;s>=0;s--)(l=n[s])&&(t=(i<3?l(t):i>3?l(e,r,t):l(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let f=class extends m{render(){const{termsConditionsUrl:e,privacyPolicyUrl:r}=c.state;return!e&&!r?null:a`
|
|
2
2
|
<wui-flex
|
|
3
3
|
.padding=${["4","3","3","3"]}
|
|
4
4
|
flexDirection="column"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{P as t,A as c,a as d}from"./index-
|
|
1
|
+
import{P as t,A as c,a as d}from"./index-789c13f0.js";import{b as ne,c as me,W as ce}from"./index-789c13f0.js";import"./index-ded04890.js";import"./index-450bf0dd.js";import"./NetworkUtil-b9a8abcb.js";import"./index-3b90c1f7.js";import"./BlockOverrides-3bd1e0c0.js";import"./index-63ea7b24.js";import"./if-defined-3bf4ee8e.js";import"./index-9671ee24.js";import"./index-0035afa9.js";import"./index-4ec7f14c.js";import"./index-12785865.js";import"./index-774da115.js";import"./index-ad8e3970.js";import"./index-6014944e.js";import"./index-81a9530d.js";import"./index-c1497765.js";import"./MathUtil-b514a570.js";const C=3e5;async function U(e){return t.handleOpenPay(e)}async function M(e,r=C){if(r<=0)throw new c(d.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await U(e)}catch(s){throw s instanceof c?s:new c(d.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,p)=>{let o=!1;const i=setTimeout(()=>{o||(o=!0,m(),p(new c(d.GENERIC_PAYMENT_ERROR,"Payment timeout")))},r);function n(){if(o)return;const a=t.state.currentPayment,u=t.state.error,D=t.state.isPaymentInProgress;if((a==null?void 0:a.status)==="SUCCESS"){o=!0,m(),clearTimeout(i),s({success:!0,result:a.result});return}if((a==null?void 0:a.status)==="FAILED"){o=!0,m(),clearTimeout(i),s({success:!1,error:u||"Payment failed"});return}u&&!D&&!a&&(o=!0,m(),clearTimeout(i),s({success:!1,error:u}))}const b=l("currentPayment",n),y=l("error",n),S=l("isPaymentInProgress",n),m=E([b,y,S]);n()})}function O(){return t.getExchanges()}function H(){var e;return(e=t.state.currentPayment)==null?void 0:e.result}function L(){return t.state.error}function z(){return t.state.isPaymentInProgress}function l(e,r){return t.subscribeKey(e,r)}function E(e){return()=>{e.forEach(r=>{try{r()}catch{}})}}const B={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},G={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},W={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},J={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},V={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},Z={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},j={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},Q={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},X={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},$={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ee={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},te={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ae={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},se={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{t as PayController,ne as W3mPayLoadingView,me as W3mPayQuoteView,ce as W3mPayView,Z as arbitrumUSDC,ee as arbitrumUSDT,B as baseETH,W as baseSepoliaETH,G as baseUSDC,J as ethereumUSDC,X as ethereumUSDT,O as getExchanges,z as getIsPaymentInProgress,L as getPayError,H as getPayResult,U as openPay,V as optimismUSDC,$ as optimismUSDT,M as pay,j as polygonUSDC,te as polygonUSDT,se as solanaSOL,Q as solanaUSDC,ae as solanaUSDT};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as p,r as f,k as h,l as b,m,N as d}from"./index-
|
|
1
|
+
import{j as p,r as f,k as h,l as b,m,N as d}from"./index-ded04890.js";import{n as i,c as g}from"./index-63ea7b24.js";import"./index-12785865.js";const w=p`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as f,j as w,r as v,l as b,m as n,k as y}from"./index-
|
|
1
|
+
import{I as f,j as w,r as v,l as b,m as n,k as y}from"./index-ded04890.js";import{n as o,c as x,U as $}from"./index-63ea7b24.js";import"./index-12785865.js";import"./index-6014944e.js";import{o as z}from"./if-defined-3bf4ee8e.js";const S=f`<svg width="86" height="96" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
d="M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z"
|
|
4
4
|
/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as d,r as m,k as c,l as f,v,m as h}from"./index-
|
|
1
|
+
import{j as d,r as m,k as c,l as f,v,m as h}from"./index-ded04890.js";import{n as r,c as y,U as b}from"./index-63ea7b24.js";import{e as g,n as w}from"./ref-1f030639.js";const x=d`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as t,n as d,r as p,l as n,m as w}from"./index-
|
|
1
|
+
import{I as t,n as d,r as p,l as n,m as w}from"./index-ded04890.js";import{n as f,c as k,a as v}from"./index-63ea7b24.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{j as l,l as m,m as c}from"./index-
|
|
1
|
+
import{j as l,l as m,m as c}from"./index-ded04890.js";import{n as h,c as f}from"./index-63ea7b24.js";const p=l`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
background: linear-gradient(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as c,E as d,R as g,o as m,S as w,h as l,J as E,K as _,j as b,r as y,l as C,m as v,k as R}from"./index-
|
|
1
|
+
import{C as c,E as d,R as g,o as m,S as w,h as l,J as E,K as _,j as b,r as y,l as C,m as v,k as R}from"./index-ded04890.js";import{C as T}from"./NetworkUtil-b9a8abcb.js";import{n as p,c as S}from"./index-63ea7b24.js";import{o as O}from"./if-defined-3bf4ee8e.js";function $(){try{return l.returnOpenHref(`${T.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function I(){g.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=c.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();c.setAccountProp("farcasterUrl",t,c.state.activeChain)}catch(t){g.goBack(),w.showError(t)}}}async function L(e){g.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const n=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(l.isTelegram()||(t=$()),t)c.setAccountProp("socialWindow",E(t),c.state.activeChain);else if(!l.isTelegram())throw new Error("Could not create social popup");const{uri:i}=await o.provider.getSocialRedirectUri({provider:e});if(!i)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=i),l.isTelegram()){_.setTelegramSocialProvider(e);const r=l.formatTelegramSocialLoginUrl(i);l.openHref(r,"_top")}clearTimeout(n)}}catch(n){t==null||t.close();const i=l.parseError(n);w.showError(i),d.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:i}})}}async function z(e){c.setAccountProp("socialProvider",e,c.state.activeChain),d.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await I():await L(e)}const U=b`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as x,j as I,r as W,l as M,m as v}from"./index-
|
|
1
|
+
import{I as x,j as I,r as W,l as M,m as v}from"./index-ded04890.js";import{n as b,c as O}from"./index-63ea7b24.js";import"./index-12785865.js";import{r as N,g as q}from"./index-450bf0dd.js";var A=N();const Q=q(A),D=.1,_=2.5,w=7;function k(t,a,d){return t===a?!1:(t-a<0?a-t:t-a)<=d+D}function P(t,a){const d=Array.prototype.slice.call(Q.create(t,{errorCorrectionLevel:a}).modules.data,0),l=Math.sqrt(d.length);return d.reduce((h,f,p)=>(p%l===0?h.push([f]):h[h.length-1].push(f))&&h,[])}const T={generate({uri:t,size:a,logoSize:d,padding:l=8,dotColor:h="var(--apkt-colors-black)"}){const p=[],u=P(t,"Q"),n=(a-2*l)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:e})=>{const s=(u.length-w)*n*i+l,r=(u.length-w)*n*e+l,c=.45;for(let o=0;o<E.length;o+=1){const m=n*(w-o*2);p.push(x`
|
|
2
2
|
<rect
|
|
3
3
|
fill=${o===2?"var(--apkt-colors-black)":"var(--apkt-colors-white)"}
|
|
4
4
|
width=${o===0?m-10:m}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as b,r as p,k as m,l as v,m as u}from"./index-
|
|
1
|
+
import{j as b,r as p,k as m,l as v,m as u}from"./index-ded04890.js";import{n as d,c as f}from"./index-63ea7b24.js";const h=b`
|
|
2
2
|
button {
|
|
3
3
|
border: none;
|
|
4
4
|
background: transparent;
|