@blockend/widget 1.0.55-beta.1 → 1.0.56
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/{AllRoutes-D6S-NFxZ.js → AllRoutes-CyD25qOP.js} +9 -9
- package/dist/{Box-DESo1bHm.js → Box-BqKR6yh2.js} +8 -8
- package/dist/{EstGas-Dy3XfCzY.js → EstGas-BIwMpIdu.js} +753 -676
- package/dist/{Grow-DzEr7XrA.js → Grow-BVXa982_.js} +2 -2
- package/dist/{InputComp-GcnDqx_s.js → InputComp-mfg9qUQM.js} +3 -3
- package/dist/{LoadRoute-BmUgvDid.js → LoadRoute-psJpcC1g.js} +4 -4
- package/dist/{QuotesProgress-E5JnUMS0.js → QuotesProgress-DdH9coV4.js} +1 -1
- package/dist/{SwapAsset-MBXcdeBf.js → SwapAsset-DZm2uxy-.js} +1 -1
- package/dist/{Tooltip-DSAJT2x7.js → Tooltip-BasOLFMf.js} +3 -3
- package/dist/{TxnButton-Br8R19rF.js → TxnButton-7H0ziW6y.js} +3 -3
- package/dist/{add-BryKCrpI.js → add-hMkDpQJx.js} +1 -1
- package/dist/{all-wallets-BMVOK2Ci.js → all-wallets-TzzPsASL.js} +1 -1
- package/dist/{app-store-3WurbJdI.js → app-store-Bvi3lO0E.js} +1 -1
- package/dist/{apple-eM872Ubz.js → apple-DovGBZVC.js} +1 -1
- package/dist/{arrow-bottom-HMc73fJ8.js → arrow-bottom-Bt0z0B0d.js} +1 -1
- package/dist/{arrow-bottom-circle-B1N_R8Ux.js → arrow-bottom-circle-B6pKx0dw.js} +1 -1
- package/dist/{arrow-left-Q7GAZkD7.js → arrow-left-I0NpmB6b.js} +1 -1
- package/dist/{arrow-right-ft3TcIM3.js → arrow-right-CmtwLDja.js} +1 -1
- package/dist/{arrow-top-C2xmF6tK.js → arrow-top-DokEs3HC.js} +1 -1
- package/dist/{bank-Bk-2ZR5E.js → bank-yu5LTCzK.js} +1 -1
- package/dist/{basic-CWrKgDAB.js → basic-Cuqqlzwv.js} +3 -3
- package/dist/{browser-BFB3TFfv.js → browser-D-klzbTJ.js} +1 -1
- package/dist/{card-DCx59si8.js → card-C7_UmEhR.js} +1 -1
- package/dist/{ccip-CXr08uP1.js → ccip-BqcIWBNQ.js} +1 -1
- package/dist/{checkmark-BGsuJuhE.js → checkmark-DGmFkx4x.js} +1 -1
- package/dist/{checkmark-bold-DvjIl-51.js → checkmark-bold-K5aQHF2s.js} +1 -1
- package/dist/{chevron-bottom-DAEnG7QP.js → chevron-bottom-D1sa5ntV.js} +1 -1
- package/dist/{chevron-left-D33h2ppx.js → chevron-left-CrTavssV.js} +1 -1
- package/dist/{chevron-right-C8Z_feNK.js → chevron-right-4tHjmIzI.js} +1 -1
- package/dist/{chevron-top-DwDMd3p9.js → chevron-top-BGhhItI1.js} +1 -1
- package/dist/{chrome-store-B7ZDs2Fj.js → chrome-store-BSS7R8tR.js} +1 -1
- package/dist/{clock-DnELUxSR.js → clock-C0LASIAZ.js} +1 -1
- package/dist/{close-Dnt29Pss.js → close-u-Xm2I00.js} +1 -1
- package/dist/{coinPlaceholder-C09pzuXv.js → coinPlaceholder-C-f0Hi8-.js} +1 -1
- package/dist/{compass-D8ZY16nH.js → compass-BePsWGiq.js} +1 -1
- package/dist/{copy-DEh4RBKI.js → copy-CcmBGGYL.js} +1 -1
- package/dist/{core-CgIQaiRa.js → core-DTXll9hG.js} +3 -3
- package/dist/{cursor-BtzkAOER.js → cursor-CtyBKKIZ.js} +1 -1
- package/dist/{cursor-transparent-B0nCflmb.js → cursor-transparent-DV-nTgKw.js} +1 -1
- package/dist/{desktop-toTG92uH.js → desktop-BQk6XvDk.js} +1 -1
- package/dist/{disconnect-C97lbAtY.js → disconnect-Bnip6tM-.js} +1 -1
- package/dist/{discord-BNJ3JePY.js → discord-CixZYk_L.js} +1 -1
- package/dist/{down-BFx-Bg5Q.js → down-DveeNmNl.js} +2 -2
- package/dist/{etherscan-CK87TQMS.js → etherscan-Ca4qbKIV.js} +1 -1
- package/dist/{exclamation-triangle-LWnOk0uz.js → exclamation-triangle-DEJeWCAG.js} +1 -1
- package/dist/{extension-5eIZU28A.js → extension-Dwkk2Z0q.js} +1 -1
- package/dist/{external-link-DDlCfigP.js → external-link-BVJzQ3gM.js} +1 -1
- package/dist/{facebook-1lTMXKeH.js → facebook-H39HpD1e.js} +1 -1
- package/dist/{farcaster-Di2TUKlZ.js → farcaster-B0C8pA-P.js} +1 -1
- package/dist/{filters-B_THnHaX.js → filters-BfgKjq1s.js} +1 -1
- package/dist/{getChainIds-CeLEUxe0.js → getChainIds-DJyYvC8w.js} +2 -2
- package/dist/{getCosmosAddress-B8s9Ycj4.js → getCosmosAddress-wvdpMO7J.js} +2 -2
- package/dist/{github-D5B1FE4K.js → github-CZxxY0sj.js} +1 -1
- package/dist/{google-C8_WSUfw.js → google-DbGRWYI0.js} +1 -1
- package/dist/{hamburger-BzMrQx9y.js → hamburger-C-fmenLo.js} +5 -5
- package/dist/{help-circle-C-ZOzjAP.js → help-circle-BZqpCbkX.js} +1 -1
- package/dist/{id-BynpKmej.js → id-BohjVAp4.js} +1 -1
- package/dist/{image-BRYUh760.js → image-DYGqq78I.js} +1 -1
- package/dist/{index-krrwn6Pi.js → index-9oZmbNJz.js} +4 -4
- package/dist/{index-DpHhW0_2.js → index-BE1KHDcY.js} +2 -2
- package/dist/{index-DHYWnqST.js → index-BuTM3T5V.js} +1 -1
- package/dist/{index-A8ClQmZo.js → index-C2K4V7-H.js} +1 -1
- package/dist/{index-CZwuzz6v.js → index-CJJQ2LCX.js} +5 -5
- package/dist/{index-SkYFFVLL.js → index-Cb-vA8WO.js} +11 -11
- package/dist/{index-CN6pVc2G.js → index-Cb6Z5QF3.js} +7 -7
- package/dist/{index-BK0BZT6j.js → index-CgCWrCyY.js} +10 -10
- package/dist/{index-Dnyeih-W.js → index-OBUgs_7T.js} +4 -4
- package/dist/{index-BFUVWgoD.js → index-hXKqfCGv.js} +78 -78
- package/dist/{index-C5bv1F_u.js → index-qJms-6-V.js} +88 -26
- package/dist/{index.es-vIyUKt0W.js → index.es-BNrhKlYX.js} +2 -2
- package/dist/{index.es-DB9y_DEM.js → index.es-Dodf_4Pq.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-DSQyHS8b.js → info-DpJutiAx.js} +1 -1
- package/dist/{info-circle-BfpWcI4c.js → info-circle-BwhhpI3z.js} +1 -1
- package/dist/{lightbulb-DEMYYsZd.js → lightbulb-DWYKdsBz.js} +1 -1
- package/dist/{mail-DNZ2to_6.js → mail-CEBxLp-q.js} +1 -1
- package/dist/{mobile-qsyS8oMK.js → mobile-jGiJK-tS.js} +1 -1
- package/dist/{more-CnBuKwll.js → more-Ceddtafo.js} +1 -1
- package/dist/{network-placeholder-DhJITakA.js → network-placeholder-BiDTGsDC.js} +1 -1
- package/dist/{nftPlaceholder-DD3-Cc9U.js → nftPlaceholder-Bdt3xlsh.js} +1 -1
- package/dist/{off-CBApAdDk.js → off-CjQUQbIf.js} +1 -1
- package/dist/{play-store-DDoeRc-b.js → play-store-CHlzBg61.js} +1 -1
- package/dist/{plus-C3J-XWCn.js → plus-BpDW56X5.js} +1 -1
- package/dist/{qr-code-CEoOYtHk.js → qr-code-Cn4ixB1y.js} +1 -1
- package/dist/{recycle-horizontal-BHJ_s9Yx.js → recycle-horizontal-DBU-2t6D.js} +1 -1
- package/dist/{refresh-CtzOoHls.js → refresh-DF6FHw_b.js} +1 -1
- package/dist/{reown-logo-BOj4YDUQ.js → reown-logo-DZuLV_8T.js} +1 -1
- package/dist/{search--Miza3A_.js → search-CtvrGHTU.js} +1 -1
- package/dist/{send-Bhl1lz4j.js → send-q0rRlrWy.js} +1 -1
- package/dist/{swapHorizontal-CCvKCngz.js → swapHorizontal-y4XZEygv.js} +1 -1
- package/dist/{swapHorizontalBold-B90V-dXL.js → swapHorizontalBold-DbOTapbL.js} +1 -1
- package/dist/{swapHorizontalMedium-CYjeHjnI.js → swapHorizontalMedium-DjJ6sIy9.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-DSMWeXdW.js → swapHorizontalRoundedBold-DseOC2QK.js} +1 -1
- package/dist/{swapVertical-DOJUNIvk.js → swapVertical-CtSwX7c_.js} +1 -1
- package/dist/{telegram-CufEY_4d.js → telegram-mDVVPT-5.js} +1 -1
- package/dist/{three-dots-J2ngva7G.js → three-dots-BC4W7vAE.js} +1 -1
- package/dist/{twitch-B4vTKVf5.js → twitch-BtdlLgtD.js} +1 -1
- package/dist/{twitterIcon-DLrxpAGg.js → twitterIcon-FYpWmhWb.js} +1 -1
- package/dist/{unsupportedProp-BLzY2-w_.js → unsupportedProp-Bk4k1APH.js} +1 -1
- package/dist/{useRegisterError-Cf6oylnR.js → useRegisterError-Dvrv5eoV.js} +1546 -1542
- package/dist/{verify-CbHqPQKs.js → verify-Dherv62_.js} +1 -1
- package/dist/{verify-filled-CzKx9Cph.js → verify-filled-D86UrptW.js} +1 -1
- package/dist/{w3m-modal-DhpjK4cG.js → w3m-modal-DGiYzg-1.js} +2 -2
- package/dist/{wallet-CvIeO6On.js → wallet-BlgfCBaN.js} +1 -1
- package/dist/{wallet-placeholder-BqELXTBj.js → wallet-placeholder-BjrNOIyN.js} +1 -1
- package/dist/{walletconnect-BN4c4XQ5.js → walletconnect-__d1VRdN.js} +1 -1
- package/dist/{warning-circle--dqxXujk.js → warning-circle-CR3NTneR.js} +1 -1
- package/dist/{x-CkCp5gtL.js → x-BVa5oeDy.js} +1 -1
- package/package.json +1 -1
@@ -1,17 +1,17 @@
|
|
1
1
|
import { jsxs as p, jsx as e, Fragment as J } from "react/jsx-runtime";
|
2
2
|
import de, { useState as v, useEffect as j, useRef as B1, Suspense as A1 } from "react";
|
3
|
-
import { B as j1, i as Ee, u as ke, F as e1, f as $e, C as Se, W as i1 } from "./useRegisterError-
|
4
|
-
import { u as c, l as pe, a as Ve, c as _e, S as L1, M as P1 } from "./index-
|
5
|
-
import { C as t1, M as F1, g as n1 } from "./getChainIds-
|
3
|
+
import { B as j1, i as Ee, u as ke, F as e1, f as $e, C as Se, W as i1 } from "./useRegisterError-Dvrv5eoV.js";
|
4
|
+
import { u as c, l as pe, a as Ve, c as _e, S as L1, M as P1 } from "./index-qJms-6-V.js";
|
5
|
+
import { C as t1, M as F1, g as n1 } from "./getChainIds-DJyYvC8w.js";
|
6
6
|
import { useQuery as c1 } from "@tanstack/react-query";
|
7
7
|
import { useAccount as ge, useConnect as M1, useConnections as E1, useBalance as O1 } from "wagmi";
|
8
8
|
import { useDynamicContext as Ne, useIsLoggedIn as R1 } from "@dynamic-labs/sdk-react-core";
|
9
9
|
import { S as $1 } from "./shareicon-CG3v7iKI.js";
|
10
|
-
import { u as S1, B as _1 } from "./index-
|
10
|
+
import { u as S1, B as _1 } from "./index-BE1KHDcY.js";
|
11
11
|
import { useAccount as Oe, useStargateClient as l1, useSuggestChainAndConnect as V1, WalletType as z1 } from "graz";
|
12
|
-
import { S as Z1, D as H1 } from "./down-
|
12
|
+
import { S as Z1, D as H1 } from "./down-DveeNmNl.js";
|
13
13
|
import { R as G1 } from "./index-CDq3vNnP.js";
|
14
|
-
import { C as ze, P as be, u as K1, g as r1 } from "./getCosmosAddress-
|
14
|
+
import { C as ze, P as be, u as K1, g as r1 } from "./getCosmosAddress-wvdpMO7J.js";
|
15
15
|
function b1({ fill: t }) {
|
16
16
|
return /* @__PURE__ */ p(
|
17
17
|
"svg",
|
@@ -1330,7 +1330,7 @@ function vt(t, n) {
|
|
1330
1330
|
isBalanceLoading: (i == null ? void 0 : i.networkType) == "evm" ? y : b
|
1331
1331
|
};
|
1332
1332
|
}
|
1333
|
-
const kt = de.lazy(() => import("./SwapAsset-
|
1333
|
+
const kt = de.lazy(() => import("./SwapAsset-DZm2uxy-.js")), Nt = de.lazy(() => import("./InputComp-mfg9qUQM.js")), Tt = de.lazy(() => import("./QuotesProgress-DdH9coV4.js")), It = de.lazy(() => import("./TxnButton-7H0ziW6y.js")), Bt = de.lazy(() => import("./index-OBUgs_7T.js").then((t) => t.i)), At = de.lazy(() => import("./index-9oZmbNJz.js")), jt = de.lazy(() => import("./LoadRoute-psJpcC1g.js")), Lt = de.lazy(() => import("./AllRoutes-CyD25qOP.js"));
|
1334
1334
|
function Pt({ handleShowWallet: t, showWallet: n, fetchChains: s }) {
|
1335
1335
|
var Ke, Je, qe, Xe, Qe, Ue, Ye;
|
1336
1336
|
const [o, r] = v(), [l, b] = v(!1), [d, i] = v(!1), [g, x] = v(!1), [k, B] = v(!1), [M, F] = v("all"), [h, m] = v(!1), { primaryWallet: I } = Ne(), { address: y } = ge(), { address: S } = Ve(), { getbal: _, isBalanceLoading: ne } = vt(h), { data: E, isConnected: K } = Oe({ chainId: "cosmoshub-4" }), O = c((a) => a.persist), V = c((a) => a.setPersist), f = c((a) => a.route), C = c((a) => a.fromChain), P = c((a) => a.toChain), H = c((a) => a.fromCoin), $ = c((a) => a.toCoin), w = c((a) => a.setFromChain), T = c((a) => a.setToChain), A = c((a) => a.setFromCoin), L = c((a) => a.setToCoin), N = c((a) => a.amount), R = c((a) => a.setAmount), ae = c((a) => a.customWallet), Te = c((a) => a.setCosmosChainIds), W = c((a) => a.customFee), G = c((a) => a.broadCastMode), Q = c((a) => a.evmGas), z = c((a) => a.evmSpeed), Ie = c((a) => a.slippage), ye = c((a) => a.option), Be = c((a) => a.setCustomWallet), Ae = c((a) => a.setSelectedProvider), { balanceSol: u } = mt(C, h, Re), { suggestAndConnectAsync: D } = V1(), re = !!(N.length && C.chain.length && H.coin.length && P.chain.length && $.coin.length && !g && k), ce = ["routes", y, C, P, H, $, N, I == null ? void 0 : I.address, S, ae, E == null ? void 0 : E.bech32Address, W, Q, z, Ie, G, ye.value];
|
@@ -1,23 +1,23 @@
|
|
1
1
|
import { jsxs as G, jsx as M, Fragment as Ne } from "react/jsx-runtime";
|
2
|
-
import { T as Bb } from "./Tooltip-
|
2
|
+
import { T as Bb } from "./Tooltip-BasOLFMf.js";
|
3
3
|
import { R as Fb } from "./index-CDq3vNnP.js";
|
4
|
-
import { u as X1, L as Wd, H as Y1, M as Z1, a as J1, P as Q1, S as ex } from "./hamburger-
|
5
|
-
import { r as Ub, a as tx, b as rx, B as nx, i as Mf, u as Wb, C as ax, c as ho, f as ix, d as ox } from "./useRegisterError-
|
6
|
-
import { g as jt, b as tt, _ as It, d as oe, s as mt, e as Z, f as ot, h as $t, r as jf, p as ge, P as A, i as Wt, j as it, u as Pr, a as Oi, k as Hd, m as If, n as fa, o as de, l as $f, c as ux } from "./index-
|
4
|
+
import { u as X1, L as Wd, H as Y1, M as Z1, a as J1, P as Q1, S as ex } from "./hamburger-C-fmenLo.js";
|
5
|
+
import { r as Ub, a as tx, b as rx, B as nx, i as Mf, u as Wb, C as ax, c as ho, f as ix, d as ox } from "./useRegisterError-Dvrv5eoV.js";
|
6
|
+
import { g as jt, b as tt, _ as It, d as oe, s as mt, e as Z, f as ot, h as $t, r as jf, p as ge, P as A, i as Wt, j as it, u as Pr, a as Oi, k as Hd, m as If, n as fa, o as de, l as $f, c as ux } from "./index-qJms-6-V.js";
|
7
7
|
import * as Oe from "react";
|
8
8
|
import E, { useState as ke, useEffect as ze, isValidElement as ut, Children as ir, PureComponent as Rt, forwardRef as Hb, useRef as Ca, useImperativeHandle as sx, useCallback as cx, useMemo as Bt, cloneElement as Ae, createElement as zb, useContext as _i, createContext as pr, Component as lx } from "react";
|
9
|
-
import { S as fx } from "./index-
|
9
|
+
import { S as fx } from "./index-OBUgs_7T.js";
|
10
10
|
import { useAccount as Cr } from "wagmi";
|
11
11
|
import { useDynamicContext as Si, useIsLoggedIn as Ai } from "@dynamic-labs/sdk-react-core";
|
12
12
|
import { useQuery as Pi } from "@tanstack/react-query";
|
13
|
-
import { D as Gb, S as dx } from "./down-
|
13
|
+
import { D as Gb, S as dx } from "./down-DveeNmNl.js";
|
14
14
|
import { useAccount as Rf } from "graz";
|
15
|
-
import { B as Kb } from "./getChainIds-
|
15
|
+
import { B as Kb } from "./getChainIds-DJyYvC8w.js";
|
16
16
|
import { t as fr } from "./truncate-D9t92mVX.js";
|
17
17
|
import { S as zd, a as Gd } from "./sortDown-CjBaDQTU.js";
|
18
|
-
import { O as Kd } from "./index-
|
19
|
-
import { u as px } from "./Grow-
|
20
|
-
import { c as Nf } from "./index-
|
18
|
+
import { O as Kd } from "./index-C2K4V7-H.js";
|
19
|
+
import { u as px } from "./Grow-BVXa982_.js";
|
20
|
+
import { c as Nf } from "./index-BuTM3T5V.js";
|
21
21
|
function hx(e) {
|
22
22
|
return jt("PrivateSwitchBase", e);
|
23
23
|
}
|
@@ -2,12 +2,12 @@ import { jsx as c, jsxs as C, Fragment as G } from "react/jsx-runtime";
|
|
2
2
|
import * as X from "react";
|
3
3
|
import { useState as Z, useEffect as te } from "react";
|
4
4
|
import { useConnect as Xt, useAccount as _t, useDisconnect as Dn, useSwitchAccount as Kt, useConfig as qt, useConnectors as Tn, useConnections as kn } from "wagmi";
|
5
|
-
import { p as k, g as An, b as zn, i as En, aK as Ln, d as R, _ as Qe, s as On, e as Rn, f as Re, h as Pn, P as O, D as At, a as De, u as T, l as Me } from "./index-
|
6
|
-
import { _ as en, x as Bn, C as Je, A as Gn, i as pe, d as Un, u as Te, B as tn, W as Qn } from "./useRegisterError-
|
5
|
+
import { p as k, g as An, b as zn, i as En, aK as Ln, d as R, _ as Qe, s as On, e as Rn, f as Re, h as Pn, P as O, D as At, a as De, u as T, l as Me } from "./index-qJms-6-V.js";
|
6
|
+
import { _ as en, x as Bn, C as Je, A as Gn, i as pe, d as Un, u as Te, B as tn, W as Qn } from "./useRegisterError-Dvrv5eoV.js";
|
7
7
|
import { useDynamicContext as he, useIsLoggedIn as Xe, useWalletItemActions as Ct, useSwitchWallet as _e, useUserWallets as ke, useWalletOptions as Ke } from "@dynamic-labs/sdk-react-core";
|
8
|
-
import { _ as zt, C as nn, g as We } from "./getChainIds-
|
8
|
+
import { _ as zt, C as nn, g as We } from "./getChainIds-DJyYvC8w.js";
|
9
9
|
import { useAccount as qe, useSuggestChain as rn, useSuggestChainAndConnect as sn, useConnect as on, WalletType as Se, useActiveChainIds as Yn, useDisconnect as Zn, useActiveWalletType as Vn } from "graz";
|
10
|
-
import { B as Et } from "./Box-
|
10
|
+
import { B as Et } from "./Box-BqKR6yh2.js";
|
11
11
|
import { v as $n } from "./validError-CDlJpg_f.js";
|
12
12
|
import "@dynamic-labs/solana";
|
13
13
|
import "@dynamic-labs/bitcoin";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-
|
1
|
+
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-DTXll9hG.js";
|
2
2
|
const w = {
|
3
3
|
getSpacingStyles(e, t) {
|
4
4
|
if (Array.isArray(e))
|
@@ -379,83 +379,83 @@ var R = function(e, t, i, a) {
|
|
379
379
|
return r > 3 && o && Object.defineProperty(t, i, o), o;
|
380
380
|
};
|
381
381
|
const E = {
|
382
|
-
add: async () => (await import("./add-
|
383
|
-
allWallets: async () => (await import("./all-wallets-
|
384
|
-
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-
|
385
|
-
appStore: async () => (await import("./app-store-
|
386
|
-
apple: async () => (await import("./apple-
|
387
|
-
arrowBottom: async () => (await import("./arrow-bottom-
|
388
|
-
arrowLeft: async () => (await import("./arrow-left-
|
389
|
-
arrowRight: async () => (await import("./arrow-right-
|
390
|
-
arrowTop: async () => (await import("./arrow-top-
|
391
|
-
bank: async () => (await import("./bank-
|
392
|
-
browser: async () => (await import("./browser-
|
393
|
-
card: async () => (await import("./card-
|
394
|
-
checkmark: async () => (await import("./checkmark-
|
395
|
-
checkmarkBold: async () => (await import("./checkmark-bold-
|
396
|
-
chevronBottom: async () => (await import("./chevron-bottom-
|
397
|
-
chevronLeft: async () => (await import("./chevron-left-
|
398
|
-
chevronRight: async () => (await import("./chevron-right-
|
399
|
-
chevronTop: async () => (await import("./chevron-top-
|
400
|
-
chromeStore: async () => (await import("./chrome-store-
|
401
|
-
clock: async () => (await import("./clock-
|
402
|
-
close: async () => (await import("./close-
|
403
|
-
compass: async () => (await import("./compass-
|
404
|
-
coinPlaceholder: async () => (await import("./coinPlaceholder-
|
405
|
-
copy: async () => (await import("./copy-
|
406
|
-
cursor: async () => (await import("./cursor-
|
407
|
-
cursorTransparent: async () => (await import("./cursor-transparent-
|
408
|
-
desktop: async () => (await import("./desktop-
|
409
|
-
disconnect: async () => (await import("./disconnect-
|
410
|
-
discord: async () => (await import("./discord-
|
411
|
-
etherscan: async () => (await import("./etherscan-
|
412
|
-
extension: async () => (await import("./extension-
|
413
|
-
externalLink: async () => (await import("./external-link-
|
414
|
-
facebook: async () => (await import("./facebook-
|
415
|
-
farcaster: async () => (await import("./farcaster-
|
416
|
-
filters: async () => (await import("./filters-
|
417
|
-
github: async () => (await import("./github-
|
418
|
-
google: async () => (await import("./google-
|
419
|
-
helpCircle: async () => (await import("./help-circle-
|
420
|
-
image: async () => (await import("./image-
|
421
|
-
id: async () => (await import("./id-
|
422
|
-
infoCircle: async () => (await import("./info-circle-
|
423
|
-
lightbulb: async () => (await import("./lightbulb-
|
424
|
-
mail: async () => (await import("./mail-
|
425
|
-
mobile: async () => (await import("./mobile-
|
426
|
-
more: async () => (await import("./more-
|
427
|
-
networkPlaceholder: async () => (await import("./network-placeholder-
|
428
|
-
nftPlaceholder: async () => (await import("./nftPlaceholder-
|
429
|
-
off: async () => (await import("./off-
|
430
|
-
playStore: async () => (await import("./play-store-
|
431
|
-
plus: async () => (await import("./plus-
|
432
|
-
qrCode: async () => (await import("./qr-code-
|
433
|
-
recycleHorizontal: async () => (await import("./recycle-horizontal-
|
434
|
-
refresh: async () => (await import("./refresh-
|
435
|
-
search: async () => (await import("./search
|
436
|
-
send: async () => (await import("./send-
|
437
|
-
swapHorizontal: async () => (await import("./swapHorizontal-
|
438
|
-
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-
|
439
|
-
swapHorizontalBold: async () => (await import("./swapHorizontalBold-
|
440
|
-
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-
|
441
|
-
swapVertical: async () => (await import("./swapVertical-
|
442
|
-
telegram: async () => (await import("./telegram-
|
443
|
-
threeDots: async () => (await import("./three-dots-
|
444
|
-
twitch: async () => (await import("./twitch-
|
445
|
-
twitter: async () => (await import("./x-
|
446
|
-
twitterIcon: async () => (await import("./twitterIcon-
|
447
|
-
verify: async () => (await import("./verify-
|
448
|
-
verifyFilled: async () => (await import("./verify-filled-
|
449
|
-
wallet: async () => (await import("./wallet-
|
450
|
-
walletConnect: async () => (await import("./walletconnect-
|
451
|
-
walletConnectLightBrown: async () => (await import("./walletconnect-
|
452
|
-
walletConnectBrown: async () => (await import("./walletconnect-
|
453
|
-
walletPlaceholder: async () => (await import("./wallet-placeholder-
|
454
|
-
warningCircle: async () => (await import("./warning-circle
|
455
|
-
x: async () => (await import("./x-
|
456
|
-
info: async () => (await import("./info-
|
457
|
-
exclamationTriangle: async () => (await import("./exclamation-triangle-
|
458
|
-
reown: async () => (await import("./reown-logo-
|
382
|
+
add: async () => (await import("./add-hMkDpQJx.js")).addSvg,
|
383
|
+
allWallets: async () => (await import("./all-wallets-TzzPsASL.js")).allWalletsSvg,
|
384
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-B6pKx0dw.js")).arrowBottomCircleSvg,
|
385
|
+
appStore: async () => (await import("./app-store-Bvi3lO0E.js")).appStoreSvg,
|
386
|
+
apple: async () => (await import("./apple-DovGBZVC.js")).appleSvg,
|
387
|
+
arrowBottom: async () => (await import("./arrow-bottom-Bt0z0B0d.js")).arrowBottomSvg,
|
388
|
+
arrowLeft: async () => (await import("./arrow-left-I0NpmB6b.js")).arrowLeftSvg,
|
389
|
+
arrowRight: async () => (await import("./arrow-right-CmtwLDja.js")).arrowRightSvg,
|
390
|
+
arrowTop: async () => (await import("./arrow-top-DokEs3HC.js")).arrowTopSvg,
|
391
|
+
bank: async () => (await import("./bank-yu5LTCzK.js")).bankSvg,
|
392
|
+
browser: async () => (await import("./browser-D-klzbTJ.js")).browserSvg,
|
393
|
+
card: async () => (await import("./card-C7_UmEhR.js")).cardSvg,
|
394
|
+
checkmark: async () => (await import("./checkmark-DGmFkx4x.js")).checkmarkSvg,
|
395
|
+
checkmarkBold: async () => (await import("./checkmark-bold-K5aQHF2s.js")).checkmarkBoldSvg,
|
396
|
+
chevronBottom: async () => (await import("./chevron-bottom-D1sa5ntV.js")).chevronBottomSvg,
|
397
|
+
chevronLeft: async () => (await import("./chevron-left-CrTavssV.js")).chevronLeftSvg,
|
398
|
+
chevronRight: async () => (await import("./chevron-right-4tHjmIzI.js")).chevronRightSvg,
|
399
|
+
chevronTop: async () => (await import("./chevron-top-BGhhItI1.js")).chevronTopSvg,
|
400
|
+
chromeStore: async () => (await import("./chrome-store-BSS7R8tR.js")).chromeStoreSvg,
|
401
|
+
clock: async () => (await import("./clock-C0LASIAZ.js")).clockSvg,
|
402
|
+
close: async () => (await import("./close-u-Xm2I00.js")).closeSvg,
|
403
|
+
compass: async () => (await import("./compass-BePsWGiq.js")).compassSvg,
|
404
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-C-f0Hi8-.js")).coinPlaceholderSvg,
|
405
|
+
copy: async () => (await import("./copy-CcmBGGYL.js")).copySvg,
|
406
|
+
cursor: async () => (await import("./cursor-CtyBKKIZ.js")).cursorSvg,
|
407
|
+
cursorTransparent: async () => (await import("./cursor-transparent-DV-nTgKw.js")).cursorTransparentSvg,
|
408
|
+
desktop: async () => (await import("./desktop-BQk6XvDk.js")).desktopSvg,
|
409
|
+
disconnect: async () => (await import("./disconnect-Bnip6tM-.js")).disconnectSvg,
|
410
|
+
discord: async () => (await import("./discord-CixZYk_L.js")).discordSvg,
|
411
|
+
etherscan: async () => (await import("./etherscan-Ca4qbKIV.js")).etherscanSvg,
|
412
|
+
extension: async () => (await import("./extension-Dwkk2Z0q.js")).extensionSvg,
|
413
|
+
externalLink: async () => (await import("./external-link-BVJzQ3gM.js")).externalLinkSvg,
|
414
|
+
facebook: async () => (await import("./facebook-H39HpD1e.js")).facebookSvg,
|
415
|
+
farcaster: async () => (await import("./farcaster-B0C8pA-P.js")).farcasterSvg,
|
416
|
+
filters: async () => (await import("./filters-BfgKjq1s.js")).filtersSvg,
|
417
|
+
github: async () => (await import("./github-CZxxY0sj.js")).githubSvg,
|
418
|
+
google: async () => (await import("./google-DbGRWYI0.js")).googleSvg,
|
419
|
+
helpCircle: async () => (await import("./help-circle-BZqpCbkX.js")).helpCircleSvg,
|
420
|
+
image: async () => (await import("./image-DYGqq78I.js")).imageSvg,
|
421
|
+
id: async () => (await import("./id-BohjVAp4.js")).idSvg,
|
422
|
+
infoCircle: async () => (await import("./info-circle-BwhhpI3z.js")).infoCircleSvg,
|
423
|
+
lightbulb: async () => (await import("./lightbulb-DWYKdsBz.js")).lightbulbSvg,
|
424
|
+
mail: async () => (await import("./mail-CEBxLp-q.js")).mailSvg,
|
425
|
+
mobile: async () => (await import("./mobile-jGiJK-tS.js")).mobileSvg,
|
426
|
+
more: async () => (await import("./more-Ceddtafo.js")).moreSvg,
|
427
|
+
networkPlaceholder: async () => (await import("./network-placeholder-BiDTGsDC.js")).networkPlaceholderSvg,
|
428
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-Bdt3xlsh.js")).nftPlaceholderSvg,
|
429
|
+
off: async () => (await import("./off-CjQUQbIf.js")).offSvg,
|
430
|
+
playStore: async () => (await import("./play-store-CHlzBg61.js")).playStoreSvg,
|
431
|
+
plus: async () => (await import("./plus-BpDW56X5.js")).plusSvg,
|
432
|
+
qrCode: async () => (await import("./qr-code-Cn4ixB1y.js")).qrCodeIcon,
|
433
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-DBU-2t6D.js")).recycleHorizontalSvg,
|
434
|
+
refresh: async () => (await import("./refresh-DF6FHw_b.js")).refreshSvg,
|
435
|
+
search: async () => (await import("./search-CtvrGHTU.js")).searchSvg,
|
436
|
+
send: async () => (await import("./send-q0rRlrWy.js")).sendSvg,
|
437
|
+
swapHorizontal: async () => (await import("./swapHorizontal-y4XZEygv.js")).swapHorizontalSvg,
|
438
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-DjJ6sIy9.js")).swapHorizontalMediumSvg,
|
439
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-DbOTapbL.js")).swapHorizontalBoldSvg,
|
440
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-DseOC2QK.js")).swapHorizontalRoundedBoldSvg,
|
441
|
+
swapVertical: async () => (await import("./swapVertical-CtSwX7c_.js")).swapVerticalSvg,
|
442
|
+
telegram: async () => (await import("./telegram-mDVVPT-5.js")).telegramSvg,
|
443
|
+
threeDots: async () => (await import("./three-dots-BC4W7vAE.js")).threeDotsSvg,
|
444
|
+
twitch: async () => (await import("./twitch-BtdlLgtD.js")).twitchSvg,
|
445
|
+
twitter: async () => (await import("./x-BVa5oeDy.js")).xSvg,
|
446
|
+
twitterIcon: async () => (await import("./twitterIcon-FYpWmhWb.js")).twitterIconSvg,
|
447
|
+
verify: async () => (await import("./verify-Dherv62_.js")).verifySvg,
|
448
|
+
verifyFilled: async () => (await import("./verify-filled-D86UrptW.js")).verifyFilledSvg,
|
449
|
+
wallet: async () => (await import("./wallet-BlgfCBaN.js")).walletSvg,
|
450
|
+
walletConnect: async () => (await import("./walletconnect-__d1VRdN.js")).walletConnectSvg,
|
451
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-__d1VRdN.js")).walletConnectLightBrownSvg,
|
452
|
+
walletConnectBrown: async () => (await import("./walletconnect-__d1VRdN.js")).walletConnectBrownSvg,
|
453
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-BjrNOIyN.js")).walletPlaceholderSvg,
|
454
|
+
warningCircle: async () => (await import("./warning-circle-CR3NTneR.js")).warningCircleSvg,
|
455
|
+
x: async () => (await import("./x-BVa5oeDy.js")).xSvg,
|
456
|
+
info: async () => (await import("./info-DpJutiAx.js")).infoSvg,
|
457
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-DEJeWCAG.js")).exclamationTriangleSvg,
|
458
|
+
reown: async () => (await import("./reown-logo-DZuLV_8T.js")).reownSvg
|
459
459
|
};
|
460
460
|
async function pt(e) {
|
461
461
|
if (P.has(e))
|
@@ -3,7 +3,7 @@ var Jv = (n, u, l) => u in n ? Zv(n, u, { enumerable: !0, configurable: !0, writ
|
|
3
3
|
var cc = (n, u, l) => Jv(n, typeof u != "symbol" ? u + "" : u, l);
|
4
4
|
import * as React from "react";
|
5
5
|
import React__default, { useMemo, useEffect, forwardRef, useContext, lazy as lazy$1, Suspense, useState, useRef, createContext, useCallback } from "react";
|
6
|
-
import { getAddress, SwitchChainError, numberToHex as numberToHex$1, UserRejectedRequestError, BaseError as BaseError$4, toBytes as toBytes$3, keccak256 as keccak256$1, toHex as toHex$2, isHex as isHex$1, fromHex, encodeFunctionData as encodeFunctionData$1, encodeAbiParameters as encodeAbiParameters$1, getAbiItem as getAbiItem$1, concatHex as concatHex$1, custom, http, createPublicClient, createClient, createWalletClient, RpcRequestError as RpcRequestError$1, ExecutionRevertedError as ExecutionRevertedError$1, formatGwei as formatGwei$1, toFunctionSelector as toFunctionSelector$1, parseAbiParameters, isAddress as isAddress$1, InvalidAddressError as InvalidAddressError$1, serializeErc6492Signature, zeroAddress, bytesToString as bytesToString$1, hashMessage, fromRlp, hashTypedData, hexToNumber as hexToNumber$3, assertCurrentChain as assertCurrentChain$1, hexToBigInt as hexToBigInt$1, ProviderRpcError } from "viem";
|
6
|
+
import { getAddress as getAddress$1, SwitchChainError, numberToHex as numberToHex$1, UserRejectedRequestError, BaseError as BaseError$4, toBytes as toBytes$3, keccak256 as keccak256$1, toHex as toHex$2, isHex as isHex$1, fromHex, encodeFunctionData as encodeFunctionData$1, encodeAbiParameters as encodeAbiParameters$1, getAbiItem as getAbiItem$1, concatHex as concatHex$1, custom, http, createPublicClient, createClient, createWalletClient, RpcRequestError as RpcRequestError$1, ExecutionRevertedError as ExecutionRevertedError$1, formatGwei as formatGwei$1, toFunctionSelector as toFunctionSelector$1, parseAbiParameters, isAddress as isAddress$1, InvalidAddressError as InvalidAddressError$1, serializeErc6492Signature, zeroAddress, bytesToString as bytesToString$1, hashMessage, fromRlp, hashTypedData, hexToNumber as hexToNumber$3, assertCurrentChain as assertCurrentChain$1, hexToBigInt as hexToBigInt$1, ProviderRpcError } from "viem";
|
7
7
|
import { jsx as jsx$1, jsxs, Fragment } from "react/jsx-runtime";
|
8
8
|
import { useReconnect, useConnectors, WagmiContext, http as http$1, injected, createConfig, WagmiProvider } from "wagmi";
|
9
9
|
import { useQuery, QueryClientContext, QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
@@ -1724,6 +1724,11 @@ function checksumAddress(n, u) {
|
|
1724
1724
|
const Va = `0x${Ha.join("")}`;
|
1725
1725
|
return checksumAddressCache.set(`${n}.${u}`, Va), Va;
|
1726
1726
|
}
|
1727
|
+
function getAddress(n, u) {
|
1728
|
+
if (!isAddress(n, { strict: !1 }))
|
1729
|
+
throw new InvalidAddressError({ address: n });
|
1730
|
+
return checksumAddress(n, u);
|
1731
|
+
}
|
1727
1732
|
const addressRegex = /^0x[a-fA-F0-9]{40}$/, isAddressCache = /* @__PURE__ */ new LruMap(8192);
|
1728
1733
|
function isAddress(n, u) {
|
1729
1734
|
const { strict: l = !0 } = u ?? {}, h = `${n}.${l}`;
|
@@ -5129,7 +5134,7 @@ async function call(n, u) {
|
|
5129
5134
|
});
|
5130
5135
|
return Du === "0x" ? { data: void 0 } : { data: Du };
|
5131
5136
|
} catch (Mu) {
|
5132
|
-
const $u = getRevertErrorData(Mu), { offchainLookup: Pu, offchainLookupSignature: Ou } = await import("./ccip-
|
5137
|
+
const $u = getRevertErrorData(Mu), { offchainLookup: Pu, offchainLookupSignature: Ou } = await import("./ccip-BqcIWBNQ.js");
|
5133
5138
|
if (n.ccipRead !== !1 && ($u == null ? void 0 : $u.slice(0, 10)) === Ou && xu)
|
5134
5139
|
return { data: await Pu(n, { data: $u, to: xu }) };
|
5135
5140
|
throw Bu && ($u == null ? void 0 : $u.slice(0, 10)) === "0x101bb98d" ? new CounterfactualDeploymentFailedError({ factory: tu }) : getCallError(Mu, {
|
@@ -6633,6 +6638,57 @@ class ChainNotConfiguredError extends BaseError {
|
|
6633
6638
|
});
|
6634
6639
|
}
|
6635
6640
|
}
|
6641
|
+
class ConnectorNotConnectedError extends BaseError {
|
6642
|
+
constructor() {
|
6643
|
+
super("Connector not connected."), Object.defineProperty(this, "name", {
|
6644
|
+
enumerable: !0,
|
6645
|
+
configurable: !0,
|
6646
|
+
writable: !0,
|
6647
|
+
value: "ConnectorNotConnectedError"
|
6648
|
+
});
|
6649
|
+
}
|
6650
|
+
}
|
6651
|
+
class ConnectorAccountNotFoundError extends BaseError {
|
6652
|
+
constructor({ address: u, connector: l }) {
|
6653
|
+
super(`Account "${u}" not found for connector "${l.name}".`), Object.defineProperty(this, "name", {
|
6654
|
+
enumerable: !0,
|
6655
|
+
configurable: !0,
|
6656
|
+
writable: !0,
|
6657
|
+
value: "ConnectorAccountNotFoundError"
|
6658
|
+
});
|
6659
|
+
}
|
6660
|
+
}
|
6661
|
+
class ConnectorChainMismatchError extends BaseError {
|
6662
|
+
constructor({ connectionChainId: u, connectorChainId: l }) {
|
6663
|
+
super(`The current chain of the connector (id: ${l}) does not match the connection's chain (id: ${u}).`, {
|
6664
|
+
metaMessages: [
|
6665
|
+
`Current Chain ID: ${l}`,
|
6666
|
+
`Expected Chain ID: ${u}`
|
6667
|
+
]
|
6668
|
+
}), Object.defineProperty(this, "name", {
|
6669
|
+
enumerable: !0,
|
6670
|
+
configurable: !0,
|
6671
|
+
writable: !0,
|
6672
|
+
value: "ConnectorChainMismatchError"
|
6673
|
+
});
|
6674
|
+
}
|
6675
|
+
}
|
6676
|
+
class ConnectorUnavailableReconnectingError extends BaseError {
|
6677
|
+
constructor({ connector: u }) {
|
6678
|
+
super(`Connector "${u.name}" unavailable while reconnecting.`, {
|
6679
|
+
details: [
|
6680
|
+
"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uid`.",
|
6681
|
+
"All other methods are not guaranteed to be available until reconnection completes and connectors are fully restored.",
|
6682
|
+
"This error commonly occurs for connectors that asynchronously inject after reconnection has already started."
|
6683
|
+
].join(" ")
|
6684
|
+
}), Object.defineProperty(this, "name", {
|
6685
|
+
enumerable: !0,
|
6686
|
+
configurable: !0,
|
6687
|
+
writable: !0,
|
6688
|
+
value: "ConnectorUnavailableReconnectingError"
|
6689
|
+
});
|
6690
|
+
}
|
6691
|
+
}
|
6636
6692
|
let isReconnecting = !1;
|
6637
6693
|
async function reconnect(n, u = {}) {
|
6638
6694
|
var eu, Za;
|
@@ -12855,7 +12911,7 @@ function TxnHistorySkeleton() {
|
|
12855
12911
|
] }, u)) })
|
12856
12912
|
] });
|
12857
12913
|
}
|
12858
|
-
const MainPage = lazy$1(() => import("./index-
|
12914
|
+
const MainPage = lazy$1(() => import("./index-Cb6Z5QF3.js").then((n) => n.i)), Portfolio$1 = lazy$1(() => import("./index-CgCWrCyY.js")), TransactionHistory = lazy$1(() => import("./index-Cb-vA8WO.js")), TransactionDetails = lazy$1(() => import("./index-CJJQ2LCX.js"));
|
12859
12915
|
function Routes({ fetchChains: n }) {
|
12860
12916
|
const u = useStore((Ha) => Ha.route);
|
12861
12917
|
function l() {
|
@@ -13201,7 +13257,7 @@ function v4$1(n, u, l) {
|
|
13201
13257
|
const config$1 = {
|
13202
13258
|
BACKEND: "https://api2.blockend.com/v1",
|
13203
13259
|
COINGECKO: "https://api.coingecko.com"
|
13204
|
-
}, version$1 = "1.0.
|
13260
|
+
}, version$1 = "1.0.55-beta.1", PackageJson = {
|
13205
13261
|
version: version$1
|
13206
13262
|
}, controllers = {
|
13207
13263
|
async fetchChain() {
|
@@ -17769,7 +17825,7 @@ function walletConnect(n) {
|
|
17769
17825
|
..."pairingTopic" in ru ? { pairingTopic: ru.pairingTopic } : {}
|
17770
17826
|
}), this.setRequestedChainsIds(Ja.chains.map((ou) => ou.id));
|
17771
17827
|
}
|
17772
|
-
const cu = (await au.enable()).map((bu) => getAddress(bu)), xu = await this.getChainId();
|
17828
|
+
const cu = (await au.enable()).map((bu) => getAddress$1(bu)), xu = await this.getChainId();
|
17773
17829
|
return Xa && (au.removeListener("display_uri", Xa), Xa = void 0), Ka && (au.removeListener("connect", Ka), Ka = void 0), Va || (Va = this.onAccountsChanged.bind(this), au.on("accountsChanged", Va)), Ga || (Ga = this.onChainChanged.bind(this), au.on("chainChanged", Ga)), Za || (Za = this.onDisconnect.bind(this), au.on("disconnect", Za)), eu || (eu = this.onSessionDelete.bind(this), au.on("session_delete", eu)), { accounts: cu, chainId: xu };
|
17774
17830
|
} catch (au) {
|
17775
17831
|
throw /(user rejected|connection request reset)/i.test(au == null ? void 0 : au.message) ? new UserRejectedRequestError(au) : au;
|
@@ -17787,7 +17843,7 @@ function walletConnect(n) {
|
|
17787
17843
|
}
|
17788
17844
|
},
|
17789
17845
|
async getAccounts() {
|
17790
|
-
return (await this.getProvider()).accounts.map((ru) => getAddress(ru));
|
17846
|
+
return (await this.getProvider()).accounts.map((ru) => getAddress$1(ru));
|
17791
17847
|
},
|
17792
17848
|
async getProvider({ chainId: tu } = {}) {
|
17793
17849
|
var su;
|
@@ -17795,7 +17851,7 @@ function walletConnect(n) {
|
|
17795
17851
|
const nu = Ja.chains.map((du) => du.id);
|
17796
17852
|
if (!nu.length)
|
17797
17853
|
return;
|
17798
|
-
const { EthereumProvider: au } = await import("./index.es-
|
17854
|
+
const { EthereumProvider: au } = await import("./index.es-BNrhKlYX.js").then((du) => du.H);
|
17799
17855
|
return await au.init({
|
17800
17856
|
...n,
|
17801
17857
|
disableProviderPing: !0,
|
@@ -17881,7 +17937,7 @@ function walletConnect(n) {
|
|
17881
17937
|
},
|
17882
17938
|
onAccountsChanged(tu) {
|
17883
17939
|
tu.length === 0 ? this.onDisconnect() : Ja.emitter.emit("change", {
|
17884
|
-
accounts: tu.map((ru) => getAddress(ru))
|
17940
|
+
accounts: tu.map((ru) => getAddress$1(ru))
|
17885
17941
|
});
|
17886
17942
|
},
|
17887
17943
|
onChainChanged(tu) {
|
@@ -21884,7 +21940,7 @@ function encodeSessionWithPeriodIds(n, u) {
|
|
21884
21940
|
return encodeAbiParameters$1([getSessionSpec(), { type: "uint64[]" }], [n, u]);
|
21885
21941
|
}
|
21886
21942
|
const getPeriodIdsForTransaction = (n) => {
|
21887
|
-
const u = n.timestamp || BigInt(Math.floor(Date.now() / 1e3)), l = getAddress(n.target), h = (eu) => eu.limitType === LimitType.Allowance ? u / eu.period : 0n, Ha = () => n.sessionConfig.transferPolicies.find((eu) => eu.target.toLowerCase() === l.toLowerCase()), Va = () => n.sessionConfig.callPolicies.find((eu) => eu.target.toLowerCase() === l.toLowerCase() && eu.selector == n.selector), Ga = !!n.selector && n.selector.length >= 10, Ka = Ga ? Va() : Ha();
|
21943
|
+
const u = n.timestamp || BigInt(Math.floor(Date.now() / 1e3)), l = getAddress$1(n.target), h = (eu) => eu.limitType === LimitType.Allowance ? u / eu.period : 0n, Ha = () => n.sessionConfig.transferPolicies.find((eu) => eu.target.toLowerCase() === l.toLowerCase()), Va = () => n.sessionConfig.callPolicies.find((eu) => eu.target.toLowerCase() === l.toLowerCase() && eu.selector == n.selector), Ga = !!n.selector && n.selector.length >= 10, Ka = Ga ? Va() : Ha();
|
21888
21944
|
if (!Ka)
|
21889
21945
|
throw new Error("Transaction does not fit any policy");
|
21890
21946
|
return [
|
@@ -23082,7 +23138,7 @@ async function getLinkedAccounts(n, u) {
|
|
23082
23138
|
const { agwAddress: l } = u;
|
23083
23139
|
if (!isAddress$1(l, { strict: !1 }))
|
23084
23140
|
throw new InvalidAddressError$1({ address: l });
|
23085
|
-
const h = getAddress(l);
|
23141
|
+
const h = getAddress$1(l);
|
23086
23142
|
return {
|
23087
23143
|
linkedAccounts: [...await getAction(n, readContract, "readContract")({
|
23088
23144
|
abi: ExclusiveDelegateResolverAbi,
|
@@ -23099,7 +23155,7 @@ async function getLinkedAgw(n, u) {
|
|
23099
23155
|
throw new BaseError$4("No address provided");
|
23100
23156
|
if (!isAddress$1(l, { strict: !1 }))
|
23101
23157
|
throw new InvalidAddressError$1({ address: l });
|
23102
|
-
const h = getAddress(l), Ha = await getAction(n, readContract, "readContract")({
|
23158
|
+
const h = getAddress$1(l), Ha = await getAction(n, readContract, "readContract")({
|
23103
23159
|
abi: ExclusiveDelegateResolverAbi,
|
23104
23160
|
address: CANONICAL_EXCLUSIVE_DELEGATE_RESOLVER_ADDRESS,
|
23105
23161
|
functionName: "exclusiveWalletByRights",
|
@@ -25453,7 +25509,7 @@ function s(n, u) {
|
|
25453
25509
|
}, async getAccounts() {
|
25454
25510
|
let Xa = await this.getProvider();
|
25455
25511
|
if (!Xa) throw new ProviderNotFoundError();
|
25456
|
-
return (await Xa.request({ method: "eth_accounts" })).map((eu) => getAddress(eu));
|
25512
|
+
return (await Xa.request({ method: "eth_accounts" })).map((eu) => getAddress$1(eu));
|
25457
25513
|
}, async getChainId() {
|
25458
25514
|
let Xa = await this.getProvider();
|
25459
25515
|
if (!Xa) throw new ProviderNotFoundError();
|
@@ -25475,7 +25531,7 @@ function s(n, u) {
|
|
25475
25531
|
if (Xa.length !== 0) if (Ka.emitter.listenerCount("connect")) {
|
25476
25532
|
let Za = (await this.getChainId()).toString();
|
25477
25533
|
(eu = this.onConnect) == null || eu.call(this, { chainId: Za });
|
25478
|
-
} else Ka.emitter.emit("change", { accounts: Xa.map((Za) => getAddress(Za)) });
|
25534
|
+
} else Ka.emitter.emit("change", { accounts: Xa.map((Za) => getAddress$1(Za)) });
|
25479
25535
|
else this.onDisconnect();
|
25480
25536
|
}, onChainChanged(Xa) {
|
25481
25537
|
let eu = Number(Xa);
|
@@ -48754,6 +48810,7 @@ export {
|
|
48754
48810
|
ensureBytes$1 as Z,
|
48755
48811
|
_objectWithoutPropertiesLoose as _,
|
48756
48812
|
useWallet as a,
|
48813
|
+
createTheme as a$,
|
48757
48814
|
bytesToNumberLE$1 as a0,
|
48758
48815
|
numberToBytesLE$1 as a1,
|
48759
48816
|
bytesToHex$1 as a2,
|
@@ -48776,19 +48833,21 @@ export {
|
|
48776
48833
|
blockendEvents as aJ,
|
48777
48834
|
extendSxProp as aK,
|
48778
48835
|
getDisplayName$1 as aL,
|
48779
|
-
|
48780
|
-
|
48781
|
-
|
48782
|
-
|
48783
|
-
|
48784
|
-
|
48785
|
-
|
48786
|
-
|
48787
|
-
|
48788
|
-
|
48789
|
-
|
48790
|
-
|
48791
|
-
|
48836
|
+
ConnectorUnavailableReconnectingError as aM,
|
48837
|
+
ConnectorNotConnectedError as aN,
|
48838
|
+
ConnectorChainMismatchError as aO,
|
48839
|
+
parseAccount as aP,
|
48840
|
+
getAddress as aQ,
|
48841
|
+
ConnectorAccountNotFoundError as aR,
|
48842
|
+
getNextTxn as aS,
|
48843
|
+
createTransaction as aT,
|
48844
|
+
checkStatus as aU,
|
48845
|
+
pollTransactionStatus as aV,
|
48846
|
+
executeTransaction as aW,
|
48847
|
+
require$$1 as aX,
|
48848
|
+
styled$1 as aY,
|
48849
|
+
styleFunctionSx$1 as aZ,
|
48850
|
+
ClassNameGenerator as a_,
|
48792
48851
|
requireInteropRequireDefault as aa,
|
48793
48852
|
BN as ab,
|
48794
48853
|
sha256$2 as ac,
|
@@ -48816,6 +48875,9 @@ export {
|
|
48816
48875
|
isAddress as ay,
|
48817
48876
|
InvalidAddressError as az,
|
48818
48877
|
generateUtilityClasses as b,
|
48878
|
+
MainPage$2 as b0,
|
48879
|
+
useUpdateWagmiConfig as b1,
|
48880
|
+
App as b2,
|
48819
48881
|
controllers as c,
|
48820
48882
|
_extends$1 as d,
|
48821
48883
|
clsx as e,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { o as Ta, p as ve, aj as Sl, ak as K, a9 as Ce, n as Bt } from "./index-
|
1
|
+
import { o as Ta, p as ve, aj as Sl, ak as K, a9 as Ce, n as Bt } from "./index-qJms-6-V.js";
|
2
2
|
import { recoverAddress as bf } from "viem";
|
3
3
|
var En = { exports: {} }, hc;
|
4
4
|
function vf() {
|
@@ -12931,7 +12931,7 @@ let L3 = class af {
|
|
12931
12931
|
}
|
12932
12932
|
};
|
12933
12933
|
const j3 = L3, q3 = "wc", k3 = "ethereum_provider", M3 = `${q3}@2:${k3}:`, z3 = "https://rpc.walletconnect.org/v1/", ns = ["eth_sendTransaction", "personal_sign"], cf = ["eth_accounts", "eth_requestAccounts", "eth_sendRawTransaction", "eth_sign", "eth_signTransaction", "eth_signTypedData", "eth_signTypedData_v3", "eth_signTypedData_v4", "eth_sendTransaction", "personal_sign", "wallet_switchEthereumChain", "wallet_addEthereumChain", "wallet_getPermissions", "wallet_requestPermissions", "wallet_registerOnboarding", "wallet_watchAsset", "wallet_scanQRCode", "wallet_sendCalls", "wallet_getCapabilities", "wallet_getCallsStatus", "wallet_showCallsStatus"], ss = ["chainChanged", "accountsChanged"], uf = ["chainChanged", "accountsChanged", "message", "disconnect", "connect"], H3 = async () => {
|
12934
|
-
const { createAppKit: r } = await import("./core-
|
12934
|
+
const { createAppKit: r } = await import("./core-DTXll9hG.js").then((e) => e.G);
|
12935
12935
|
return r;
|
12936
12936
|
};
|
12937
12937
|
var V3 = Object.defineProperty, K3 = Object.defineProperties, W3 = Object.getOwnPropertyDescriptors, _l = Object.getOwnPropertySymbols, G3 = Object.prototype.hasOwnProperty, Y3 = Object.prototype.propertyIsEnumerable, xa = (r, e, t) => e in r ? V3(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, pr = (r, e) => {
|
package/dist/index.es.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as C } from "./core-
|
1
|
+
import { m as C } from "./core-DTXll9hG.js";
|
2
2
|
const t = C`<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
3
3
|
<path d="M9.125 6.875C9.125 6.57833 9.21298 6.28832 9.3778 6.04165C9.54262 5.79497 9.77689 5.60271 10.051 5.48918C10.3251 5.37565 10.6267 5.34594 10.9176 5.40382C11.2086 5.4617 11.4759 5.60456 11.6857 5.81434C11.8954 6.02412 12.0383 6.29139 12.0962 6.58236C12.1541 6.87334 12.1244 7.17494 12.0108 7.44903C11.8973 7.72311 11.705 7.95738 11.4584 8.1222C11.2117 8.28703 10.9217 8.375 10.625 8.375C10.2272 8.375 9.84565 8.21696 9.56434 7.93566C9.28304 7.65436 9.125 7.27282 9.125 6.875ZM21.125 11C21.125 13.0025 20.5312 14.9601 19.4186 16.6251C18.3061 18.2902 16.7248 19.5879 14.8747 20.3543C13.0246 21.1206 10.9888 21.3211 9.02471 20.9305C7.06066 20.5398 5.25656 19.5755 3.84055 18.1595C2.42454 16.7435 1.46023 14.9393 1.06955 12.9753C0.678878 11.0112 0.879387 8.97543 1.64572 7.12533C2.41206 5.27523 3.70981 3.69392 5.37486 2.58137C7.0399 1.46882 8.99747 0.875 11 0.875C13.6844 0.877978 16.258 1.94567 18.1562 3.84383C20.0543 5.74199 21.122 8.3156 21.125 11ZM18.875 11C18.875 9.44247 18.4131 7.91992 17.5478 6.62488C16.6825 5.32985 15.4526 4.32049 14.0136 3.72445C12.5747 3.12841 10.9913 2.97246 9.46367 3.27632C7.93607 3.58017 6.53288 4.3302 5.43154 5.43153C4.3302 6.53287 3.58018 7.93606 3.27632 9.46366C2.97246 10.9913 3.12841 12.5747 3.72445 14.0136C4.32049 15.4526 5.32985 16.6825 6.62489 17.5478C7.91993 18.4131 9.44248 18.875 11 18.875C13.0879 18.8728 15.0896 18.0424 16.566 16.566C18.0424 15.0896 18.8728 13.0879 18.875 11ZM12.125 14.4387V11.375C12.125 10.8777 11.9275 10.4008 11.5758 10.0492C11.2242 9.69754 10.7473 9.5 10.25 9.5C9.98433 9.4996 9.72708 9.59325 9.52383 9.76435C9.32058 9.93544 9.18444 10.173 9.13952 10.4348C9.09461 10.6967 9.14381 10.966 9.27843 11.195C9.41304 11.4241 9.62438 11.5981 9.875 11.6863V14.75C9.875 15.2473 10.0725 15.7242 10.4242 16.0758C10.7758 16.4275 11.2527 16.625 11.75 16.625C12.0157 16.6254 12.2729 16.5318 12.4762 16.3607C12.6794 16.1896 12.8156 15.952 12.8605 15.6902C12.9054 15.4283 12.8562 15.159 12.7216 14.93C12.587 14.7009 12.3756 14.5269 12.125 14.4387Z" fill="currentColor"/>
|
4
4
|
</svg>`;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as C } from "./core-
|
1
|
+
import { m as C } from "./core-DTXll9hG.js";
|
2
2
|
const e = C`<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
3
3
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.00177 1.78569C3.8179 1.78569 2.85819 2.74508 2.85819 3.92855C2.85819 4.52287 3.09928 5.05956 3.49077 5.4485L3.5005 5.45817C3.64381 5.60054 3.76515 5.72108 3.85631 5.81845C3.93747 5.90512 4.05255 6.03218 4.12889 6.1805C4.16999 6.26034 4.19 6.30843 4.21768 6.39385C4.22145 6.40546 4.22499 6.41703 4.22833 6.42855H5.77521C5.77854 6.41703 5.78208 6.40547 5.78585 6.39385C5.81353 6.30843 5.83354 6.26034 5.87464 6.1805C5.95098 6.03218 6.06606 5.90512 6.14722 5.81845C6.23839 5.72108 6.35973 5.60053 6.50304 5.45816L6.51276 5.4485C6.90425 5.05956 7.14534 4.52287 7.14534 3.92855C7.14534 2.74508 6.18563 1.78569 5.00177 1.78569ZM5.71629 7.85712H4.28724C4.28724 8.21403 4.28876 8.40985 4.30703 8.54571C4.30727 8.54748 4.30751 8.54921 4.30774 8.55091C4.30944 8.55115 4.31118 8.55138 4.31295 8.55162C4.44884 8.56989 4.64474 8.5714 5.00177 8.5714C5.3588 8.5714 5.55469 8.56989 5.69059 8.55162C5.69236 8.55138 5.69409 8.55115 5.69579 8.55091C5.69603 8.54921 5.69627 8.54748 5.6965 8.54571C5.71477 8.40985 5.71629 8.21403 5.71629 7.85712ZM2.85819 7.14283C2.85819 6.9948 2.85796 6.91114 2.8548 6.85032C2.85461 6.84656 2.85441 6.84309 2.85421 6.83988C2.84393 6.8282 2.83047 6.81334 2.81301 6.79469C2.74172 6.71856 2.63908 6.61643 2.48342 6.46178C1.83307 5.81566 1.42914 4.91859 1.42914 3.92855C1.42914 1.9561 3.02866 0.357117 5.00177 0.357117C6.97487 0.357117 8.57439 1.9561 8.57439 3.92855C8.57439 4.91859 8.17047 5.81566 7.52012 6.46178C7.36445 6.61643 7.26182 6.71856 7.19053 6.79469C7.17306 6.81334 7.1596 6.8282 7.14932 6.83988C7.14912 6.84309 7.14892 6.84656 7.14873 6.85032C7.14557 6.91114 7.14534 6.9948 7.14534 7.14283V7.85712C7.14534 7.87009 7.14535 7.88304 7.14535 7.89598C7.14541 8.19889 7.14547 8.49326 7.11281 8.73606C7.076 9.00978 6.98631 9.32212 6.72678 9.58156C6.46726 9.841 6.15481 9.93065 5.881 9.96745C5.63813 10.0001 5.34365 10 5.04064 9.99998C5.0277 9.99998 5.01474 9.99998 5.00177 9.99998C4.98879 9.99998 4.97583 9.99998 4.96289 9.99998C4.65988 10 4.36541 10.0001 4.12253 9.96745C3.84872 9.93065 3.53628 9.841 3.27675 9.58156C3.01722 9.32212 2.92753 9.00978 2.89072 8.73606C2.85807 8.49326 2.85812 8.19889 2.85818 7.89598C2.85819 7.88304 2.85819 7.87008 2.85819 7.85712V7.14283ZM7.1243 6.86977C7.12366 6.87069 7.1233 6.87116 7.12327 6.87119C7.12323 6.87123 7.12356 6.87076 7.1243 6.86977ZM2.88027 6.8712C2.88025 6.87119 2.87988 6.8707 2.87921 6.86975C2.87995 6.87072 2.88028 6.8712 2.88027 6.8712Z" fill="#949E9E"/>
|
4
4
|
</svg>`;
|