@blockend/widget 1.0.32 → 1.0.33
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-CPwuTwqd.js → AllRoutes-B04uZfaa.js} +9 -9
- package/dist/{Box-CIChapvH.js → Box-BWDJCGbI.js} +6 -6
- package/dist/{EstGas-CEFILtyf.js → EstGas-QSPrdq3Y.js} +26 -30
- package/dist/{Grow-DJZj9zjv.js → Grow-37t11tle.js} +2 -2
- package/dist/{InputComp-DqF1JGIu.js → InputComp-bKVjlcbT.js} +4 -4
- package/dist/{LoadRoute-r3sHTYXM.js → LoadRoute-C3vokLk0.js} +5 -5
- package/dist/{QuotesProgress-BXVLxZ8U.js → QuotesProgress-DlgLQ2zo.js} +1 -1
- package/dist/{SwapAsset-07WvVwl-.js → SwapAsset-tD6wSJDD.js} +1 -1
- package/dist/{Tooltip-CNAsCF8n.js → Tooltip-BqYgFn1F.js} +3 -3
- package/dist/{TxnButton-D2TTkFYA.js → TxnButton-DefErcCE.js} +9 -9
- package/dist/{add-t2GqC9VA.js → add-D32G_xKI.js} +1 -1
- package/dist/{all-wallets-DFyf0q31.js → all-wallets-LjjqiTnJ.js} +1 -1
- package/dist/{app-store-aAahwmBP.js → app-store-S7C23kTz.js} +1 -1
- package/dist/{apple-DeRgpwlc.js → apple-DMd4RArz.js} +1 -1
- package/dist/{arrow-bottom-DdEOkaAj.js → arrow-bottom-C0cVMl2n.js} +1 -1
- package/dist/{arrow-bottom-circle-BWwREWcv.js → arrow-bottom-circle-veMvHYVR.js} +1 -1
- package/dist/{arrow-left-CulyLmoH.js → arrow-left-B6VdOxSY.js} +1 -1
- package/dist/{arrow-right-Dwr7TISn.js → arrow-right-CyrokJyU.js} +1 -1
- package/dist/{arrow-top-pL4rM_y8.js → arrow-top-S8qh5z92.js} +1 -1
- package/dist/{bank-CPuyK_08.js → bank-B9ySjxm-.js} +1 -1
- package/dist/{basic-CVc9xEvb.js → basic-BXha5sM_.js} +3 -3
- package/dist/{browser-Cbq2Zbp4.js → browser-CWmyZDF1.js} +1 -1
- package/dist/{card-B_hUtPWK.js → card-TzoSVbiE.js} +1 -1
- package/dist/{ccip-BLVGcR4A.js → ccip-B97isPV8.js} +1 -1
- package/dist/{checkmark-WEqTsFAc.js → checkmark-Be4tNZY8.js} +1 -1
- package/dist/{checkmark-bold-Du_ZvhqM.js → checkmark-bold-sAoooMoy.js} +1 -1
- package/dist/{chevron-bottom-C-s-lv4L.js → chevron-bottom-Cdd52Yir.js} +1 -1
- package/dist/{chevron-left-C7NcRElx.js → chevron-left-Dp8rM2qD.js} +1 -1
- package/dist/{chevron-right-CSzmAmdn.js → chevron-right-kH3Pgt8h.js} +1 -1
- package/dist/{chevron-top-Dd99Wfel.js → chevron-top-lx-9iWm1.js} +1 -1
- package/dist/{chrome-store-C4p77Of0.js → chrome-store-BGxPgdkC.js} +1 -1
- package/dist/{clock-Cib24qjH.js → clock-B3r9UiFY.js} +1 -1
- package/dist/{close-BXjEkTvS.js → close-Cc6SJ0A9.js} +1 -1
- package/dist/{coinPlaceholder-BFNC7cQN.js → coinPlaceholder-DqH2n2v1.js} +1 -1
- package/dist/{compass-CXPX5Ycp.js → compass-CiKYczAi.js} +1 -1
- package/dist/{copy-BEawMbmF.js → copy-DR0dlbF5.js} +1 -1
- package/dist/{core-Bez9Ow7F.js → core-D9oRINim.js} +3 -3
- package/dist/{cursor-transparent-ZjJ0P2vr.js → cursor-transparent-BABlb938.js} +1 -1
- package/dist/{cursor-Cxq4Q9jk.js → cursor-vv-pXAzC.js} +1 -1
- package/dist/{desktop-BhZVovAp.js → desktop-aFWdAU4O.js} +1 -1
- package/dist/{disconnect-AC-bffZO.js → disconnect-Cz0MwjuJ.js} +1 -1
- package/dist/{discord-dT97h-CC.js → discord-BkNiORDh.js} +1 -1
- package/dist/{down-DP56YSKp.js → down-BAe_uoMx.js} +2 -2
- package/dist/{etherscan-rYFRhRTM.js → etherscan-4wT3rhj5.js} +1 -1
- package/dist/{exclamation-triangle-C-pCuC08.js → exclamation-triangle-CSv7sjYs.js} +1 -1
- package/dist/{extension-BnqauLSn.js → extension-B4acJb16.js} +1 -1
- package/dist/{external-link-M9D6e_F3.js → external-link-zFdRyGh8.js} +1 -1
- package/dist/{facebook-DHezcoD-.js → facebook-D2h4REjy.js} +1 -1
- package/dist/{farcaster-D0Ky-Imv.js → farcaster-acRwWMSn.js} +1 -1
- package/dist/{filters-B02NYLWq.js → filters-DE1yHCJy.js} +1 -1
- package/dist/{getChainIds-CJd2TZYT.js → getChainIds-B4BLdhKd.js} +2 -2
- package/dist/{getCosmosAddress-DTZfw04G.js → getCosmosAddress-BfMdDDaH.js} +2 -2
- package/dist/{github-BzQkIMuE.js → github-BrCBPjDS.js} +1 -1
- package/dist/{google-BpwCJ4Fs.js → google-DYC6Um96.js} +1 -1
- package/dist/{hamburger-BzqwkUjE.js → hamburger-sg42nvNd.js} +5 -5
- package/dist/{help-circle-C0nOySHC.js → help-circle-CKvIeM4J.js} +1 -1
- package/dist/{id-DFP_kFd4.js → id-FXzF1V3L.js} +1 -1
- package/dist/{image-QiYOAGjM.js → image-rOZMtN9o.js} +1 -1
- package/dist/{index-DDk00SOL.js → index-B0E-rGOh.js} +5 -5
- package/dist/{index-DxPp2gBS.js → index-B5gV3APh.js} +78 -78
- package/dist/{index-D5hLIe-N.js → index-CIjTGwYH.js} +1 -1
- package/dist/{index-DW3W7zaF.js → index-Cmj3dp3U.js} +3 -3
- package/dist/{index-Dy_n2MPD.js → index-DEovHqJS.js} +4 -4
- package/dist/{index-oc8HPfOF.js → index-DOcwHfd3.js} +12 -12
- package/dist/{index-CLzkn733.js → index-DSlXIHtr.js} +11869 -11391
- package/dist/{index-DaJ1272l.js → index-PIAjHNgG.js} +10 -10
- package/dist/{index-CrC4B7xn.js → index-SiMIoFT9.js} +2 -2
- package/dist/{index-DXdD3L9f.js → index-Y94UWILI.js} +179 -179
- package/dist/{index-CjtwASJt.js → index-baetUfmH.js} +4 -4
- package/dist/{index.es-Bsr7zP98.js → index.es-D6RvS0tB.js} +1 -1
- package/dist/{index.es-C-j-Ghef.js → index.es-TLoHC_Sf.js} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/{info-circle-Dla9169_.js → info-circle-BYfEprqC.js} +1 -1
- package/dist/{info-BTLQJ-wd.js → info-dh7qmm_R.js} +1 -1
- package/dist/{lightbulb-PN8DA_Wh.js → lightbulb-3S8w5B31.js} +1 -1
- package/dist/{mail-BGYZut_4.js → mail-DgcPoOPs.js} +1 -1
- package/dist/{mobile-BM760ZzX.js → mobile-C8egRR0V.js} +1 -1
- package/dist/{more-rHGnl2ck.js → more-CU_oPwwY.js} +1 -1
- package/dist/{network-placeholder-CyQl-3_2.js → network-placeholder-CqjaxlS7.js} +1 -1
- package/dist/{nftPlaceholder-nuUJ8nKY.js → nftPlaceholder-D6mZlZmz.js} +1 -1
- package/dist/{off-GYlwYDrT.js → off-DHeUICx6.js} +1 -1
- package/dist/{play-store-Ck01Ez1F.js → play-store-DyGxjYv5.js} +1 -1
- package/dist/{plus-CQfXWgLw.js → plus-k4hEdLAH.js} +1 -1
- package/dist/{qr-code-CyLVwLY7.js → qr-code-CkavLc0Z.js} +1 -1
- package/dist/{recycle-horizontal-DvnWPcEQ.js → recycle-horizontal-YzkyX2fY.js} +1 -1
- package/dist/{refresh-BOxj8b2n.js → refresh-E1vpdqCO.js} +1 -1
- package/dist/{reown-logo-D1iprOTg.js → reown-logo-BZbc_-R6.js} +1 -1
- package/dist/{search-DrPaZPnc.js → search-B9vQkIsQ.js} +1 -1
- package/dist/{send-ybBREe4b.js → send-C9ROxhya.js} +1 -1
- package/dist/{shareicon-D3Qj5j1T.js → shareicon-CLveBf8l.js} +2 -2
- package/dist/{swapHorizontal-BddjZdXK.js → swapHorizontal-BhLDDuiL.js} +1 -1
- package/dist/{swapHorizontalBold-B6AWjPZ9.js → swapHorizontalBold-B1IxJLem.js} +1 -1
- package/dist/{swapHorizontalMedium-CNacWoBn.js → swapHorizontalMedium--fvn_6KH.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-B8VcPnqt.js → swapHorizontalRoundedBold-fZowAp5m.js} +1 -1
- package/dist/{swapVertical-zY2BbSyQ.js → swapVertical-CDwndQ4s.js} +1 -1
- package/dist/{telegram-DS4l-8Oc.js → telegram-BLbguJ3E.js} +1 -1
- package/dist/{three-dots-RctNqamK.js → three-dots-DyIG0Aiq.js} +1 -1
- package/dist/{twitch-CJ0llIIH.js → twitch-054mPrps.js} +1 -1
- package/dist/{twitterIcon-pgvN9-bP.js → twitterIcon-DrlgKmas.js} +1 -1
- package/dist/{unsupportedProp-BJVuEW_b.js → unsupportedProp-Dr6Tadlk.js} +1 -1
- package/dist/{useRegisterError-C_YLA1dw.js → useRegisterError-C52MuupC.js} +1 -1
- package/dist/{verify-filled-meyb7E16.js → verify-filled-Dw1_4VEj.js} +1 -1
- package/dist/{verify-BeZLo1Fq.js → verify-uz7q7EMX.js} +1 -1
- package/dist/{w3m-modal-C-Jp9NVv.js → w3m-modal-CJM8um8G.js} +2 -2
- package/dist/{wallet-CFcOgSsz.js → wallet-a9cCMI05.js} +1 -1
- package/dist/{wallet-placeholder-CeUMILZq.js → wallet-placeholder-Cqiz2_rA.js} +1 -1
- package/dist/{walletconnect-D6LB1PyC.js → walletconnect-96twp7MP.js} +1 -1
- package/dist/{warning-circle-BRtzofvT.js → warning-circle-C4mV6fIZ.js} +1 -1
- package/dist/{x-DKQAOOh3.js → x-vRe7FHUS.js} +1 -1
- package/package.json +7 -19
- package/dist/secp256k1-DgmH1qVg.js +0 -1251
@@ -3,16 +3,16 @@ import * as v from "react";
|
|
3
3
|
import De, { useState as J, useEffect as Fe } from "react";
|
4
4
|
import { S as Pe, a as _e } from "./sortDown-CjBaDQTU.js";
|
5
5
|
import { t as B } from "./truncate-D9t92mVX.js";
|
6
|
-
import { g as Ce, d as Ae, c as oe, s as ce, a as Te, e as kt, v as Ne, o as Ut, q as Ue, t as Rt, b as Dt, i as Ie, j as ue, f as ve } from "./useRegisterError-
|
7
|
-
import { g as Ee, _ as pe, b as k, d as at, p as Z, P as r, m as Ft, u as se } from "./index-
|
6
|
+
import { g as Ce, d as Ae, c as oe, s as ce, a as Te, e as kt, v as Ne, o as Ut, q as Ue, t as Rt, b as Dt, i as Ie, j as ue, f as ve } from "./useRegisterError-C52MuupC.js";
|
7
|
+
import { g as Ee, _ as pe, b as k, d as at, p as Z, P as r, m as Ft, u as se } from "./index-DSlXIHtr.js";
|
8
8
|
import { S as We, C as je, G as Ve } from "./clockIcon-C2W5xvyt.js";
|
9
|
-
import { T as Pt } from "./Tooltip-
|
10
|
-
import { O as we } from "./index-
|
11
|
-
import { B as _t } from "./Box-
|
12
|
-
import { c as ct, d as it, r as At } from "./index-
|
13
|
-
import { b as dt } from "./Grow-
|
14
|
-
import { B as bt, o as ut } from "./getChainIds-
|
15
|
-
import { u as Wt } from "./unsupportedProp-
|
9
|
+
import { T as Pt } from "./Tooltip-BqYgFn1F.js";
|
10
|
+
import { O as we } from "./index-CIjTGwYH.js";
|
11
|
+
import { B as _t } from "./Box-BWDJCGbI.js";
|
12
|
+
import { c as ct, d as it, r as At } from "./index-SiMIoFT9.js";
|
13
|
+
import { b as dt } from "./Grow-37t11tle.js";
|
14
|
+
import { B as bt, o as ut } from "./getChainIds-B4BLdhKd.js";
|
15
|
+
import { u as Wt } from "./unsupportedProp-Dr6Tadlk.js";
|
16
16
|
let be;
|
17
17
|
function wt() {
|
18
18
|
if (be)
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { ah as u, n as h, _ as T, b as N,
|
2
|
-
import { Y as b, Q as P, c as g, g as j } from "./useRegisterError-
|
1
|
+
import { ah as u, n as h, _ as T, b as N, aI as y, T as B, aJ as C, p as _, P as e } from "./index-DSlXIHtr.js";
|
2
|
+
import { Y as b, Q as P, c as g, g as j } from "./useRegisterError-C52MuupC.js";
|
3
3
|
import * as v from "react";
|
4
4
|
import { jsx as E } from "react/jsx-runtime";
|
5
|
-
const
|
5
|
+
const I = ["className", "component"];
|
6
6
|
function O(c = {}) {
|
7
7
|
const {
|
8
8
|
themeId: t,
|
@@ -16,7 +16,7 @@ function O(c = {}) {
|
|
16
16
|
const s = h(m), r = P(d), {
|
17
17
|
className: p,
|
18
18
|
component: f = "div"
|
19
|
-
} = r, i = T(r,
|
19
|
+
} = r, i = T(r, I);
|
20
20
|
return /* @__PURE__ */ E(l, N({
|
21
21
|
as: f,
|
22
22
|
ref: x,
|
@@ -25,10 +25,10 @@ function O(c = {}) {
|
|
25
25
|
}, i));
|
26
26
|
});
|
27
27
|
}
|
28
|
-
const
|
28
|
+
const M = j("MuiBox", ["root"]), R = C(), S = O({
|
29
29
|
themeId: B,
|
30
30
|
defaultTheme: R,
|
31
|
-
defaultClassName:
|
31
|
+
defaultClassName: M.root,
|
32
32
|
generateClassName: y.generate
|
33
33
|
});
|
34
34
|
_.env.NODE_ENV !== "production" && (S.propTypes = {
|
@@ -1,22 +1,22 @@
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
2
|
-
import { h as getDefaultExportFromCjs, u as useStore, p as process$1, V as bufferExports, a as useWallet, f as commonjsGlobal, l as lodashExports,
|
3
|
-
import { O as OutputValueComp } from "./index-
|
2
|
+
import { h as getDefaultExportFromCjs, u as useStore, p as process$1, V as bufferExports, a as useWallet, f as commonjsGlobal, l as lodashExports, aG as useBlockendEvents, aH as blockendEvents, c as controllers } from "./index-DSlXIHtr.js";
|
3
|
+
import { O as OutputValueComp } from "./index-CIjTGwYH.js";
|
4
4
|
import React__default, { useState, createContext, createElement, useContext, useRef, useEffect, useMemo } from "react";
|
5
|
-
import { W as WalletIcon, C as CircularProgress, B as BackButton, M as Lottie$1, i as images, u as useWalletDetails, f as formatNumber, j as fixString, k as useRegisterError, F as FormatCryptoValue } from "./useRegisterError-
|
5
|
+
import { W as WalletIcon, C as CircularProgress, B as BackButton, M as Lottie$1, i as images, u as useWalletDetails, f as formatNumber, j as fixString, k as useRegisterError, F as FormatCryptoValue } from "./useRegisterError-C52MuupC.js";
|
6
6
|
import { useMutation, useQuery } from "@tanstack/react-query";
|
7
7
|
import { useAccount, useWalletClient, useSendTransaction, useSignTypedData, useSwitchChain } from "wagmi";
|
8
8
|
import "viem";
|
9
|
-
import { S as ShareIcon, a as Skeleton } from "./shareicon-
|
10
|
-
import { T as Tooltip } from "./Tooltip-
|
11
|
-
import { L as Lottie } from "./index.es-
|
9
|
+
import { S as ShareIcon, a as Skeleton } from "./shareicon-CLveBf8l.js";
|
10
|
+
import { T as Tooltip } from "./Tooltip-BqYgFn1F.js";
|
11
|
+
import { L as Lottie } from "./index.es-D6RvS0tB.js";
|
12
12
|
import { useDynamicContext, useSwitchNetwork } from "@dynamic-labs/sdk-react-core";
|
13
|
-
import { V as VersionedTransaction, P as PublicKey, b as buildExports, u as useRoutes, g as getCosmosAddress } from "./getCosmosAddress-
|
13
|
+
import { V as VersionedTransaction, P as PublicKey, b as buildExports, u as useRoutes, g as getCosmosAddress } from "./getCosmosAddress-BfMdDDaH.js";
|
14
14
|
import { B as Buffer } from "./index-DTish3yr.js";
|
15
15
|
import { useCosmWasmSigningClient, useStargateSigningClient, useAccount as useAccount$1 } from "graz";
|
16
16
|
import "@cosmjs/proto-signing";
|
17
17
|
import { calculateFee, GasPrice } from "@cosmjs/stargate";
|
18
18
|
import "@cosmjs/cosmwasm-stargate";
|
19
|
-
import { l as libExports, S as Spinner, D as Down } from "./down-
|
19
|
+
import { l as libExports, S as Spinner, D as Down } from "./down-BAe_uoMx.js";
|
20
20
|
import { v as validError } from "./validError-CDlJpg_f.js";
|
21
21
|
import { e as ethertousd } from "./ethertousd-CC_ezooz.js";
|
22
22
|
var eventemitter3 = { exports: {} }, hasRequiredEventemitter3;
|
@@ -268,44 +268,40 @@ function Copy({ fill: e }) {
|
|
268
268
|
/* @__PURE__ */ jsx("path", { d: "M3 1H8C9.10457 1 10 1.89543 10 3V10", stroke: e, "stroke-linecap": "round" })
|
269
269
|
] });
|
270
270
|
}
|
271
|
-
const version$5 = "6.
|
271
|
+
const version$5 = "6.13.5";
|
272
272
|
function defineProperties(e, t, a) {
|
273
273
|
for (let i in t) {
|
274
274
|
let r = t[i];
|
275
275
|
Object.defineProperty(e, i, { enumerable: !0, value: r, writable: !1 });
|
276
276
|
}
|
277
277
|
}
|
278
|
-
function stringify(e
|
278
|
+
function stringify(e) {
|
279
279
|
if (e == null)
|
280
280
|
return "null";
|
281
|
-
if (t == null && (t = /* @__PURE__ */ new Set()), typeof e == "object") {
|
282
|
-
if (t.has(e))
|
283
|
-
return "[Circular]";
|
284
|
-
t.add(e);
|
285
|
-
}
|
286
281
|
if (Array.isArray(e))
|
287
|
-
return "[ " + e.map(
|
282
|
+
return "[ " + e.map(stringify).join(", ") + " ]";
|
288
283
|
if (e instanceof Uint8Array) {
|
289
|
-
const
|
290
|
-
let
|
291
|
-
for (let
|
292
|
-
|
293
|
-
return
|
284
|
+
const t = "0123456789abcdef";
|
285
|
+
let a = "0x";
|
286
|
+
for (let i = 0; i < e.length; i++)
|
287
|
+
a += t[e[i] >> 4], a += t[e[i] & 15];
|
288
|
+
return a;
|
294
289
|
}
|
295
290
|
if (typeof e == "object" && typeof e.toJSON == "function")
|
296
|
-
return stringify(e.toJSON()
|
291
|
+
return stringify(e.toJSON());
|
297
292
|
switch (typeof e) {
|
298
293
|
case "boolean":
|
299
|
-
case "number":
|
300
294
|
case "symbol":
|
301
295
|
return e.toString();
|
302
296
|
case "bigint":
|
303
297
|
return BigInt(e).toString();
|
298
|
+
case "number":
|
299
|
+
return e.toString();
|
304
300
|
case "string":
|
305
301
|
return JSON.stringify(e);
|
306
302
|
case "object": {
|
307
|
-
const
|
308
|
-
return
|
303
|
+
const t = Object.keys(e);
|
304
|
+
return t.sort(), "{ " + t.map((a) => `${stringify(a)}: ${stringify(e[a])}`).join(", ") + " }";
|
309
305
|
}
|
310
306
|
}
|
311
307
|
return "[ COULD NOT SERIALIZE ]";
|
@@ -659,10 +655,10 @@ ${Object.entries(packageVersions).filter(([, i]) => i !== e).map(([i, r]) => `-
|
|
659
655
|
💡 To fix this issue, update all @dynamic-labs/* packages to version \`${e}\` in your package.json
|
660
656
|
💡 Tip: You can use the \`npx dynamic-doctor run\` command to check for other issues with your project setup.
|
661
657
|
`.trim();
|
662
|
-
var version$4 = "4.20.
|
658
|
+
var version$4 = "4.20.4";
|
663
659
|
new EventEmitter();
|
664
660
|
new Logger("WalletConnector");
|
665
|
-
var version$3 = "4.20.
|
661
|
+
var version$3 = "4.20.4";
|
666
662
|
typeof window < "u" && (window.global = globalThis, !window.Buffer && typeof window.Buffer > "u" && Object.assign(window, { Buffer: bufferExports.Buffer }));
|
667
663
|
const logger$1 = new Logger("utils");
|
668
664
|
class CustomError extends Error {
|
@@ -1126,7 +1122,7 @@ const FALLBACK_UNDEFINED = "FALLBACK_UNDEFINED", retryableFn = (e, ...t) => __aw
|
|
1126
1122
|
});
|
1127
1123
|
}
|
1128
1124
|
});
|
1129
|
-
var version$2 = "4.20.
|
1125
|
+
var version$2 = "4.20.4";
|
1130
1126
|
typeof SuppressedError == "function" && SuppressedError;
|
1131
1127
|
var ExchangeKeyEnum;
|
1132
1128
|
(function(e) {
|
@@ -1505,9 +1501,9 @@ const getEnvVarWithFallback = (e, t) => {
|
|
1505
1501
|
new Logger("@dynamic-labs/iframe-setup");
|
1506
1502
|
assertPackageVersion("@dynamic-labs/utils", version$3);
|
1507
1503
|
typeof SuppressedError == "function" && SuppressedError;
|
1508
|
-
var version$1 = "4.20.
|
1504
|
+
var version$1 = "4.20.4";
|
1509
1505
|
createContext(void 0);
|
1510
|
-
var version = "4.20.
|
1506
|
+
var version = "4.20.4";
|
1511
1507
|
const DEFAULT_ICONIC_SPRITE_URL = "https://iconic.dynamic-static-assets.com/icons/sprite.svg", getIconicSpriteUrl = () => {
|
1512
1508
|
var e, t, a;
|
1513
1509
|
return typeof process$1 < "u" && process$1.env && (a = (t = (e = process$1.env.ICONIC_SPRITE_CDN_URL) !== null && e !== void 0 ? e : process$1.env.NEXT_PUBLIC_ICONIC_SPRITE_CDN_URL) !== null && t !== void 0 ? t : process$1.env.REACT_APP_ICONIC_SPRITE_CDN_URL) !== null && a !== void 0 ? a : DEFAULT_ICONIC_SPRITE_URL;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as D from "react";
|
2
2
|
import kt from "react";
|
3
|
-
import { p as J, P as i, h as St, g as Bt, _ as Te, b as z } from "./index-
|
3
|
+
import { p as J, P as i, h as St, g as Bt, _ as Te, b as z } from "./index-DSlXIHtr.js";
|
4
4
|
import { jsx as de } from "react/jsx-runtime";
|
5
|
-
import { X as Wt, g as Lt, t as et, P as Nt, h as Se, e as tt, v as Ht, a as Vt, b as mt, n as It, H as Ee, d as Ut, s as qt, T as Ft, z as _t, o as Xt, x as zt, E as rt, I as Yt, J as Gt } from "./useRegisterError-
|
5
|
+
import { X as Wt, g as Lt, t as et, P as Nt, h as Se, e as tt, v as Ht, a as Vt, b as mt, n as It, H as Ee, d as Ut, s as qt, T as Ft, z as _t, o as Xt, x as zt, E as rt, I as Yt, J as Gt } from "./useRegisterError-C52MuupC.js";
|
6
6
|
let nt = 0;
|
7
7
|
function Jt(e) {
|
8
8
|
const [t, r] = D.useState(e), n = e || t;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { jsxs as b, jsx as t, Fragment as k } from "react/jsx-runtime";
|
2
|
-
import { u as s } from "./index-
|
2
|
+
import { u as s } from "./index-DSlXIHtr.js";
|
3
3
|
import { useState as W, useRef as x } from "react";
|
4
|
-
import { u as j, i as S, W as I, F as D, f as p, j as u, O as F } from "./useRegisterError-
|
4
|
+
import { u as j, i as S, W as I, F as D, f as p, j as u, O as F } from "./useRegisterError-C52MuupC.js";
|
5
5
|
import { useAccount as R, useBalance as T } from "wagmi";
|
6
6
|
import "@dynamic-labs/sdk-react-core";
|
7
|
-
import { c as A, r as B } from "./index-
|
8
|
-
import { a as G } from "./shareicon-
|
7
|
+
import { c as A, r as B } from "./index-Y94UWILI.js";
|
8
|
+
import { a as G } from "./shareicon-CLveBf8l.js";
|
9
9
|
function H({ amount: w, setAmount: l, fetchBalance: M, getCoinBalance: h, isBalanceLoading: f }) {
|
10
10
|
var d, o;
|
11
11
|
const n = s((a) => a.configuration), e = s((a) => a.fromCoin), r = s((a) => a.fromChain), { isAnyWalletConnected: g } = j({ chainData: r }), [$, K] = W(40), { address: N } = R(), v = x(), { defaultCoin: y } = S;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { jsx as e, jsxs as w, Fragment as m } from "react/jsx-runtime";
|
2
2
|
import { t as we } from "./truncate-D9t92mVX.js";
|
3
|
-
import { u as r, l as te } from "./index-
|
3
|
+
import { u as r, l as te } from "./index-DSlXIHtr.js";
|
4
4
|
import { useState as ie, useEffect as le } from "react";
|
5
5
|
import { s } from "./WidgetForm.module-QHJ0-m5f.js";
|
6
6
|
import { G as ce, C as de, S as me } from "./clockIcon-C2W5xvyt.js";
|
7
|
-
import { S as re } from "./down-
|
7
|
+
import { S as re } from "./down-BAe_uoMx.js";
|
8
8
|
import { e as ae } from "./ethertousd-CC_ezooz.js";
|
9
|
-
import { O as H } from "./index-
|
10
|
-
import { O as se, F as J, i as oe } from "./useRegisterError-
|
11
|
-
import { a as o } from "./shareicon-
|
9
|
+
import { O as H } from "./index-CIjTGwYH.js";
|
10
|
+
import { O as se, F as J, i as oe } from "./useRegisterError-C52MuupC.js";
|
11
|
+
import { a as o } from "./shareicon-CLveBf8l.js";
|
12
12
|
function xe({ fill: n }) {
|
13
13
|
return /* @__PURE__ */ e(
|
14
14
|
"svg",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as w, jsx as t, Fragment as d } from "react/jsx-runtime";
|
2
2
|
import { s as o } from "./WidgetForm.module-QHJ0-m5f.js";
|
3
|
-
import { u as l, l as c } from "./index-
|
3
|
+
import { u as l, l as c } from "./index-DSlXIHtr.js";
|
4
4
|
function f({ routesData: i, routes: a, quoteTimer: n }) {
|
5
5
|
var b;
|
6
6
|
const r = l((s) => s.configuration), e = l((s) => s.gradient);
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { g as go, _ as To, p as U, b as n, d as We, e as ze, P as e } from "./index-
|
1
|
+
import { g as go, _ as To, p as U, b as n, d as We, e as ze, P as e } from "./index-DSlXIHtr.js";
|
2
2
|
import * as p from "react";
|
3
|
-
import { g as yo, d as vo, o as Po, z as D, q as Ue, D as wo, h as Ro, x as Co, c as I, U as j, s as Q, V as xo, a as Oo, J as Mo } from "./useRegisterError-
|
4
|
-
import { G as Be, b as Eo, u as _o, a as No, P as He } from "./Grow-
|
3
|
+
import { g as yo, d as vo, o as Po, z as D, q as Ue, D as wo, h as Ro, x as Co, c as I, U as j, s as Q, V as xo, a as Oo, J as Mo } from "./useRegisterError-C52MuupC.js";
|
4
|
+
import { G as Be, b as Eo, u as _o, a as No, P as He } from "./Grow-37t11tle.js";
|
5
5
|
import { jsx as A, jsxs as Se } from "react/jsx-runtime";
|
6
6
|
function Lo(r) {
|
7
7
|
return go("MuiTooltip", r);
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { jsx as N } from "react/jsx-runtime";
|
2
2
|
import { useState as q, useEffect as P } from "react";
|
3
3
|
import { useSwitchNetwork as Fe, useDynamicContext as je, useIsLoggedIn as ve } from "@dynamic-labs/sdk-react-core";
|
4
|
-
import { a as we, u as T,
|
4
|
+
import { a as we, u as T, aG as ze, aH as Ae } from "./index-DSlXIHtr.js";
|
5
5
|
import { s as f } from "./WidgetForm.module-QHJ0-m5f.js";
|
6
6
|
import { useAccount as Me, useSwitchChain as Oe, useBalance as Re } from "wagmi";
|
7
|
-
import { u as ae, k as Ve, j as qe, C as oe } from "./useRegisterError-
|
8
|
-
import "./getCosmosAddress-
|
7
|
+
import { u as ae, k as Ve, j as qe, C as oe } from "./useRegisterError-C52MuupC.js";
|
8
|
+
import "./getCosmosAddress-BfMdDDaH.js";
|
9
9
|
import { v as Pe } from "./validError-CDlJpg_f.js";
|
10
|
-
import { u as _e, p as
|
11
|
-
function
|
10
|
+
import { u as _e, p as He } from "./index-Y94UWILI.js";
|
11
|
+
function Je(n) {
|
12
12
|
const { wallet: h, address: g } = we(), [E, G] = q(0);
|
13
13
|
async function m() {
|
14
14
|
const v = await window.tronWeb.trx.getBalance(g);
|
@@ -26,7 +26,7 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
|
|
26
26
|
var Y, Z, W, k, D, C, ee, te, se, re, ce, ne, ie;
|
27
27
|
const o = T((s) => s.gradient), x = T((s) => s.configuration), e = T((s) => s.fromChain), i = T((s) => s.fromCoin), r = T((s) => s.toChain), w = T((s) => s.toCoin), { isConnected: F, address: _, chain: I } = Me(), pe = Fe(), { getBothWalletConnection: ge, getConnectWallet: ye } = ae({
|
28
28
|
chainData: e
|
29
|
-
}), { connected:
|
29
|
+
}), { connected: H, address: J, disconnect: Ke } = we(), z = T((s) => s.toDisconnect), d = T((s) => s.customWallet), { getWallet: xe } = ae({ chainData: e }), Ie = ye(e, r), [A, he] = q("101"), { tronBal: M } = Je(e), { cosmosBalance: K } = _e(), O = ((Y = e.chain) == null ? void 0 : Y.length) && ((Z = r.chain) == null ? void 0 : Z.length), R = ((W = i.address) == null ? void 0 : W.length) && ((k = w.address) == null ? void 0 : k.length), Te = Ve(), me = ze(), { switchChain: Ne, isPending: fe } = Oe({
|
30
30
|
chainId: Number((e == null ? void 0 : e.chainId) || "0"),
|
31
31
|
throwForSwitchChainNotSupported: !0,
|
32
32
|
onError(s) {
|
@@ -82,7 +82,7 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
|
|
82
82
|
}
|
83
83
|
function Se(s) {
|
84
84
|
var u;
|
85
|
-
return Number(((u =
|
85
|
+
return Number(((u = K[He(s.address)]) == null ? void 0 : u.amount) || 0) / Math.pow(10, s.decimals);
|
86
86
|
}
|
87
87
|
function $e() {
|
88
88
|
var $;
|
@@ -178,7 +178,7 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
|
|
178
178
|
isGradient: !0,
|
179
179
|
color: o || f.gradientbutton
|
180
180
|
});
|
181
|
-
}, [A, b, i, w, g, e, r, (ee = y.data) == null ? void 0 : ee.formatted, n, y.isFetching, y.isLoading, F, Q, S, h.isFetching, I == null ? void 0 : I.id, E, M, L, d,
|
181
|
+
}, [A, b, i, w, g, e, r, (ee = y.data) == null ? void 0 : ee.formatted, n, y.isFetching, y.isLoading, F, Q, S, h.isFetching, I == null ? void 0 : I.id, E, M, L, d, K]);
|
182
182
|
let Ee = [`switch chain to ${(te = e.chain) == null ? void 0 : te.toLowerCase()}`, `select ${(se = e.chain) == null ? void 0 : se.toLowerCase()} wallet`, "connect custom wallet", "enter recipient wallet address"];
|
183
183
|
function Le() {
|
184
184
|
var s, u, p, $;
|
@@ -196,7 +196,7 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
|
|
196
196
|
},
|
197
197
|
className: `bw-w-full bw-rounded-sm bw-h-[52px] ${l != null && l.isGradient ? "bw-p-[3px]" : "bw-p-[1px]"} bw-mt-3 bw-border-0 bw-relative bw-z-0 disabled:bw-opacity-70 ${O && R && l.color} ${l.text.length > 29 ? "bw-text-xl" : "bw-text-2xl"} ${l != null && l.isGradient ? "bw-font-bold bw-text-text-primary" : "bw-font-normal bw-text-text-secondary"}`,
|
198
198
|
onClick: () => {
|
199
|
-
S || (G(!0), ((e == null ? void 0 : e.networkType) !== "evm" && F || (e == null ? void 0 : e.networkType) !== "sol" && V && b !== null || (e == null ? void 0 : e.networkType) !== "tron" &&
|
199
|
+
S || (G(!0), ((e == null ? void 0 : e.networkType) !== "evm" && F || (e == null ? void 0 : e.networkType) !== "sol" && V && b !== null || (e == null ? void 0 : e.networkType) !== "tron" && H && J) && !z ? m("from") : F && (r == null ? void 0 : r.networkType) !== "evm" || V && (r == null ? void 0 : r.networkType) !== "sol" || (r == null ? void 0 : r.networkType) !== "tron" && H && J || z ? m("to") : m("from")), e.chainId === "eclipse-svm" && !j(b) ? (G(!0), m("from")) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !j(b) && d.length < 30 ? (G(!0), m("to")) : Be();
|
200
200
|
},
|
201
201
|
children: /* @__PURE__ */ N("div", { className: "bw-rounded-sm bw-bg-background-container bw-flex bw-items-center bw-justify-center b-w-full bw-h-full", children: /* @__PURE__ */ N("p", { className: "bw-relative bw-z-20", children: O && R ? fe ? /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) : S ? l.text.length ? l.text : "Start Transaction" : `Connect ${Ie} Wallet` : /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) }) })
|
202
202
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-
|
2
|
-
import { n as u, c as B, o as W, r as E, U as ht, e as Rn, f as En, a as In } from "./index-
|
3
|
-
import { h as Wn } from "./index-
|
1
|
+
import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-D9oRINim.js";
|
2
|
+
import { n as u, c as B, o as W, r as E, U as ht, e as Rn, f as En, a as In } from "./index-B5gV3APh.js";
|
3
|
+
import { h as Wn } from "./index-DSlXIHtr.js";
|
4
4
|
const Sn = D`
|
5
5
|
:host {
|
6
6
|
position: relative;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { aj as L, ak as b, al as F, am as N, an as P, ao as w, ap as S, aq as E, ar as $, as as C, at as I, au as m, av as D, aw as A, ax as R, ay as y, az as O, aA as q, aB as G, aC as T, aD as v, aE as k, aF as H } from "./index-
|
1
|
+
import { aj as L, ak as b, al as F, am as N, an as P, ao as w, ap as S, aq as E, ar as $, as as C, at as I, au as m, av as D, aw as A, ax as R, ay as y, az as O, aA as q, aB as G, aC as T, aD as v, aE as k, aF as H } from "./index-DSlXIHtr.js";
|
2
2
|
const h = "/docs/contract/encodeErrorResult";
|
3
3
|
function x(t) {
|
4
4
|
const { abi: s, errorName: a, args: r } = t;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { B as et } from "./index-DTish3yr.js";
|
2
|
-
import { I as Wr, c as Zu, f as Tt, t as pt, a as U, g as re, b as us, C as Xu, d as Qu, e as ui, s as co, h as fl, i as er, k as Ti, A as ml, E as nt, j as eh, l as th, y as Ct, m as Ws, r as zr, O as Wo, o as kt, n as sh, p as zo, q as Ho, u as vn, N as Vo, P as ca, Q as rh, v as ih, w as nh, x as la, z as _r, B as wl, D as is, F as Vt, G as hs, H as Bt } from "./index.es-
|
3
|
-
import { p as Se } from "./index-
|
2
|
+
import { I as Wr, c as Zu, f as Tt, t as pt, a as U, g as re, b as us, C as Xu, d as Qu, e as ui, s as co, h as fl, i as er, k as Ti, A as ml, E as nt, j as eh, l as th, y as Ct, m as Ws, r as zr, O as Wo, o as kt, n as sh, p as zo, q as Ho, u as vn, N as Vo, P as ca, Q as rh, v as ih, w as nh, x as la, z as _r, B as wl, D as is, F as Vt, G as hs, H as Bt } from "./index.es-TLoHC_Sf.js";
|
3
|
+
import { p as Se } from "./index-DSlXIHtr.js";
|
4
4
|
import { formatUnits as oh, recoverAddress as ah, fallback as ua, http as Wi, toHex as ha } from "viem";
|
5
5
|
const z = {
|
6
6
|
WC_NAME_SUFFIX: ".reown.id",
|
@@ -14903,7 +14903,7 @@ class Yu extends NE {
|
|
14903
14903
|
}
|
14904
14904
|
async injectModalUi() {
|
14905
14905
|
if (!pl && Z.isClient()) {
|
14906
|
-
if (await import("./basic-
|
14906
|
+
if (await import("./basic-BXha5sM_.js"), await import("./w3m-modal-CJM8um8G.js"), !document.querySelector("w3m-modal")) {
|
14907
14907
|
const s = document.createElement("w3m-modal");
|
14908
14908
|
!O.state.disableAppend && !O.state.enableEmbedded && document.body.insertAdjacentElement("beforeend", s);
|
14909
14909
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as st } from "react/jsx-runtime";
|
2
2
|
import { useRef as _e, useEffect as xe } from "react";
|
3
|
-
import { f as J, u as ve } from "./index-
|
4
|
-
import { M as me } from "./useRegisterError-
|
3
|
+
import { f as J, u as ve } from "./index-DSlXIHtr.js";
|
4
|
+
import { M as me } from "./useRegisterError-C52MuupC.js";
|
5
5
|
var p = {}, L = { exports: {} };
|
6
6
|
L.exports;
|
7
7
|
var qt;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as C } from "./core-
|
1
|
+
import { m as C } from "./core-D9oRINim.js";
|
2
2
|
const t = C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
3
3
|
<path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
|
4
4
|
</svg>
|