@directcryptopay/sdk 0.2.0 → 0.2.1
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/dist/{add-DuP4WhxV.js → add-sji6scSD.js} +1 -1
- package/dist/{all-wallets-5JBV4CZN.js → all-wallets-B4H-890E.js} +1 -1
- package/dist/{app-store-C_iLeXrh.js → app-store-Z433s97G.js} +1 -1
- package/dist/{apple-BXgQe_w8.js → apple-b8Lxj7nb.js} +1 -1
- package/dist/{arrow-bottom-B4Vsa9wq.js → arrow-bottom-M9oWWo_9.js} +1 -1
- package/dist/{arrow-bottom-circle-C1QSwRIp.js → arrow-bottom-circle-N9c4CXY1.js} +1 -1
- package/dist/{arrow-left-pxwCvXD9.js → arrow-left-Dw8AKfwf.js} +1 -1
- package/dist/{arrow-right-B8Av1oDN.js → arrow-right-DwLQZSC_.js} +1 -1
- package/dist/{arrow-top-DbPtAeXG.js → arrow-top-zhUjkBe1.js} +1 -1
- package/dist/{bank-De2PNeXL.js → bank-CbQdnILK.js} +1 -1
- package/dist/{browser-Ds4DBQOP.js → browser-xAqNwt7z.js} +1 -1
- package/dist/{card-BcxTMuEn.js → card-Dr1QBmWp.js} +1 -1
- package/dist/{ccip-B4sn4c5Q.js → ccip-BIGqktC1.js} +6 -6
- package/dist/{checkmark-Cvkmx-sx.js → checkmark-BhT1dTgG.js} +1 -1
- package/dist/{checkmark-bold-JHvEtJRZ.js → checkmark-bold-CPB29wqQ.js} +1 -1
- package/dist/{chevron-bottom-lAad_zie.js → chevron-bottom-BhNyx2II.js} +1 -1
- package/dist/{chevron-left-Ck9W-Hsf.js → chevron-left-CGuEjQlY.js} +1 -1
- package/dist/{chevron-right-DsNh648f.js → chevron-right-CvIRRsqZ.js} +1 -1
- package/dist/{chevron-top-L90lwzG3.js → chevron-top-RSzCqjBd.js} +1 -1
- package/dist/{chrome-store-DsXX7iqA.js → chrome-store-Cs8dAgs0.js} +1 -1
- package/dist/{clock-DeilmpSa.js → clock-fhZO5otC.js} +1 -1
- package/dist/{close-D4gsZqfR.js → close-BPuztrdR.js} +1 -1
- package/dist/{coinPlaceholder-B0Kg8woL.js → coinPlaceholder-C8X2i7Kh.js} +1 -1
- package/dist/{compass-BDc1Htlg.js → compass-WMc5huk0.js} +1 -1
- package/dist/{copy-Ddroiv6f.js → copy-DVAeT17y.js} +1 -1
- package/dist/{cursor-DIunlIJp.js → cursor-BJ4YLXfy.js} +1 -1
- package/dist/{cursor-transparent-CXfl0bNj.js → cursor-transparent-DN2fLQN4.js} +1 -1
- package/dist/dcp-sdk.umd.js +461 -461
- package/dist/{desktop-CDp5ghZ6.js → desktop-6avxisBw.js} +1 -1
- package/dist/{disconnect-DUI9ddIg.js → disconnect-AReVI8Gk.js} +1 -1
- package/dist/{discord-D_apxuxu.js → discord-CxrI30BZ.js} +1 -1
- package/dist/{email-DCvzZXYk.js → email-B8dIIaay.js} +24 -24
- package/dist/{embedded-wallet-CHAaqj_k.js → embedded-wallet-C_5hF7rM.js} +24 -24
- package/dist/{etherscan-BYrw6lJt.js → etherscan-BnAy8cIF.js} +1 -1
- package/dist/{exclamation-triangle-C31EobMQ.js → exclamation-triangle-Bu7nHwx9.js} +1 -1
- package/dist/{extension-CchWONzJ.js → extension-F0LIhvcf.js} +1 -1
- package/dist/{external-link-CebHOeWd.js → external-link-CP6phyaM.js} +1 -1
- package/dist/{facebook-CD3lppZ5.js → facebook-BtQ-Io2y.js} +1 -1
- package/dist/{farcaster-lZUkqUmB.js → farcaster-BmaN1ugd.js} +1 -1
- package/dist/{filters-D3KWfhyO.js → filters-DpEwoOmy.js} +1 -1
- package/dist/{github-Cvv_sOWq.js → github-q7qO9V-b.js} +1 -1
- package/dist/{google-DoFICkCj.js → google-DH_ZE8bW.js} +1 -1
- package/dist/{hashTypedData-BHHGGXNO.js → hashTypedData-ZH9ZnWu3.js} +6 -6
- package/dist/{help-circle-CiSClrc6.js → help-circle-BAQVmKas.js} +1 -1
- package/dist/{id-mmauIL1Q.js → id-Cj68Zwgo.js} +1 -1
- package/dist/{if-defined-B9A-SuEH.js → if-defined-CNte9B3N.js} +89 -89
- package/dist/{image-CPddwR98.js → image-BKJDw6N-.js} +1 -1
- package/dist/{index-B7MBnU8U.js → index-5mp7WkhV.js} +2 -2
- package/dist/{index-UdoiPkDs.js → index-7toZMdtG.js} +32 -32
- package/dist/{index-Dz5Y9DG0.js → index-B1uKzdvN.js} +3 -3
- package/dist/{index-BGf41hyR.js → index-BHFZVF-b.js} +3 -3
- package/dist/{index-ZbZVGyW9.js → index-BJ7cbG3N.js} +10205 -9626
- package/dist/{index-CcxAAnYa.js → index-BKwa5JSA.js} +10 -10
- package/dist/{index-BR3OZ5tY.js → index-BP4B9VUt.js} +2 -2
- package/dist/{index-B-EQbBE1.js → index-BVdzXHpO.js} +11 -11
- package/dist/{index-BZlEkYh1.js → index-BYND0GJ9.js} +2 -2
- package/dist/{index-ChHzzHKf.js → index-BaJ0zEbh.js} +2 -2
- package/dist/{index-Bm_umjg-.js → index-BdSIrl-R.js} +38 -38
- package/dist/{index-DVrXX4wp.js → index-Bh0MPFwP.js} +3 -3
- package/dist/{index-BwZg5eKW.js → index-Bsh7_qTp.js} +53 -53
- package/dist/{index-K-vs5VBY.js → index-BwnXTNNg.js} +3 -3
- package/dist/{index-8MHsCmjw.js → index-C0kPDbg_.js} +2 -2
- package/dist/{index-BflWdkJX.js → index-CKikVKe2.js} +2 -2
- package/dist/{index-ypbesXfX.js → index-CPTcEPbD.js} +1582 -1881
- package/dist/{index-CKt3c7vP.js → index-ChVh0Hkp.js} +3 -3
- package/dist/{index-BziWxDLL.js → index-Cle_NnnS.js} +6 -6
- package/dist/{index-DPQg2zed.js → index-CmWdvIFT.js} +2 -2
- package/dist/{index-lUi7mcYP.js → index-D2AMA8Bu.js} +2 -2
- package/dist/{index-1E6II94R.js → index-D5r0iSq4.js} +1 -1
- package/dist/index-D6h-qfpt.js +276 -0
- package/dist/{index-Dn2u8IZ4.js → index-DAUM8CO4.js} +2 -2
- package/dist/{index-K3CyIFHA.js → index-DGjZW6uR.js} +2 -2
- package/dist/{index-DiGq7Twa.js → index-DQe94z7X.js} +3 -3
- package/dist/{index-B8WZTprM.js → index-DTo6w99t.js} +101 -101
- package/dist/{index-BbwmpqkC.js → index-DYdXjap2.js} +9 -9
- package/dist/{index-5QBTZwil.js → index-DceCxNV5.js} +5 -5
- package/dist/{index--wY2C4T3.js → index-DobBVPe4.js} +14 -14
- package/dist/{index-C21v4yzv.js → index-Dy4NyE6l.js} +7 -7
- package/dist/{index-Da-qfVsI.js → index-Uw9cSw0q.js} +3 -3
- package/dist/{index-Qo-WDoO6.js → index-f3LXSfM5.js} +6 -6
- package/dist/{index-DQvOQPAe.js → index-qiuyrukh.js} +2 -2
- package/dist/{index-CqJkW7ok.js → index-zddvaohA.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{info-DUUpq3A8.js → info-RfPsmroW.js} +1 -1
- package/dist/{info-circle-71ComNpv.js → info-circle-DFKHB_ZN.js} +1 -1
- package/dist/{lightbulb-Dn8yehyg.js → lightbulb-B-Bykj9X.js} +1 -1
- package/dist/{localBatchGatewayRequest-22JZkkT_.js → localBatchGatewayRequest-CjGcn5nM.js} +1 -1
- package/dist/{mail-CsDptbSx.js → mail-mBAgGuw5.js} +1 -1
- package/dist/{mobile-CPJuZx44.js → mobile-Dhh3ndkf.js} +1 -1
- package/dist/{more-BOYxX2nP.js → more-D1h7UTvg.js} +1 -1
- package/dist/{network-placeholder-VYjYxNG4.js → network-placeholder-Dqynvc-t.js} +1 -1
- package/dist/{nftPlaceholder-CG0quU6c.js → nftPlaceholder-Df7MW4MM.js} +1 -1
- package/dist/{off-Bx28ns6u.js → off-BmG3cHTX.js} +1 -1
- package/dist/{onramp-BBC60CcF.js → onramp-C401Aenb.js} +46 -46
- package/dist/{parseSignature-8IN1QgOo.js → parseSignature-S8VEpRHC.js} +967 -1222
- package/dist/{play-store-CNp25d_w.js → play-store-4q1fzL_P.js} +1 -1
- package/dist/{plus-CQaRn4R3.js → plus-603Gs3yG.js} +1 -1
- package/dist/{qr-code-QBtVvbvs.js → qr-code-Dgwhf6M1.js} +1 -1
- package/dist/{receive-DXWRBTEQ.js → receive-CYXbbEUR.js} +10 -10
- package/dist/{recycle-horizontal-CpnSrRdg.js → recycle-horizontal-Bu8zZ563.js} +1 -1
- package/dist/{ref-C6IIbwxq.js → ref-DpmKRWBK.js} +2 -2
- package/dist/{refresh-DY_Dx78p.js → refresh-BMZFu0mu.js} +1 -1
- package/dist/{reown-logo-DVm_TEc7.js → reown-logo-BXph7ThY.js} +1 -1
- package/dist/{search-ClJskXVW.js → search-Cm_V42Y_.js} +1 -1
- package/dist/{secp256k1-CQ19DtRL.js → secp256k1-C0iX1TUr.js} +19 -19
- package/dist/{secp256k1-X5XIlSn6.js → secp256k1-DOQBqE4Z.js} +1 -1
- package/dist/{send-TqSroVbV.js → send-BSMYxDuP.js} +1 -1
- package/dist/{send-P3r6OIjm.js → send-C8EeIzRB.js} +20 -20
- package/dist/{socials-4JUgml5Z.js → socials-DQrHQajs.js} +15 -15
- package/dist/{swapHorizontal-8KilA_OC.js → swapHorizontal-98rnJewS.js} +1 -1
- package/dist/{swapHorizontalBold-Bl9gJ64j.js → swapHorizontalBold-C299FjEt.js} +1 -1
- package/dist/{swapHorizontalMedium-DDyLmVwC.js → swapHorizontalMedium-Cqm6i4WJ.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-6ZYHYdUX.js → swapHorizontalRoundedBold-De7hFfqZ.js} +1 -1
- package/dist/{swapVertical-BRgBuh_B.js → swapVertical-DSL75l8L.js} +1 -1
- package/dist/{swaps-CxJvguLy.js → swaps-BuTNp65Y.js} +24 -24
- package/dist/{telegram-OC2IKNlW.js → telegram-cJP7hgUb.js} +1 -1
- package/dist/{three-dots-CYzCkBQ2.js → three-dots-DHnEh28O.js} +1 -1
- package/dist/{transactions-CwFjYgL1.js → transactions-DujFkB-M.js} +3 -3
- package/dist/{twitch-CDW38k5a.js → twitch-CR2iGcBo.js} +1 -1
- package/dist/{twitterIcon-D6-ODkwM.js → twitterIcon-E5TAQjOn.js} +1 -1
- package/dist/{verify-VZiPZ9WI.js → verify-DEukUJp0.js} +1 -1
- package/dist/{verify-filled-BpF4F1jG.js → verify-filled-BXsx1i_p.js} +1 -1
- package/dist/{w3m-modal-DZu8ry9r.js → w3m-modal-Bm7BqVng.js} +40 -40
- package/dist/{wallet-CvQjQVxz.js → wallet-CzyyvdrT.js} +1 -1
- package/dist/{wallet-placeholder-B1BHI_2j.js → wallet-placeholder-BrcmyGEe.js} +1 -1
- package/dist/{walletconnect-Cnjk-qmM.js → walletconnect-BSYogWiE.js} +1 -1
- package/dist/{warning-circle-DvWTcM8j.js → warning-circle-Cgp2BW3m.js} +1 -1
- package/dist/{x-BCQWBooq.js → x-BJinLpTw.js} +1 -1
- package/package.json +1 -1
- package/dist/index-0UuJZssH.js +0 -276
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as c, c as h, o as p, U as A, r as u, a as $i } from "./if-defined-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { W as os } from "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import { n as bn } from "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import { M as ki } from "./index-
|
|
16
|
-
import "./index-
|
|
17
|
-
import { e as oi, n as ri } from "./ref-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./index-
|
|
22
|
-
import { O as ut } from "./index-
|
|
23
|
-
import { e as xn } from "./index-
|
|
24
|
-
import { N as vn } from "./index-
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./index-
|
|
27
|
-
import "./index-
|
|
28
|
-
import "./index-
|
|
1
|
+
import { cE as x, cH as I, cI as T, cF as w, cG as l, cY as d, c_ as $, di as v, dQ as ce, cX as m, d1 as f, cS as R, d8 as k, de as be, dc as b, dd as _, cJ as g, db as U, cZ as P, d0 as F, d6 as C, dT as pn, cK as yi, d5 as Fi, cL as hn, dR as S, fl as Te, du as wn, d9 as fn, fm as He, dN as mn, c$ as Kt, fn as gn, dP as Ci } from "./index-BJ7cbG3N.js";
|
|
2
|
+
import { n as c, c as h, o as p, U as A, r as u, a as $i } from "./if-defined-CNte9B3N.js";
|
|
3
|
+
import "./index-CmWdvIFT.js";
|
|
4
|
+
import "./index-BaJ0zEbh.js";
|
|
5
|
+
import "./index-BwnXTNNg.js";
|
|
6
|
+
import "./index-CKikVKe2.js";
|
|
7
|
+
import { W as os } from "./index-ChVh0Hkp.js";
|
|
8
|
+
import "./index-D2AMA8Bu.js";
|
|
9
|
+
import "./index-DceCxNV5.js";
|
|
10
|
+
import "./index-Uw9cSw0q.js";
|
|
11
|
+
import "./index-DGjZW6uR.js";
|
|
12
|
+
import { n as bn } from "./index-DYdXjap2.js";
|
|
13
|
+
import "./index-BKwa5JSA.js";
|
|
14
|
+
import "./index-BP4B9VUt.js";
|
|
15
|
+
import { M as ki } from "./index-zddvaohA.js";
|
|
16
|
+
import "./index-BYND0GJ9.js";
|
|
17
|
+
import { e as oi, n as ri } from "./ref-DpmKRWBK.js";
|
|
18
|
+
import "./index-DQe94z7X.js";
|
|
19
|
+
import "./index-C0kPDbg_.js";
|
|
20
|
+
import "./index-qiuyrukh.js";
|
|
21
|
+
import "./index-Bh0MPFwP.js";
|
|
22
|
+
import { O as ut } from "./index-Cle_NnnS.js";
|
|
23
|
+
import { e as xn } from "./index-BVdzXHpO.js";
|
|
24
|
+
import { N as vn } from "./index-BHFZVF-b.js";
|
|
25
|
+
import "./index-DAUM8CO4.js";
|
|
26
|
+
import "./index-B1uKzdvN.js";
|
|
27
|
+
import "./index-BdSIrl-R.js";
|
|
28
|
+
import "./index-f3LXSfM5.js";
|
|
29
29
|
const yn = x`
|
|
30
30
|
:host {
|
|
31
31
|
display: block;
|
|
@@ -275,7 +275,7 @@ class L extends w {
|
|
|
275
275
|
`;
|
|
276
276
|
}
|
|
277
277
|
onClick() {
|
|
278
|
-
this.isSupported || v.state.allowUnsupportedChain ?
|
|
278
|
+
this.isSupported || v.state.allowUnsupportedChain ? R.open({ namespace: this.namespace }) : R.open({ view: "UnsupportedChain" });
|
|
279
279
|
}
|
|
280
280
|
async fetchNetworkImage(e) {
|
|
281
281
|
var t, n;
|
|
@@ -553,7 +553,7 @@ var we = function(a, e, t, n) {
|
|
|
553
553
|
};
|
|
554
554
|
class fe extends w {
|
|
555
555
|
constructor() {
|
|
556
|
-
super(), this.unsubscribe = [], this.size = "md", this.label = "Connect Wallet", this.loadingLabel = "Connecting...", this.open =
|
|
556
|
+
super(), this.unsubscribe = [], this.size = "md", this.label = "Connect Wallet", this.loadingLabel = "Connecting...", this.open = R.state.open, this.loading = this.namespace ? R.state.loadingNamespaceMap.get(this.namespace) : R.state.loading, this.unsubscribe.push(R.subscribe((e) => {
|
|
557
557
|
this.open = e.open, this.loading = this.namespace ? e.loadingNamespaceMap.get(this.namespace) : e.loading;
|
|
558
558
|
}));
|
|
559
559
|
}
|
|
@@ -573,7 +573,7 @@ class fe extends w {
|
|
|
573
573
|
`;
|
|
574
574
|
}
|
|
575
575
|
onClick() {
|
|
576
|
-
this.open ?
|
|
576
|
+
this.open ? R.close() : this.loading || R.open({ view: "Connect", namespace: this.namespace });
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
we([
|
|
@@ -599,11 +599,11 @@ let Ai = class extends fe {
|
|
|
599
599
|
Ai = we([
|
|
600
600
|
h("w3m-connect-button")
|
|
601
601
|
], Ai);
|
|
602
|
-
let
|
|
602
|
+
let Ri = class extends fe {
|
|
603
603
|
};
|
|
604
|
-
|
|
604
|
+
Ri = we([
|
|
605
605
|
h("appkit-connect-button")
|
|
606
|
-
],
|
|
606
|
+
], Ri);
|
|
607
607
|
const kn = x`
|
|
608
608
|
:host {
|
|
609
609
|
display: block;
|
|
@@ -644,7 +644,7 @@ const kn = x`
|
|
|
644
644
|
box-shadow: 0 0 0 2px var(--wui-color-gray-glass-005);
|
|
645
645
|
}
|
|
646
646
|
`;
|
|
647
|
-
var
|
|
647
|
+
var Wt = function(a, e, t, n) {
|
|
648
648
|
var o = arguments.length, i = o < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, t) : n, r;
|
|
649
649
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(a, e, t, n);
|
|
650
650
|
else for (var s = a.length - 1; s >= 0; s--) (r = a[s]) && (i = (o < 3 ? r(i) : o > 3 ? r(e, t, i) : r(e, t)) || i);
|
|
@@ -683,16 +683,16 @@ let Ae = class extends w {
|
|
|
683
683
|
}
|
|
684
684
|
};
|
|
685
685
|
Ae.styles = [I, T, kn];
|
|
686
|
-
|
|
686
|
+
Wt([
|
|
687
687
|
c()
|
|
688
688
|
], Ae.prototype, "imageSrc", void 0);
|
|
689
|
-
|
|
689
|
+
Wt([
|
|
690
690
|
c({ type: Boolean })
|
|
691
691
|
], Ae.prototype, "isUnsupportedChain", void 0);
|
|
692
|
-
|
|
692
|
+
Wt([
|
|
693
693
|
c({ type: Boolean })
|
|
694
694
|
], Ae.prototype, "disabled", void 0);
|
|
695
|
-
Ae =
|
|
695
|
+
Ae = Wt([
|
|
696
696
|
h("wui-network-button")
|
|
697
697
|
], Ae);
|
|
698
698
|
const Sn = x`
|
|
@@ -709,14 +709,14 @@ var le = function(a, e, t, n) {
|
|
|
709
709
|
};
|
|
710
710
|
class ne extends w {
|
|
711
711
|
constructor() {
|
|
712
|
-
super(), this.unsubscribe = [], this.disabled = !1, this.network = d.state.activeCaipNetwork, this.networkImage = $.getNetworkImage(this.network), this.caipAddress = d.state.activeCaipAddress, this.loading =
|
|
712
|
+
super(), this.unsubscribe = [], this.disabled = !1, this.network = d.state.activeCaipNetwork, this.networkImage = $.getNetworkImage(this.network), this.caipAddress = d.state.activeCaipAddress, this.loading = R.state.loading, this.isSupported = v.state.allowUnsupportedChain ? !0 : d.state.activeChain ? d.checkIfSupportedNetwork(d.state.activeChain) : !0, this.unsubscribe.push(ce.subscribeNetworkImages(() => {
|
|
713
713
|
this.networkImage = $.getNetworkImage(this.network);
|
|
714
714
|
}), d.subscribeKey("activeCaipAddress", (e) => {
|
|
715
715
|
this.caipAddress = e;
|
|
716
716
|
}), d.subscribeKey("activeCaipNetwork", (e) => {
|
|
717
717
|
var t;
|
|
718
718
|
this.network = e, this.networkImage = $.getNetworkImage(e), this.isSupported = e != null && e.chainNamespace ? d.checkIfSupportedNetwork(e.chainNamespace) : !0, $.fetchNetworkImage((t = e == null ? void 0 : e.assets) == null ? void 0 : t.imageId);
|
|
719
|
-
}),
|
|
719
|
+
}), R.subscribeKey("loading", (e) => this.loading = e));
|
|
720
720
|
}
|
|
721
721
|
firstUpdated() {
|
|
722
722
|
var e, t;
|
|
@@ -744,7 +744,7 @@ class ne extends w {
|
|
|
744
744
|
return this.network ? !this.isSupported && !v.state.allowUnsupportedChain ? "Switch Network" : this.network.name : this.label ? this.label : this.caipAddress ? "Unknown Network" : "Select Network";
|
|
745
745
|
}
|
|
746
746
|
onClick() {
|
|
747
|
-
this.loading || (k.sendEvent({ type: "track", event: "CLICK_NETWORKS" }),
|
|
747
|
+
this.loading || (k.sendEvent({ type: "track", event: "CLICK_NETWORKS" }), R.open({ view: "Networks" }));
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
750
|
ne.styles = Sn;
|
|
@@ -769,11 +769,11 @@ le([
|
|
|
769
769
|
le([
|
|
770
770
|
u()
|
|
771
771
|
], ne.prototype, "isSupported", void 0);
|
|
772
|
-
let
|
|
772
|
+
let Wi = class extends ne {
|
|
773
773
|
};
|
|
774
|
-
|
|
774
|
+
Wi = le([
|
|
775
775
|
h("w3m-network-button")
|
|
776
|
-
],
|
|
776
|
+
], Wi);
|
|
777
777
|
let Ei = class extends ne {
|
|
778
778
|
};
|
|
779
779
|
Ei = le([
|
|
@@ -809,7 +809,7 @@ var Et = function(a, e, t, n) {
|
|
|
809
809
|
else for (var s = a.length - 1; s >= 0; s--) (r = a[s]) && (i = (o < 3 ? r(i) : o > 3 ? r(e, t, i) : r(e, t)) || i);
|
|
810
810
|
return o > 3 && i && Object.defineProperty(e, t, i), i;
|
|
811
811
|
};
|
|
812
|
-
let
|
|
812
|
+
let Re = class extends w {
|
|
813
813
|
constructor() {
|
|
814
814
|
super(...arguments), this.label = "", this.description = "", this.icon = "wallet";
|
|
815
815
|
}
|
|
@@ -836,19 +836,19 @@ let We = class extends w {
|
|
|
836
836
|
`;
|
|
837
837
|
}
|
|
838
838
|
};
|
|
839
|
-
|
|
839
|
+
Re.styles = [I, T, _n];
|
|
840
840
|
Et([
|
|
841
841
|
c()
|
|
842
|
-
],
|
|
842
|
+
], Re.prototype, "label", void 0);
|
|
843
843
|
Et([
|
|
844
844
|
c()
|
|
845
|
-
],
|
|
845
|
+
], Re.prototype, "description", void 0);
|
|
846
846
|
Et([
|
|
847
847
|
c()
|
|
848
|
-
],
|
|
849
|
-
|
|
848
|
+
], Re.prototype, "icon", void 0);
|
|
849
|
+
Re = Et([
|
|
850
850
|
h("wui-notice-card")
|
|
851
|
-
],
|
|
851
|
+
], Re);
|
|
852
852
|
var Ki = function(a, e, t, n) {
|
|
853
853
|
var o = arguments.length, i = o < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, t) : n, r;
|
|
854
854
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(a, e, t, n);
|
|
@@ -1060,7 +1060,7 @@ let Q = class extends w {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
async onDisconnect() {
|
|
1062
1062
|
try {
|
|
1063
|
-
this.disconnecting = !0, await C.disconnect(),
|
|
1063
|
+
this.disconnecting = !0, await C.disconnect(), R.close();
|
|
1064
1064
|
} catch {
|
|
1065
1065
|
k.sendEvent({ type: "track", event: "DISCONNECT_ERROR" }), P.showError("Failed to disconnect");
|
|
1066
1066
|
} finally {
|
|
@@ -1793,7 +1793,7 @@ let j = class extends w {
|
|
|
1793
1793
|
}
|
|
1794
1794
|
async onDisconnect() {
|
|
1795
1795
|
try {
|
|
1796
|
-
this.disconnecting = !0, await C.disconnect(),
|
|
1796
|
+
this.disconnecting = !0, await C.disconnect(), R.close();
|
|
1797
1797
|
} catch {
|
|
1798
1798
|
k.sendEvent({ type: "track", event: "DISCONNECT_ERROR" }), P.showError("Failed to disconnect");
|
|
1799
1799
|
} finally {
|
|
@@ -1848,7 +1848,7 @@ q([
|
|
|
1848
1848
|
j = q([
|
|
1849
1849
|
h("w3m-account-default-widget")
|
|
1850
1850
|
], j);
|
|
1851
|
-
const
|
|
1851
|
+
const Rn = x`
|
|
1852
1852
|
span {
|
|
1853
1853
|
font-weight: 500;
|
|
1854
1854
|
font-size: 40px;
|
|
@@ -1876,7 +1876,7 @@ let Ge = class extends w {
|
|
|
1876
1876
|
return l`<span>$${this.dollars}<span class="pennies">.${this.pennies}</span></span>`;
|
|
1877
1877
|
}
|
|
1878
1878
|
};
|
|
1879
|
-
Ge.styles = [I,
|
|
1879
|
+
Ge.styles = [I, Rn];
|
|
1880
1880
|
si([
|
|
1881
1881
|
c()
|
|
1882
1882
|
], Ge.prototype, "dollars", void 0);
|
|
@@ -1886,7 +1886,7 @@ si([
|
|
|
1886
1886
|
Ge = si([
|
|
1887
1887
|
h("wui-balance")
|
|
1888
1888
|
], Ge);
|
|
1889
|
-
const
|
|
1889
|
+
const Wn = x`
|
|
1890
1890
|
button {
|
|
1891
1891
|
background-color: var(--wui-color-gray-glass-002);
|
|
1892
1892
|
border-radius: var(--wui-border-radius-3xl);
|
|
@@ -1965,7 +1965,7 @@ let ue = class extends w {
|
|
|
1965
1965
|
`;
|
|
1966
1966
|
}
|
|
1967
1967
|
};
|
|
1968
|
-
ue.styles = [I, T,
|
|
1968
|
+
ue.styles = [I, T, Wn];
|
|
1969
1969
|
Ue([
|
|
1970
1970
|
c()
|
|
1971
1971
|
], ue.prototype, "networkSrc", void 0);
|
|
@@ -2044,7 +2044,7 @@ var Nt = function(a, e, t, n) {
|
|
|
2044
2044
|
else for (var s = a.length - 1; s >= 0; s--) (r = a[s]) && (i = (o < 3 ? r(i) : o > 3 ? r(e, t, i) : r(e, t)) || i);
|
|
2045
2045
|
return o > 3 && i && Object.defineProperty(e, t, i), i;
|
|
2046
2046
|
};
|
|
2047
|
-
let
|
|
2047
|
+
let We = class extends w {
|
|
2048
2048
|
constructor() {
|
|
2049
2049
|
super(...arguments), this.placement = "top", this.variant = "fill", this.message = "";
|
|
2050
2050
|
}
|
|
@@ -2058,19 +2058,19 @@ let Re = class extends w {
|
|
|
2058
2058
|
<wui-text color="inherit" variant="small-500">${this.message}</wui-text>`;
|
|
2059
2059
|
}
|
|
2060
2060
|
};
|
|
2061
|
-
|
|
2061
|
+
We.styles = [I, T, En];
|
|
2062
2062
|
Nt([
|
|
2063
2063
|
c()
|
|
2064
|
-
],
|
|
2064
|
+
], We.prototype, "placement", void 0);
|
|
2065
2065
|
Nt([
|
|
2066
2066
|
c()
|
|
2067
|
-
],
|
|
2067
|
+
], We.prototype, "variant", void 0);
|
|
2068
2068
|
Nt([
|
|
2069
2069
|
c()
|
|
2070
|
-
],
|
|
2071
|
-
|
|
2070
|
+
], We.prototype, "message", void 0);
|
|
2071
|
+
We = Nt([
|
|
2072
2072
|
h("wui-tooltip")
|
|
2073
|
-
],
|
|
2073
|
+
], We);
|
|
2074
2074
|
const Nn = {
|
|
2075
2075
|
getTabsByNamespace(a) {
|
|
2076
2076
|
var t;
|
|
@@ -2410,7 +2410,7 @@ let H = class extends w {
|
|
|
2410
2410
|
super(), this.unsubscribe = [], this.address = m.state.address, this.profileImage = m.state.profileImage, this.profileName = m.state.profileName, this.network = d.state.activeCaipNetwork, this.currentTab = m.state.currentTab, this.tokenBalance = m.state.tokenBalance, this.features = v.state.features, this.remoteFeatures = v.state.remoteFeatures, this.networkImage = $.getNetworkImage(this.network), this.unsubscribe.push(ce.subscribeNetworkImages(() => {
|
|
2411
2411
|
this.networkImage = $.getNetworkImage(this.network);
|
|
2412
2412
|
}), m.subscribe((e) => {
|
|
2413
|
-
e.address ? (this.address = e.address, this.profileImage = e.profileImage, this.profileName = e.profileName, this.currentTab = e.currentTab, this.tokenBalance = e.tokenBalance) :
|
|
2413
|
+
e.address ? (this.address = e.address, this.profileImage = e.profileImage, this.profileName = e.profileName, this.currentTab = e.currentTab, this.tokenBalance = e.tokenBalance) : R.close();
|
|
2414
2414
|
}), d.subscribeKey("activeCaipNetwork", (e) => {
|
|
2415
2415
|
this.network = e, this.networkImage = $.getNetworkImage(this.network);
|
|
2416
2416
|
}), v.subscribeKey("features", (e) => this.features = e), v.subscribeKey("remoteFeatures", (e) => this.remoteFeatures = e)), this.watchSwapValues();
|
|
@@ -2847,7 +2847,7 @@ var Be = function(a, e, t, n) {
|
|
|
2847
2847
|
let de = class extends w {
|
|
2848
2848
|
constructor() {
|
|
2849
2849
|
super(), this.usubscribe = [], this.address = m.state.address, this.profileImage = m.state.profileImage, this.profileName = m.state.profileName, this.accounts = m.state.allAccounts, this.loading = !1, this.usubscribe.push(m.subscribeKey("address", (e) => {
|
|
2850
|
-
e ? this.address = e :
|
|
2850
|
+
e ? this.address = e : R.close();
|
|
2851
2851
|
})), this.usubscribe.push(m.subscribeKey("profileImage", (e) => {
|
|
2852
2852
|
this.profileImage = e;
|
|
2853
2853
|
})), this.usubscribe.push(m.subscribeKey("profileName", (e) => {
|
|
@@ -3061,7 +3061,7 @@ let Ye = class extends w {
|
|
|
3061
3061
|
`;
|
|
3062
3062
|
}
|
|
3063
3063
|
getAddressTemplate(e, t) {
|
|
3064
|
-
var s, y, V,
|
|
3064
|
+
var s, y, V, W;
|
|
3065
3065
|
const n = (s = this.labels) == null ? void 0 : s.get(e.address), o = d.state.activeChain, r = b.getConnectorId(o) === _.CONNECTOR_ID.AUTH;
|
|
3066
3066
|
return l`
|
|
3067
3067
|
<wui-flex
|
|
@@ -3094,7 +3094,7 @@ let Ye = class extends w {
|
|
|
3094
3094
|
</wui-flex>
|
|
3095
3095
|
</wui-flex>
|
|
3096
3096
|
<wui-flex gap="s" alignItems="center">
|
|
3097
|
-
${((V = e.address) == null ? void 0 : V.toLowerCase()) === ((
|
|
3097
|
+
${((V = e.address) == null ? void 0 : V.toLowerCase()) === ((W = this.currentAddress) == null ? void 0 : W.toLowerCase()) ? "" : l`
|
|
3098
3098
|
<wui-button
|
|
3099
3099
|
data-testid=${`w3m-switch-address-button-${t}`}
|
|
3100
3100
|
textVariant="small-600"
|
|
@@ -3110,7 +3110,7 @@ let Ye = class extends w {
|
|
|
3110
3110
|
}
|
|
3111
3111
|
onSwitchAddress(e) {
|
|
3112
3112
|
const t = d.state.activeCaipNetwork, n = t == null ? void 0 : t.chainNamespace, o = `${n}:${t == null ? void 0 : t.id}:${e}`;
|
|
3113
|
-
m.setCaipAddress(o, n),
|
|
3113
|
+
m.setCaipAddress(o, n), R.close();
|
|
3114
3114
|
}
|
|
3115
3115
|
};
|
|
3116
3116
|
Ye.styles = Hn;
|
|
@@ -5018,10 +5018,10 @@ let et = class extends w {
|
|
|
5018
5018
|
return null;
|
|
5019
5019
|
if (n || t || !this.wallets.length)
|
|
5020
5020
|
return this.style.cssText = "display: none", null;
|
|
5021
|
-
const y = s.length + o.length, V = Math.max(0, 2 - y),
|
|
5022
|
-
return
|
|
5021
|
+
const y = s.length + o.length, V = Math.max(0, 2 - y), W = Te.filterOutDuplicateWallets(this.wallets).slice(0, V);
|
|
5022
|
+
return W.length ? l`
|
|
5023
5023
|
<wui-flex flexDirection="column" gap="xs">
|
|
5024
|
-
${
|
|
5024
|
+
${W.map((E) => l`
|
|
5025
5025
|
<wui-list-wallet
|
|
5026
5026
|
imageSrc=${p($.getWalletImage(E))}
|
|
5027
5027
|
name=${(E == null ? void 0 : E.name) ?? "Unknown"}
|
|
@@ -5141,8 +5141,8 @@ let $e = class extends w {
|
|
|
5141
5141
|
recommended: r,
|
|
5142
5142
|
featured: s,
|
|
5143
5143
|
external: y
|
|
5144
|
-
}).map((
|
|
5145
|
-
switch (
|
|
5144
|
+
}).map((W) => {
|
|
5145
|
+
switch (W) {
|
|
5146
5146
|
case "injected":
|
|
5147
5147
|
return l`
|
|
5148
5148
|
${i.length ? l`<w3m-connect-multi-chain-widget
|
|
@@ -5183,7 +5183,7 @@ let $e = class extends w {
|
|
|
5183
5183
|
tabIdx=${p(this.tabIdx)}
|
|
5184
5184
|
></w3m-connect-recommended-widget>`;
|
|
5185
5185
|
default:
|
|
5186
|
-
return console.warn(`Unknown connector type: ${
|
|
5186
|
+
return console.warn(`Unknown connector type: ${W}`), null;
|
|
5187
5187
|
}
|
|
5188
5188
|
});
|
|
5189
5189
|
}
|
|
@@ -5307,7 +5307,7 @@ let z = class extends w {
|
|
|
5307
5307
|
const { termsConditionsUrl: e, privacyPolicyUrl: t } = v.state, n = (Ke = v.state.features) == null ? void 0 : Ke.legalCheckbox, r = !!(e || t) && !!n && this.walletGuide === "get-started" && !this.checked, s = {
|
|
5308
5308
|
connect: !0,
|
|
5309
5309
|
disabled: r
|
|
5310
|
-
}, y = v.state.enableWalletGuide, V = this.enableWallets,
|
|
5310
|
+
}, y = v.state.enableWalletGuide, V = this.enableWallets, W = this.isSocialEnabled || this.authConnector, E = r ? -1 : void 0;
|
|
5311
5311
|
return l`
|
|
5312
5312
|
<wui-flex flexDirection="column">
|
|
5313
5313
|
${this.legalCheckboxTemplate()}
|
|
@@ -5320,7 +5320,7 @@ let z = class extends w {
|
|
|
5320
5320
|
class="connect-methods"
|
|
5321
5321
|
flexDirection="column"
|
|
5322
5322
|
gap="s"
|
|
5323
|
-
.padding=${
|
|
5323
|
+
.padding=${W && V && y && this.walletGuide === "get-started" ? ["3xs", "s", "0", "s"] : ["3xs", "s", "s", "s"]}
|
|
5324
5324
|
>
|
|
5325
5325
|
${this.renderConnectMethod(E)}
|
|
5326
5326
|
</wui-flex>
|
|
@@ -5550,7 +5550,7 @@ let Ct = class extends w {
|
|
|
5550
5550
|
render() {
|
|
5551
5551
|
if (!this.wallet)
|
|
5552
5552
|
return this.style.display = "none", null;
|
|
5553
|
-
const { name: e, app_store: t, play_store: n, chrome_store: o, homepage: i } = this.wallet, r = f.isMobile(), s = f.isIos(), y = f.isAndroid(), V = [t, n, i, o].filter(Boolean).length > 1,
|
|
5553
|
+
const { name: e, app_store: t, play_store: n, chrome_store: o, homepage: i } = this.wallet, r = f.isMobile(), s = f.isIos(), y = f.isAndroid(), V = [t, n, i, o].filter(Boolean).length > 1, W = A.getTruncateString({
|
|
5554
5554
|
string: e,
|
|
5555
5555
|
charsStart: 12,
|
|
5556
5556
|
charsEnd: 0,
|
|
@@ -5558,25 +5558,25 @@ let Ct = class extends w {
|
|
|
5558
5558
|
});
|
|
5559
5559
|
return V && !r ? l`
|
|
5560
5560
|
<wui-cta-button
|
|
5561
|
-
label=${`Don't have ${
|
|
5561
|
+
label=${`Don't have ${W}?`}
|
|
5562
5562
|
buttonLabel="Get"
|
|
5563
5563
|
@click=${() => g.push("Downloads", { wallet: this.wallet })}
|
|
5564
5564
|
></wui-cta-button>
|
|
5565
5565
|
` : !V && i ? l`
|
|
5566
5566
|
<wui-cta-button
|
|
5567
|
-
label=${`Don't have ${
|
|
5567
|
+
label=${`Don't have ${W}?`}
|
|
5568
5568
|
buttonLabel="Get"
|
|
5569
5569
|
@click=${this.onHomePage.bind(this)}
|
|
5570
5570
|
></wui-cta-button>
|
|
5571
5571
|
` : t && s ? l`
|
|
5572
5572
|
<wui-cta-button
|
|
5573
|
-
label=${`Don't have ${
|
|
5573
|
+
label=${`Don't have ${W}?`}
|
|
5574
5574
|
buttonLabel="Get"
|
|
5575
5575
|
@click=${this.onAppStore.bind(this)}
|
|
5576
5576
|
></wui-cta-button>
|
|
5577
5577
|
` : n && y ? l`
|
|
5578
5578
|
<wui-cta-button
|
|
5579
|
-
label=${`Don't have ${
|
|
5579
|
+
label=${`Don't have ${W}?`}
|
|
5580
5580
|
buttonLabel="Get"
|
|
5581
5581
|
@click=${this.onPlayStore.bind(this)}
|
|
5582
5582
|
></wui-cta-button>
|
|
@@ -5824,7 +5824,7 @@ let ji = class extends N {
|
|
|
5824
5824
|
platform: "browser"
|
|
5825
5825
|
}
|
|
5826
5826
|
}), this.onConnect = this.onConnectProxy.bind(this), this.onAutoConnect = this.onConnectProxy.bind(this), this.isWalletConnect = !1, this.externalViewUnsubscribe.push(d.subscribeKey("activeCaipAddress", (e) => {
|
|
5827
|
-
e &&
|
|
5827
|
+
e && R.close();
|
|
5828
5828
|
}));
|
|
5829
5829
|
}
|
|
5830
5830
|
disconnectedCallback() {
|
|
@@ -6006,7 +6006,7 @@ let Di = class extends N {
|
|
|
6006
6006
|
await C.connectExternal(n, n.chain);
|
|
6007
6007
|
else
|
|
6008
6008
|
throw new Error("w3m-connecting-wc-browser: No connector found");
|
|
6009
|
-
|
|
6009
|
+
R.close(), k.sendEvent({
|
|
6010
6010
|
type: "track",
|
|
6011
6011
|
event: "CONNECT_SUCCESS",
|
|
6012
6012
|
properties: { method: "browser", name: ((e = this.wallet) == null ? void 0 : e.name) || "Unknown" }
|
|
@@ -6332,7 +6332,7 @@ let De = class extends w {
|
|
|
6332
6332
|
if (!(this.platform === "browser" || v.state.manualWCControl && !e))
|
|
6333
6333
|
try {
|
|
6334
6334
|
const { wcPairingExpiry: t, status: n } = C.state;
|
|
6335
|
-
(e || v.state.enableEmbedded || f.isPairingExpired(t) || n === "connecting") && (await C.connectWalletConnect(), this.isSiwxEnabled ||
|
|
6335
|
+
(e || v.state.enableEmbedded || f.isPairingExpired(t) || n === "connecting") && (await C.connectWalletConnect(), this.isSiwxEnabled || R.close());
|
|
6336
6336
|
} catch (t) {
|
|
6337
6337
|
k.sendEvent({
|
|
6338
6338
|
type: "track",
|
|
@@ -6348,8 +6348,8 @@ let De = class extends w {
|
|
|
6348
6348
|
}
|
|
6349
6349
|
if (this.platform)
|
|
6350
6350
|
return;
|
|
6351
|
-
const { mobile_link: e, desktop_link: t, webapp_link: n, injected: o, rdns: i } = this.wallet, r = o == null ? void 0 : o.map(({ injected_id: dn }) => dn).filter(Boolean), s = [...i ? [i] : r ?? []], y = v.state.isUniversalProvider ? !1 : s.length, V = e,
|
|
6352
|
-
Ke && !d.state.noAdapters && this.platforms.push("browser"), V && this.platforms.push(f.isMobile() ? "mobile" : "qrcode"),
|
|
6351
|
+
const { mobile_link: e, desktop_link: t, webapp_link: n, injected: o, rdns: i } = this.wallet, r = o == null ? void 0 : o.map(({ injected_id: dn }) => dn).filter(Boolean), s = [...i ? [i] : r ?? []], y = v.state.isUniversalProvider ? !1 : s.length, V = e, W = n, E = C.checkInstalled(s), Ke = y && E, un = t && !f.isMobile();
|
|
6352
|
+
Ke && !d.state.noAdapters && this.platforms.push("browser"), V && this.platforms.push(f.isMobile() ? "mobile" : "qrcode"), W && this.platforms.push("web"), un && this.platforms.push("desktop"), !Ke && y && !d.state.noAdapters && this.platforms.push("unsupported"), this.platform = this.platforms[0];
|
|
6353
6353
|
}
|
|
6354
6354
|
platformTemplate() {
|
|
6355
6355
|
switch (this.platform) {
|
|
@@ -6758,7 +6758,7 @@ let Mi = class extends w {
|
|
|
6758
6758
|
Mi = To([
|
|
6759
6759
|
h("w3m-what-is-a-wallet-view")
|
|
6760
6760
|
], Mi);
|
|
6761
|
-
const
|
|
6761
|
+
const Ro = x`
|
|
6762
6762
|
wui-flex {
|
|
6763
6763
|
max-height: clamp(360px, 540px, 80vh);
|
|
6764
6764
|
overflow: scroll;
|
|
@@ -6807,14 +6807,14 @@ let _t = class extends w {
|
|
|
6807
6807
|
`;
|
|
6808
6808
|
}
|
|
6809
6809
|
};
|
|
6810
|
-
_t.styles =
|
|
6810
|
+
_t.styles = Ro;
|
|
6811
6811
|
an([
|
|
6812
6812
|
u()
|
|
6813
6813
|
], _t.prototype, "checked", void 0);
|
|
6814
6814
|
_t = an([
|
|
6815
6815
|
h("w3m-connect-wallets-view")
|
|
6816
6816
|
], _t);
|
|
6817
|
-
const
|
|
6817
|
+
const Wo = x`
|
|
6818
6818
|
:host {
|
|
6819
6819
|
display: block;
|
|
6820
6820
|
width: var(--wui-box-size-lg);
|
|
@@ -6862,7 +6862,7 @@ let ii = class extends w {
|
|
|
6862
6862
|
`;
|
|
6863
6863
|
}
|
|
6864
6864
|
};
|
|
6865
|
-
ii.styles = [I,
|
|
6865
|
+
ii.styles = [I, Wo];
|
|
6866
6866
|
ii = Eo([
|
|
6867
6867
|
h("wui-loading-hexagon")
|
|
6868
6868
|
], ii);
|
|
@@ -7525,7 +7525,7 @@ let Tt = class extends w {
|
|
|
7525
7525
|
}
|
|
7526
7526
|
async onDisconnect() {
|
|
7527
7527
|
try {
|
|
7528
|
-
this.disconecting = !0, await C.disconnect(),
|
|
7528
|
+
this.disconecting = !0, await C.disconnect(), R.close();
|
|
7529
7529
|
} catch {
|
|
7530
7530
|
k.sendEvent({ type: "track", event: "DISCONNECT_ERROR" }), P.showError("Failed to disconnect");
|
|
7531
7531
|
} finally {
|
|
@@ -7758,7 +7758,7 @@ var vi = function(a, e, t, n) {
|
|
|
7758
7758
|
else for (var s = a.length - 1; s >= 0; s--) (r = a[s]) && (i = (o < 3 ? r(i) : o > 3 ? r(e, t, i) : r(e, t)) || i);
|
|
7759
7759
|
return o > 3 && i && Object.defineProperty(e, t, i), i;
|
|
7760
7760
|
};
|
|
7761
|
-
let
|
|
7761
|
+
let Rt = class extends w {
|
|
7762
7762
|
constructor() {
|
|
7763
7763
|
var e;
|
|
7764
7764
|
super(...arguments), this.dappName = (e = v.state.metadata) == null ? void 0 : e.name, this.isCancelling = !1, this.isSigning = !1;
|
|
@@ -7822,17 +7822,17 @@ let Wt = class extends w {
|
|
|
7822
7822
|
};
|
|
7823
7823
|
vi([
|
|
7824
7824
|
u()
|
|
7825
|
-
],
|
|
7825
|
+
], Rt.prototype, "isCancelling", void 0);
|
|
7826
7826
|
vi([
|
|
7827
7827
|
u()
|
|
7828
|
-
],
|
|
7829
|
-
|
|
7828
|
+
], Rt.prototype, "isSigning", void 0);
|
|
7829
|
+
Rt = vi([
|
|
7830
7830
|
h("w3m-siwx-sign-message-view")
|
|
7831
|
-
],
|
|
7831
|
+
], Rt);
|
|
7832
7832
|
export {
|
|
7833
7833
|
_i as AppKitAccountButton,
|
|
7834
7834
|
Ti as AppKitButton,
|
|
7835
|
-
|
|
7835
|
+
Ri as AppKitConnectButton,
|
|
7836
7836
|
Ei as AppKitNetworkButton,
|
|
7837
7837
|
Si as W3mAccountButton,
|
|
7838
7838
|
Q as W3mAccountSettingsView,
|
|
@@ -7849,12 +7849,12 @@ export {
|
|
|
7849
7849
|
De as W3mConnectingWcView,
|
|
7850
7850
|
Bi as W3mDownloadsView,
|
|
7851
7851
|
zi as W3mGetWalletView,
|
|
7852
|
-
|
|
7852
|
+
Wi as W3mNetworkButton,
|
|
7853
7853
|
it as W3mNetworkSwitchView,
|
|
7854
7854
|
Se as W3mNetworksView,
|
|
7855
7855
|
de as W3mProfileView,
|
|
7856
7856
|
os as W3mRouter,
|
|
7857
|
-
|
|
7857
|
+
Rt as W3mSIWXSignMessageView,
|
|
7858
7858
|
It as W3mSwitchActiveChainView,
|
|
7859
7859
|
Ye as W3mSwitchAddressView,
|
|
7860
7860
|
Tt as W3mUnsupportedChainView,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n, c as b } from "./if-defined-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
1
|
+
import { cE as g, cH as v, cI as y, cF as f, cG as d, cD as m } from "./index-BJ7cbG3N.js";
|
|
2
|
+
import { n, c as b } from "./if-defined-CNte9B3N.js";
|
|
3
|
+
import "./index-CmWdvIFT.js";
|
|
4
|
+
import "./index-CKikVKe2.js";
|
|
5
5
|
const z = g`
|
|
6
6
|
:host {
|
|
7
7
|
position: relative;
|
|
@@ -70,11 +70,11 @@ const $ = m`<svg width="86" height="96" fill="none">
|
|
|
70
70
|
<path
|
|
71
71
|
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"
|
|
72
72
|
/>
|
|
73
|
-
</svg>`,
|
|
73
|
+
</svg>`, I = m`<svg viewBox="0 0 48 54" fill="none">
|
|
74
74
|
<path
|
|
75
75
|
d="M43.4605 10.7248L28.0485 1.61089C25.5438 0.129705 22.4562 0.129705 19.9515 1.61088L4.53951 10.7248C2.03626 12.2051 0.5 14.9365 0.5 17.886V36.1139C0.5 39.0635 2.03626 41.7949 4.53951 43.2752L19.9515 52.3891C22.4562 53.8703 25.5438 53.8703 28.0485 52.3891L43.4605 43.2752C45.9637 41.7949 47.5 39.0635 47.5 36.114V17.8861C47.5 14.9365 45.9637 12.2051 43.4605 10.7248Z"
|
|
76
76
|
/>
|
|
77
|
-
</svg>`,
|
|
77
|
+
</svg>`, S = m`
|
|
78
78
|
<svg fill="none" viewBox="0 0 36 40">
|
|
79
79
|
<path
|
|
80
80
|
d="M15.4 2.1a5.21 5.21 0 0 1 5.2 0l11.61 6.7a5.21 5.21 0 0 1 2.61 4.52v13.4c0 1.87-1 3.59-2.6 4.52l-11.61 6.7c-1.62.93-3.6.93-5.22 0l-11.6-6.7a5.21 5.21 0 0 1-2.61-4.51v-13.4c0-1.87 1-3.6 2.6-4.52L15.4 2.1Z"
|
|
@@ -134,8 +134,8 @@ var h = function(o, t, i, r) {
|
|
|
134
134
|
let c = class extends f {
|
|
135
135
|
constructor() {
|
|
136
136
|
super(...arguments), this.size = "md", this.name = "uknown", this.networkImagesBySize = {
|
|
137
|
-
sm:
|
|
138
|
-
md:
|
|
137
|
+
sm: S,
|
|
138
|
+
md: I,
|
|
139
139
|
lg: $
|
|
140
140
|
}, this.selected = !1, this.round = !1;
|
|
141
141
|
}
|
|
@@ -316,5 +316,5 @@ u = p([
|
|
|
316
316
|
b("wui-wallet-image")
|
|
317
317
|
], u);
|
|
318
318
|
export {
|
|
319
|
-
|
|
319
|
+
I as n
|
|
320
320
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as o, c as v, o as p } from "./if-defined-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
1
|
+
import { cE as h, cH as b, cI as w, cF as g, cG as r } from "./index-BJ7cbG3N.js";
|
|
2
|
+
import { n as o, c as v, o as p } from "./if-defined-CNte9B3N.js";
|
|
3
|
+
import "./index-CmWdvIFT.js";
|
|
4
|
+
import "./index-BaJ0zEbh.js";
|
|
5
|
+
import "./index-CKikVKe2.js";
|
|
6
6
|
const x = h`
|
|
7
7
|
button {
|
|
8
8
|
column-gap: var(--wui-spacing-s);
|