@use-glyph/sdk-react 2.0.3 → 2.0.4

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/index.js CHANGED
@@ -34270,7 +34270,7 @@ function yR({ onBack: e, onEnd: t, onShowActivity: r, setGradientType: n }) {
34270
34270
  balance: ke,
34271
34271
  isLoading: de,
34272
34272
  error: Gt
34273
- } = io(We, b?.chainId), Zt = b?.decimals && H && J !== void 0 && Number(jr(BigInt(J), b?.decimals)) < Number(H) ? "Insufficient balance" : null, ut = ke != null && ae && (We !== b?.address ? BigInt(ke) > BigInt(Ne?.amount || 0) : BigInt(ke) - Jl(A, b.decimals) > BigInt(Ne?.amount || 0)), Yt = B && b?.chainId && !de && !ut ? "Insufficient gas to execute transaction." : null, nt = M || // Error from swap intent status
34273
+ } = io(We, b?.chainId), Zt = b?.decimals && H && J !== void 0 && Number(jr(BigInt(J), b?.decimals)) < Number(H) ? "Insufficient balance" : null, ut = ke != null && b && (We !== b?.address ? BigInt(ke) > BigInt(Ne?.amount || 0) : BigInt(ke) - Jl(A, b.decimals) > BigInt(Ne?.amount || 0)), Yt = B && b?.chainId && !de && !ut ? "Insufficient gas to execute transaction." : null, nt = M || // Error from swap intent status
34274
34274
  K || // Error during execution
34275
34275
  (o === Vt.START ? W?.message || ce || xe || Gt || Zt || Yt : void 0), ht = Number(B?.fees?.app?.amountUsd || "0"), Mt = Math.abs(Number(B?.details?.totalImpact?.usd || "0")), ne = Math.abs(Mt - ht), he = B?.details?.currencyIn?.amountUsd ? Number(B?.details?.currencyIn?.amountUsd) : void 0, lt = B?.details?.currencyOut?.amountUsd ? Number(B?.details?.currencyOut?.amountUsd) : void 0;
34276
34276
  return /* @__PURE__ */ S(Ae, { children: [