0xtrails 0.6.3 → 0.6.5
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/{ccip-Ct6RMeeG.js → ccip-BlQRn0i5.js} +1 -1
- package/dist/{index-27ebsG0R.js → index-BsEaWwhF.js} +21694 -21333
- package/dist/index.js +118 -115
- package/dist/prepareSend.d.ts.map +1 -1
- package/dist/relaySdk.d.ts.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/transactionIntent/handlers/crossChain.d.ts +2 -1
- package/dist/transactionIntent/handlers/crossChain.d.ts.map +1 -1
- package/dist/transactionIntent/handlers/sameChainSameToken.d.ts +2 -1
- package/dist/transactionIntent/handlers/sameChainSameToken.d.ts.map +1 -1
- package/dist/transactionIntent/quote/quoteHelpers.d.ts +1 -1
- package/dist/transactionIntent/quote/quoteHelpers.d.ts.map +1 -1
- package/dist/transactionIntent/types.d.ts +1 -0
- package/dist/transactionIntent/types.d.ts.map +1 -1
- package/dist/utils.d.ts +8 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/widget/components/ClassicSwap.d.ts.map +1 -1
- package/dist/widget/components/FeeOption.d.ts +6 -1
- package/dist/widget/components/FeeOption.d.ts.map +1 -1
- package/dist/widget/components/FeeOptions.d.ts.map +1 -1
- package/dist/widget/components/Fund.d.ts.map +1 -1
- package/dist/widget/components/Pay.d.ts.map +1 -1
- package/dist/widget/components/PoolDeposit.d.ts.map +1 -1
- package/dist/widget/css/compiled.css +1 -1
- package/dist/widget/hooks/useQuote.d.ts +2 -1
- package/dist/widget/hooks/useQuote.d.ts.map +1 -1
- package/dist/widget/hooks/useSendForm.d.ts +0 -1
- package/dist/widget/hooks/useSendForm.d.ts.map +1 -1
- package/dist/widget/index.js +1 -1
- package/dist/widget/widget.d.ts +1 -0
- package/dist/widget/widget.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/prepareSend.ts +23 -5
- package/src/relaySdk.ts +2 -0
- package/src/tokens.ts +52 -4
- package/src/transactionIntent/deposits/gaslessDeposit.ts +2 -2
- package/src/transactionIntent/handlers/crossChain.ts +3 -0
- package/src/transactionIntent/handlers/sameChainSameToken.ts +315 -1
- package/src/transactionIntent/quote/quoteHelpers.ts +7 -2
- package/src/transactionIntent/types.ts +1 -0
- package/src/utils.ts +15 -0
- package/src/widget/compiled.css +1 -1
- package/src/widget/components/ClassicSwap.tsx +51 -6
- package/src/widget/components/FeeOption.tsx +55 -38
- package/src/widget/components/FeeOptions.tsx +57 -10
- package/src/widget/components/Fund.tsx +0 -4
- package/src/widget/components/Pay.tsx +23 -8
- package/src/widget/components/PoolDeposit.tsx +10 -1
- package/src/widget/hooks/useQuote.ts +4 -0
- package/src/widget/hooks/useSendForm.ts +71 -36
- package/src/widget/widget.tsx +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as b, a4 as O, a5 as x, a6 as S, a7 as $, a8 as F, a9 as E, aa as D, ab as w, ac as G, ad as R, ae as I, af as T, ag as y, ah as L, ai as M, aj as m, ak as C, al as H, am as j, an as v, ao as U, ap as k, aq as B } from "./index-
|
|
1
|
+
import { a3 as b, a4 as O, a5 as x, a6 as S, a7 as $, a8 as F, a9 as E, aa as D, ab as w, ac as G, ad as R, ae as I, af as T, ag as y, ah as L, ai as M, aj as m, ak as C, al as H, am as j, an as v, ao as U, ap as k, aq as B } from "./index-BsEaWwhF.js";
|
|
2
2
|
function _(a) {
|
|
3
3
|
const { abi: r, data: e } = a, s = b(e, 0, 4), t = r.find((n) => n.type === "function" && s === O(x(n)));
|
|
4
4
|
if (!t)
|