@dhedge/trading-widget 3.10.4 → 3.10.6
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/core-kit/hooks/pool/multicall/use-pool.dynamic.d.ts +2 -1
- package/index.cjs +1 -1
- package/index.js +13 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -28773,10 +28773,10 @@ const Pt = "0x0000000000000000000000000000000000000000", QC = BigInt(
|
|
|
28773
28773
|
[tc.id]: 299e5,
|
|
28774
28774
|
[ou.id]: 299e5
|
|
28775
28775
|
}, nX = {
|
|
28776
|
-
[As.id]: "https://opt-mainnet.g.alchemy.com/v2
|
|
28777
|
-
[nc.id]: "https://polygon-mainnet.g.alchemy.com/v2
|
|
28778
|
-
[tc.id]: "https://arb-mainnet.g.alchemy.com/v2
|
|
28779
|
-
[ou.id]: "https://base-mainnet.g.alchemy.com/v2
|
|
28776
|
+
[As.id]: "https://opt-mainnet.g.alchemy.com/v2",
|
|
28777
|
+
[nc.id]: "https://polygon-mainnet.g.alchemy.com/v2",
|
|
28778
|
+
[tc.id]: "https://arb-mainnet.g.alchemy.com/v2",
|
|
28779
|
+
[ou.id]: "https://base-mainnet.g.alchemy.com/v2"
|
|
28780
28780
|
}, PW = {
|
|
28781
28781
|
USD: "$",
|
|
28782
28782
|
ETH: "Ξ",
|
|
@@ -34545,12 +34545,13 @@ const BN = /* @__PURE__ */ Og(Z9), UN = ({
|
|
|
34545
34545
|
}, sd = ({
|
|
34546
34546
|
address: t,
|
|
34547
34547
|
chainId: n,
|
|
34548
|
-
|
|
34548
|
+
refetchInterval: a,
|
|
34549
|
+
enabled: l = !0
|
|
34549
34550
|
}) => Hl({
|
|
34550
34551
|
contracts: nG({ address: t, chainId: n }),
|
|
34551
34552
|
query: {
|
|
34552
|
-
enabled:
|
|
34553
|
-
refetchInterval:
|
|
34553
|
+
enabled: l && !!t && !Io(t),
|
|
34554
|
+
refetchInterval: a,
|
|
34554
34555
|
select: rG
|
|
34555
34556
|
}
|
|
34556
34557
|
}), aG = ({
|
|
@@ -34702,7 +34703,11 @@ const BN = /* @__PURE__ */ Og(Z9), UN = ({
|
|
|
34702
34703
|
chainId: n,
|
|
34703
34704
|
formatter: a = VE
|
|
34704
34705
|
}) => {
|
|
34705
|
-
const [l] = Cv(), { data: u } = sd({
|
|
34706
|
+
const [l] = Cv(), { data: u } = sd({
|
|
34707
|
+
address: t,
|
|
34708
|
+
chainId: n,
|
|
34709
|
+
refetchInterval: Wg
|
|
34710
|
+
});
|
|
34706
34711
|
return a(
|
|
34707
34712
|
BigInt((u == null ? void 0 : u.tokenPrice) ?? (l == null ? void 0 : l.tokenPrice) ?? "0")
|
|
34708
34713
|
);
|