@rango-dev/widget-embedded 0.22.4-next.6 → 0.22.4-next.7
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/components/AppRoutes.d.ts.map +1 -1
- package/dist/components/BlockchainList/BlockchainList.styles.d.ts +3 -0
- package/dist/components/BlockchainList/BlockchainList.styles.d.ts.map +1 -1
- package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts +1 -0
- package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.helpers.d.ts +2 -2
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.helpers.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +15 -0
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts +3 -0
- package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts.map +1 -1
- package/dist/components/CustomCollapsible/CustomCollapsible.styles.d.ts +4 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.styles.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HeaderButtons.d.ts +4 -0
- package/dist/components/HeaderButtons/HeaderButtons.d.ts.map +1 -0
- package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts +5 -0
- package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HeaderButtons.types.d.ts +3 -2
- package/dist/components/HeaderButtons/HeaderButtons.types.d.ts.map +1 -1
- package/dist/components/HeaderButtons/index.d.ts +1 -1
- package/dist/components/HeaderButtons/index.d.ts.map +1 -1
- package/dist/components/HistoryGroupedList/HistoryGroupedList.styles.d.ts +6 -0
- package/dist/components/HistoryGroupedList/HistoryGroupedList.styles.d.ts.map +1 -1
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/components/Layout/Layout.styles.d.ts +3 -0
- package/dist/components/Layout/Layout.styles.d.ts.map +1 -1
- package/dist/components/Layout/Layout.types.d.ts +1 -0
- package/dist/components/Layout/Layout.types.d.ts.map +1 -1
- package/dist/components/Layout/PageContainer.d.ts +1 -0
- package/dist/components/Layout/PageContainer.d.ts.map +1 -1
- package/dist/components/Layout/ScrollableArea.d.ts +1 -0
- package/dist/components/Layout/ScrollableArea.d.ts.map +1 -1
- package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts +1 -0
- package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts.map +1 -1
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts +14 -0
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts.map +1 -1
- package/dist/components/NoResult/NoResult.styles.d.ts +3 -0
- package/dist/components/NoResult/NoResult.styles.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts +4 -0
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts.map +1 -1
- package/dist/components/Quote/Quote.d.ts.map +1 -1
- package/dist/components/Quote/Quote.styles.d.ts +1136 -25
- package/dist/components/Quote/Quote.styles.d.ts.map +1 -1
- package/dist/components/Quote/Quote.types.d.ts +12 -7
- package/dist/components/Quote/Quote.types.d.ts.map +1 -1
- package/dist/components/Quote/QuoteCostDetails.d.ts.map +1 -1
- package/dist/components/Quote/QuoteCostDetails.styles.d.ts +5 -0
- package/dist/components/Quote/QuoteCostDetails.styles.d.ts.map +1 -1
- package/dist/components/Quote/QuoteSummary.styles.d.ts +2 -0
- package/dist/components/Quote/QuoteSummary.styles.d.ts.map +1 -1
- package/dist/components/Quote/QuoteTrigger .d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/QuoteSkeleton.styles.d.ts +4 -0
- package/dist/components/QuoteSkeleton/QuoteSkeleton.styles.d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/QuoteSkeleton.types.d.ts +1 -1
- package/dist/components/QuoteSkeleton/QuoteSkeleton.types.d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.styles.d.ts +20 -10
- package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.styles.d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.types.d.ts +1 -1
- package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.types.d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/StepSkeleton.styles.d.ts +5 -0
- package/dist/components/QuoteSkeleton/StepSkeleton.styles.d.ts.map +1 -1
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts +4 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.styles.d.ts +1 -0
- package/dist/components/SearchInput/SearchInput.styles.d.ts.map +1 -1
- package/dist/components/SettingsContainer/SettingsContainer.style.d.ts +3 -0
- package/dist/components/SettingsContainer/SettingsContainer.style.d.ts.map +1 -1
- package/dist/components/Slippage/Slippage.styles.d.ts +5 -0
- package/dist/components/Slippage/Slippage.styles.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.styles.d.ts +13 -0
- package/dist/components/SwapDetails/SwapDetails.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts +1 -0
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.types.d.ts +2 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.types.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts +1 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/index.d.ts +1 -1
- package/dist/components/SwapDetailsModal/index.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.styles.d.ts +17 -0
- package/dist/components/TokenList/TokenList.styles.d.ts.map +1 -1
- package/dist/components/WalletModal/WalletModalContent.styles.d.ts +4 -0
- package/dist/components/WalletModal/WalletModalContent.styles.d.ts.map +1 -1
- package/dist/constants/navigationRoutes.d.ts +1 -0
- package/dist/constants/navigationRoutes.d.ts.map +1 -1
- package/dist/constants/quote.d.ts +5 -1
- package/dist/constants/quote.d.ts.map +1 -1
- package/dist/containers/App/App.styles.d.ts +1 -0
- package/dist/containers/App/App.styles.d.ts.map +1 -1
- package/dist/containers/QuoteInfo/QuoteInfo.d.ts.map +1 -1
- package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts +3 -0
- package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts.map +1 -1
- package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts +6 -3
- package/dist/containers/QuoteInfo/QuoteInfo.types.d.ts.map +1 -1
- package/dist/hooks/useConfirmSwap/useConfirmSwap.d.ts.map +1 -1
- package/dist/hooks/useConfirmSwap/useConfirmSwap.helpers.d.ts +5 -4
- package/dist/hooks/useConfirmSwap/useConfirmSwap.helpers.d.ts.map +1 -1
- package/dist/hooks/useConfirmSwap/useConfirmSwap.types.d.ts +1 -1
- package/dist/hooks/useConfirmSwap/useConfirmSwap.types.d.ts.map +1 -1
- package/dist/hooks/useFetch.d.ts +12 -0
- package/dist/hooks/useFetch.d.ts.map +1 -0
- package/dist/hooks/useFetchAllQuotes.d.ts +4 -0
- package/dist/hooks/useFetchAllQuotes.d.ts.map +1 -0
- package/dist/hooks/useFetchConfirmQuote.d.ts +4 -0
- package/dist/hooks/useFetchConfirmQuote.d.ts.map +1 -0
- package/dist/hooks/useSwapInput.d.ts +5 -5
- package/dist/hooks/useSwapInput.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +4 -4
- package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
- package/dist/pages/Home.d.ts.map +1 -1
- package/dist/pages/Routes.d.ts +3 -0
- package/dist/pages/Routes.d.ts.map +1 -0
- package/dist/store/quote.d.ts +32 -10
- package/dist/store/quote.d.ts.map +1 -1
- package/dist/store/wallets.d.ts +0 -2
- package/dist/store/wallets.d.ts.map +1 -1
- package/dist/types/quote.d.ts +19 -1
- package/dist/types/quote.d.ts.map +1 -1
- package/dist/utils/quote.d.ts +12 -9
- package/dist/utils/quote.d.ts.map +1 -1
- package/dist/utils/swap.d.ts +18 -18
- package/dist/utils/swap.d.ts.map +1 -1
- package/dist/utils/wallets.d.ts +3 -3
- package/dist/utils/wallets.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/AppRoutes.tsx +5 -0
- package/src/components/ConfirmWalletsModal/ConfirmWallets.helpers.ts +3 -3
- package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +21 -18
- package/src/components/HeaderButtons/{HomeButtons.tsx → HeaderButtons.tsx} +39 -26
- package/src/components/HeaderButtons/HeaderButtons.types.ts +3 -2
- package/src/components/HeaderButtons/index.ts +1 -1
- package/src/components/Layout/Layout.tsx +13 -1
- package/src/components/Layout/Layout.types.ts +1 -0
- package/src/components/Quote/Quote.styles.ts +133 -38
- package/src/components/Quote/Quote.tsx +68 -13
- package/src/components/Quote/Quote.types.ts +13 -7
- package/src/components/Quote/QuoteCostDetails.tsx +9 -4
- package/src/components/Quote/QuoteTrigger .tsx +7 -3
- package/src/components/QuoteSkeleton/QuoteSkeleton.tsx +2 -2
- package/src/components/QuoteSkeleton/QuoteSkeleton.types.ts +1 -1
- package/src/components/QuoteSkeleton/QuoteSummarySkeleton.styles.ts +10 -12
- package/src/components/QuoteSkeleton/QuoteSummarySkeleton.tsx +28 -9
- package/src/components/QuoteSkeleton/QuoteSummarySkeleton.types.ts +1 -1
- package/src/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.helpers.ts +19 -19
- package/src/components/SwapDetails/SwapDetails.tsx +1 -1
- package/src/components/SwapDetailsAlerts/SwapDetailsAlerts.types.ts +1 -1
- package/src/components/SwapDetailsModal/index.ts +1 -1
- package/src/constants/navigationRoutes.ts +1 -0
- package/src/constants/quote.ts +17 -1
- package/src/containers/QuoteInfo/QuoteInfo.tsx +32 -7
- package/src/containers/QuoteInfo/QuoteInfo.types.ts +6 -3
- package/src/hooks/useConfirmSwap/useConfirmSwap.helpers.ts +36 -20
- package/src/hooks/useConfirmSwap/useConfirmSwap.ts +76 -78
- package/src/hooks/useConfirmSwap/useConfirmSwap.types.ts +1 -1
- package/src/hooks/useFetch.ts +48 -0
- package/src/hooks/useFetchAllQuotes.ts +21 -0
- package/src/hooks/useFetchConfirmQuote.ts +21 -0
- package/src/hooks/useSwapInput.ts +59 -31
- package/src/pages/ConfirmSwapPage.tsx +12 -9
- package/src/pages/Home.tsx +25 -15
- package/src/pages/Routes.tsx +131 -0
- package/src/store/quote.ts +60 -22
- package/src/store/wallets.ts +0 -2
- package/src/types/quote.ts +27 -1
- package/src/utils/quote.ts +129 -67
- package/src/utils/swap.ts +37 -77
- package/src/utils/wallets.ts +10 -9
- package/dist/components/HeaderButtons/HomeButtons.d.ts +0 -4
- package/dist/components/HeaderButtons/HomeButtons.d.ts.map +0 -1
- package/dist/hooks/useFetchQuote.d.ts +0 -9
- package/dist/hooks/useFetchQuote.d.ts.map +0 -1
- package/src/hooks/useFetchQuote.ts +0 -38
|
@@ -143,6 +143,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
143
143
|
18: string;
|
|
144
144
|
20: string;
|
|
145
145
|
24: string;
|
|
146
|
+
26: string;
|
|
146
147
|
28: string;
|
|
147
148
|
30: string;
|
|
148
149
|
32: string;
|
|
@@ -304,6 +305,7 @@ export declare const HeaderDetails: import("@stitches/react/types/styled-compone
|
|
|
304
305
|
18: string;
|
|
305
306
|
20: string;
|
|
306
307
|
24: string;
|
|
308
|
+
26: string;
|
|
307
309
|
28: string;
|
|
308
310
|
30: string;
|
|
309
311
|
32: string;
|
|
@@ -465,6 +467,7 @@ export declare const StepsList: import("@stitches/react/types/styled-component")
|
|
|
465
467
|
18: string;
|
|
466
468
|
20: string;
|
|
467
469
|
24: string;
|
|
470
|
+
26: string;
|
|
468
471
|
28: string;
|
|
469
472
|
30: string;
|
|
470
473
|
32: string;
|
|
@@ -625,6 +628,7 @@ export declare const StepsList: import("@stitches/react/types/styled-component")
|
|
|
625
628
|
18: string;
|
|
626
629
|
20: string;
|
|
627
630
|
24: string;
|
|
631
|
+
26: string;
|
|
628
632
|
28: string;
|
|
629
633
|
30: string;
|
|
630
634
|
32: string;
|
|
@@ -786,6 +790,7 @@ export declare const Alerts: import("@stitches/react/types/styled-component").St
|
|
|
786
790
|
18: string;
|
|
787
791
|
20: string;
|
|
788
792
|
24: string;
|
|
793
|
+
26: string;
|
|
789
794
|
28: string;
|
|
790
795
|
30: string;
|
|
791
796
|
32: string;
|
|
@@ -947,6 +952,7 @@ export declare const PlaceholderContainer: import("@stitches/react/types/styled-
|
|
|
947
952
|
18: string;
|
|
948
953
|
20: string;
|
|
949
954
|
24: string;
|
|
955
|
+
26: string;
|
|
950
956
|
28: string;
|
|
951
957
|
30: string;
|
|
952
958
|
32: string;
|
|
@@ -1108,6 +1114,7 @@ export declare const LoaderContainer: import("@stitches/react/types/styled-compo
|
|
|
1108
1114
|
18: string;
|
|
1109
1115
|
20: string;
|
|
1110
1116
|
24: string;
|
|
1117
|
+
26: string;
|
|
1111
1118
|
28: string;
|
|
1112
1119
|
30: string;
|
|
1113
1120
|
32: string;
|
|
@@ -1269,6 +1276,7 @@ export declare const rowStyles: import("@stitches/react/types/styled-component")
|
|
|
1269
1276
|
18: string;
|
|
1270
1277
|
20: string;
|
|
1271
1278
|
24: string;
|
|
1279
|
+
26: string;
|
|
1272
1280
|
28: string;
|
|
1273
1281
|
30: string;
|
|
1274
1282
|
32: string;
|
|
@@ -1430,6 +1438,7 @@ export declare const datePlaceholderStyles: import("@stitches/react/types/styled
|
|
|
1430
1438
|
18: string;
|
|
1431
1439
|
20: string;
|
|
1432
1440
|
24: string;
|
|
1441
|
+
26: string;
|
|
1433
1442
|
28: string;
|
|
1434
1443
|
30: string;
|
|
1435
1444
|
32: string;
|
|
@@ -1591,6 +1600,7 @@ export declare const requestIdStyles: import("@stitches/react/types/styled-compo
|
|
|
1591
1600
|
18: string;
|
|
1592
1601
|
20: string;
|
|
1593
1602
|
24: string;
|
|
1603
|
+
26: string;
|
|
1594
1604
|
28: string;
|
|
1595
1605
|
30: string;
|
|
1596
1606
|
32: string;
|
|
@@ -1752,6 +1762,7 @@ export declare const outputStyles: import("@stitches/react/types/styled-componen
|
|
|
1752
1762
|
18: string;
|
|
1753
1763
|
20: string;
|
|
1754
1764
|
24: string;
|
|
1765
|
+
26: string;
|
|
1755
1766
|
28: string;
|
|
1756
1767
|
30: string;
|
|
1757
1768
|
32: string;
|
|
@@ -1913,6 +1924,7 @@ export declare const titleStepsStyles: import("@stitches/react/types/styled-comp
|
|
|
1913
1924
|
18: string;
|
|
1914
1925
|
20: string;
|
|
1915
1926
|
24: string;
|
|
1927
|
+
26: string;
|
|
1916
1928
|
28: string;
|
|
1917
1929
|
30: string;
|
|
1918
1930
|
32: string;
|
|
@@ -2074,6 +2086,7 @@ export declare const StyledLink: import("@stitches/react/types/styled-component"
|
|
|
2074
2086
|
18: string;
|
|
2075
2087
|
20: string;
|
|
2076
2088
|
24: string;
|
|
2089
|
+
26: string;
|
|
2077
2090
|
28: string;
|
|
2078
2091
|
30: string;
|
|
2079
2092
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetails.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"SwapDetails.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.styles.ts"],"names":[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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMvB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAG3B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAOrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsAlerts.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"SwapDetailsAlerts.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIjB,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { getSwapMessages } from '../../utils/swap';
|
|
2
2
|
import type { ModalState } from '../SwapDetailsModal';
|
|
3
3
|
import type { ConnectResult } from '@rango-dev/wallets-react';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SwapperMeta } from 'rango-sdk';
|
|
5
|
+
import type { BlockchainMeta, PendingSwap, PendingSwapNetworkStatus, PendingSwapStep } from 'rango-types';
|
|
5
6
|
export interface SwapAlertsProps extends WaningAlertsProps {
|
|
6
7
|
step: PendingSwapStep;
|
|
7
8
|
hasAlreadyProceededToSign?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsAlerts.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,wBAAwB,EACxB,eAAe,
|
|
1
|
+
{"version":3,"file":"SwapDetailsAlerts.types.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsAlerts/SwapDetailsAlerts.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,IAAI,EAAE,eAAe,CAAC;IACtB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,aAAa,EAAE,CAAC,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC,GAAG,SAAS,CAAC;IAC1D,gBAAgB,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D,eAAe,EAAE,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;CAChD;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;CAC7C;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,2BAA2B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsModal.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"SwapDetailsModal.styles.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAG1B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { SwapDetailsModal } from './SwapDetailsModal';
|
|
2
2
|
export { SwapDetailsCompleteModal } from './SwapDetailsCompleteModal';
|
|
3
|
-
export type { ModalState } from './SwapDetailsModal.types';
|
|
3
|
+
export type { ModalState, ModalPropTypes } from './SwapDetailsModal.types';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -144,6 +144,7 @@ export declare const tokenNameStyles: import("@stitches/react/types/styled-compo
|
|
|
144
144
|
18: string;
|
|
145
145
|
20: string;
|
|
146
146
|
24: string;
|
|
147
|
+
26: string;
|
|
147
148
|
28: string;
|
|
148
149
|
30: string;
|
|
149
150
|
32: string;
|
|
@@ -305,6 +306,7 @@ export declare const descriptionStyles: import("@stitches/react/types/styled-com
|
|
|
305
306
|
18: string;
|
|
306
307
|
20: string;
|
|
307
308
|
24: string;
|
|
309
|
+
26: string;
|
|
308
310
|
28: string;
|
|
309
311
|
30: string;
|
|
310
312
|
32: string;
|
|
@@ -466,6 +468,7 @@ export declare const tokenTitleStyles: import("@stitches/react/types/styled-comp
|
|
|
466
468
|
18: string;
|
|
467
469
|
20: string;
|
|
468
470
|
24: string;
|
|
471
|
+
26: string;
|
|
469
472
|
28: string;
|
|
470
473
|
30: string;
|
|
471
474
|
32: string;
|
|
@@ -627,6 +630,7 @@ export declare const tokenAddressStyles: import("@stitches/react/types/styled-co
|
|
|
627
630
|
18: string;
|
|
628
631
|
20: string;
|
|
629
632
|
24: string;
|
|
633
|
+
26: string;
|
|
630
634
|
28: string;
|
|
631
635
|
30: string;
|
|
632
636
|
32: string;
|
|
@@ -788,6 +792,7 @@ export declare const tokenWithoutNameStyles: import("@stitches/react/types/style
|
|
|
788
792
|
18: string;
|
|
789
793
|
20: string;
|
|
790
794
|
24: string;
|
|
795
|
+
26: string;
|
|
791
796
|
28: string;
|
|
792
797
|
30: string;
|
|
793
798
|
32: string;
|
|
@@ -949,6 +954,7 @@ export declare const usdValueStyles: import("@stitches/react/types/styled-compon
|
|
|
949
954
|
18: string;
|
|
950
955
|
20: string;
|
|
951
956
|
24: string;
|
|
957
|
+
26: string;
|
|
952
958
|
28: string;
|
|
953
959
|
30: string;
|
|
954
960
|
32: string;
|
|
@@ -1110,6 +1116,7 @@ export declare const Container: import("@stitches/react/types/styled-component")
|
|
|
1110
1116
|
18: string;
|
|
1111
1117
|
20: string;
|
|
1112
1118
|
24: string;
|
|
1119
|
+
26: string;
|
|
1113
1120
|
28: string;
|
|
1114
1121
|
30: string;
|
|
1115
1122
|
32: string;
|
|
@@ -1271,6 +1278,7 @@ export declare const Title: import("@stitches/react/types/styled-component").Sty
|
|
|
1271
1278
|
18: string;
|
|
1272
1279
|
20: string;
|
|
1273
1280
|
24: string;
|
|
1281
|
+
26: string;
|
|
1274
1282
|
28: string;
|
|
1275
1283
|
30: string;
|
|
1276
1284
|
32: string;
|
|
@@ -1432,6 +1440,7 @@ export declare const List: import("@stitches/react/types/styled-component").Styl
|
|
|
1432
1440
|
18: string;
|
|
1433
1441
|
20: string;
|
|
1434
1442
|
24: string;
|
|
1443
|
+
26: string;
|
|
1435
1444
|
28: string;
|
|
1436
1445
|
30: string;
|
|
1437
1446
|
32: string;
|
|
@@ -1593,6 +1602,7 @@ export declare const Tag: import("@stitches/react/types/styled-component").Style
|
|
|
1593
1602
|
18: string;
|
|
1594
1603
|
20: string;
|
|
1595
1604
|
24: string;
|
|
1605
|
+
26: string;
|
|
1596
1606
|
28: string;
|
|
1597
1607
|
30: string;
|
|
1598
1608
|
32: string;
|
|
@@ -1754,6 +1764,7 @@ export declare const TagTitle: import("@stitches/react/types/styled-component").
|
|
|
1754
1764
|
18: string;
|
|
1755
1765
|
20: string;
|
|
1756
1766
|
24: string;
|
|
1767
|
+
26: string;
|
|
1757
1768
|
28: string;
|
|
1758
1769
|
30: string;
|
|
1759
1770
|
32: string;
|
|
@@ -1915,6 +1926,7 @@ export declare const BalanceContainer: import("@stitches/react/types/styled-comp
|
|
|
1915
1926
|
18: string;
|
|
1916
1927
|
20: string;
|
|
1917
1928
|
24: string;
|
|
1929
|
+
26: string;
|
|
1918
1930
|
28: string;
|
|
1919
1931
|
30: string;
|
|
1920
1932
|
32: string;
|
|
@@ -2076,6 +2088,7 @@ export declare const End: import("@stitches/react/types/styled-component").Style
|
|
|
2076
2088
|
18: string;
|
|
2077
2089
|
20: string;
|
|
2078
2090
|
24: string;
|
|
2091
|
+
26: string;
|
|
2079
2092
|
28: string;
|
|
2080
2093
|
30: string;
|
|
2081
2094
|
32: string;
|
|
@@ -2237,6 +2250,7 @@ export declare const Description: import("@stitches/react/types/styled-component
|
|
|
2237
2250
|
18: string;
|
|
2238
2251
|
20: string;
|
|
2239
2252
|
24: string;
|
|
2253
|
+
26: string;
|
|
2240
2254
|
28: string;
|
|
2241
2255
|
30: string;
|
|
2242
2256
|
32: string;
|
|
@@ -2398,6 +2412,7 @@ export declare const ImageSection: import("@stitches/react/types/styled-componen
|
|
|
2398
2412
|
18: string;
|
|
2399
2413
|
20: string;
|
|
2400
2414
|
24: string;
|
|
2415
|
+
26: string;
|
|
2401
2416
|
28: string;
|
|
2402
2417
|
30: string;
|
|
2403
2418
|
32: string;
|
|
@@ -2559,6 +2574,7 @@ export declare const Pin: import("@stitches/react/types/styled-component").Style
|
|
|
2559
2574
|
18: string;
|
|
2560
2575
|
20: string;
|
|
2561
2576
|
24: string;
|
|
2577
|
+
26: string;
|
|
2562
2578
|
28: string;
|
|
2563
2579
|
30: string;
|
|
2564
2580
|
32: string;
|
|
@@ -2720,6 +2736,7 @@ export declare const TokenBalance: import("@stitches/react/types/styled-componen
|
|
|
2720
2736
|
18: string;
|
|
2721
2737
|
20: string;
|
|
2722
2738
|
24: string;
|
|
2739
|
+
26: string;
|
|
2723
2740
|
28: string;
|
|
2724
2741
|
30: string;
|
|
2725
2742
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,UAAU,EACX,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"TokenList.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,UAAU,EACX,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQ1B,CAAC;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK5B,CAAC;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK3B,CAAC;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;+DAGtB,CAAC;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAMvB,CAAC;AACH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAOd,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKvB,CAAC"}
|
|
@@ -143,6 +143,7 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
|
|
|
143
143
|
18: string;
|
|
144
144
|
20: string;
|
|
145
145
|
24: string;
|
|
146
|
+
26: string;
|
|
146
147
|
28: string;
|
|
147
148
|
30: string;
|
|
148
149
|
32: string;
|
|
@@ -304,6 +305,7 @@ export declare const LogoContainer: import("@stitches/react/types/styled-compone
|
|
|
304
305
|
18: string;
|
|
305
306
|
20: string;
|
|
306
307
|
24: string;
|
|
308
|
+
26: string;
|
|
307
309
|
28: string;
|
|
308
310
|
30: string;
|
|
309
311
|
32: string;
|
|
@@ -465,6 +467,7 @@ export declare const Spinner: import("@stitches/react/types/styled-component").S
|
|
|
465
467
|
18: string;
|
|
466
468
|
20: string;
|
|
467
469
|
24: string;
|
|
470
|
+
26: string;
|
|
468
471
|
28: string;
|
|
469
472
|
30: string;
|
|
470
473
|
32: string;
|
|
@@ -626,6 +629,7 @@ export declare const WalletImageContainer: import("@stitches/react/types/styled-
|
|
|
626
629
|
18: string;
|
|
627
630
|
20: string;
|
|
628
631
|
24: string;
|
|
632
|
+
26: string;
|
|
629
633
|
28: string;
|
|
630
634
|
30: string;
|
|
631
635
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WalletModalContent.styles.d.ts","sourceRoot":"","sources":["../../../src/components/WalletModal/WalletModalContent.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"WalletModalContent.styles.d.ts","sourceRoot":"","sources":["../../../src/components/WalletModal/WalletModalContent.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQxB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAExB,CAAC;AAWH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAYlB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAI/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigationRoutes.d.ts","sourceRoot":"","sources":["../../src/constants/navigationRoutes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"navigationRoutes.d.ts","sourceRoot":"","sources":["../../src/constants/navigationRoutes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;CAgB5B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SwapFee } from 'rango-sdk';
|
|
1
|
+
import type { PreferenceType, SwapFee, TagValue } from 'rango-sdk';
|
|
2
2
|
export type NameOfFees = 'Swapper Fee' | 'Affiliate Fee' | 'Outbound network fee' | 'Rango Fee' | 'Network Fee';
|
|
3
3
|
export declare const NAME_OF_FEES: Record<NameOfFees, string>;
|
|
4
4
|
export type FeesGroup = {
|
|
@@ -9,4 +9,8 @@ export type FeesGroup = {
|
|
|
9
9
|
[key in NameOfFees]?: SwapFee[];
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
|
+
export declare const ROUTE_SORTING_STRATEGY: {
|
|
13
|
+
[key in PreferenceType]: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const HIGH_PRIORITY_TAGS: TagValue[];
|
|
12
16
|
//# sourceMappingURL=quote.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quote.d.ts","sourceRoot":"","sources":["../../src/constants/quote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"quote.d.ts","sourceRoot":"","sources":["../../src/constants/quote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAInE,MAAM,MAAM,UAAU,GAClB,aAAa,GACb,eAAe,GACf,sBAAsB,GACtB,WAAW,GACX,aAAa,CAAC;AAElB,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAMnD,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE;SAAG,GAAG,IAAI,UAAU,CAAC,CAAC,EAAE,OAAO,EAAE;KAAE,CAAC;IAC7C,WAAW,EAAE;SAAG,GAAG,IAAI,UAAU,CAAC,CAAC,EAAE,OAAO,EAAE;KAAE,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE;KAAG,GAAG,IAAI,cAAc,GAAG,MAAM;CAMrE,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,EAMxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/App/App.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"App.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/App/App.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAgBxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuoteInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"QuoteInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,4BA8DzC"}
|
|
@@ -143,6 +143,7 @@ export declare const QuoteContainer: import("@stitches/react/types/styled-compon
|
|
|
143
143
|
18: string;
|
|
144
144
|
20: string;
|
|
145
145
|
24: string;
|
|
146
|
+
26: string;
|
|
146
147
|
28: string;
|
|
147
148
|
30: string;
|
|
148
149
|
32: string;
|
|
@@ -304,6 +305,7 @@ export declare const FooterStepAlarm: import("@stitches/react/types/styled-compo
|
|
|
304
305
|
18: string;
|
|
305
306
|
20: string;
|
|
306
307
|
24: string;
|
|
308
|
+
26: string;
|
|
307
309
|
28: string;
|
|
308
310
|
30: string;
|
|
309
311
|
32: string;
|
|
@@ -465,6 +467,7 @@ export declare const FooterAlert: import("@stitches/react/types/styled-component
|
|
|
465
467
|
18: string;
|
|
466
468
|
20: string;
|
|
467
469
|
24: string;
|
|
470
|
+
26: string;
|
|
468
471
|
28: string;
|
|
469
472
|
30: string;
|
|
470
473
|
32: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKzB,CAAC;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import type { QuoteProps } from '../../components/Quote/Quote.types';
|
|
2
|
-
import type { QuoteError, QuoteWarning } from '../../types';
|
|
3
|
-
import type { BestRouteResponse } from 'rango-sdk';
|
|
2
|
+
import type { QuoteError, QuoteWarning, SelectedQuote } from '../../types';
|
|
4
3
|
export type PropTypes = {
|
|
5
|
-
quote:
|
|
4
|
+
quote: SelectedQuote | null;
|
|
6
5
|
type: QuoteProps['type'];
|
|
6
|
+
onClick?: (quote: SelectedQuote) => void;
|
|
7
7
|
loading: boolean;
|
|
8
|
+
tagHidden?: boolean;
|
|
8
9
|
error: QuoteError | null;
|
|
9
10
|
warning: QuoteWarning | null;
|
|
10
11
|
autoScrollOnExpanding?: boolean;
|
|
11
12
|
expanded?: boolean;
|
|
13
|
+
onClickAllRoutes?: () => void;
|
|
14
|
+
selected?: boolean;
|
|
12
15
|
};
|
|
13
16
|
//# sourceMappingURL=QuoteInfo.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuoteInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"QuoteInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE3E,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACzB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConfirmSwap.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmSwap/useConfirmSwap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAU,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"useConfirmSwap.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmSwap/useConfirmSwap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAU,MAAM,wBAAwB,CAAC;AAkBlE,wBAAgB,cAAc,IAAI,WAAW,CAoH5C"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { ConfirmSwapFetchResult } from './useConfirmSwap.types';
|
|
2
|
-
import type { ConfirmSwapWarnings, Wallet } from '../../types';
|
|
3
|
-
import type {
|
|
2
|
+
import type { ConfirmSwapWarnings, QuoteErrorResponse, QuoteResponse, SelectedQuote, Wallet } from '../../types';
|
|
3
|
+
import type { BlockchainMeta, SwapResult, Token } from 'rango-sdk';
|
|
4
4
|
/**
|
|
5
5
|
* A request can be successful but in body of the response, it can be some case which is considered as failed.
|
|
6
6
|
*/
|
|
7
|
-
export declare function throwErrorIfResponseIsNotValid(response:
|
|
8
|
-
export declare function
|
|
7
|
+
export declare function throwErrorIfResponseIsNotValid(response: QuoteResponse): void;
|
|
8
|
+
export declare function getQuoteError(swaps: SwapResult[]): QuoteErrorResponse | null;
|
|
9
|
+
export declare function generateWarnings(previousQuote: SelectedQuote | undefined, currentQuote: SelectedQuote, params: {
|
|
9
10
|
fromToken: Token;
|
|
10
11
|
toToken: Token;
|
|
11
12
|
meta: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConfirmSwap.helpers.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmSwap/useConfirmSwap.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"useConfirmSwap.helpers.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmSwap/useConfirmSwap.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,MAAM,EACP,MAAM,aAAa,C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AsB,CAAC,CAAC;IAC3D,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"useConfirmSwap.types.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmSwap/useConfirmSwap.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAC3D,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RequestOptions } from 'rango-sdk';
|
|
2
|
+
type UseFetchOptions<TRequest, TResponse> = {
|
|
3
|
+
request: (requestBody: TRequest, options?: RequestOptions) => Promise<TResponse>;
|
|
4
|
+
};
|
|
5
|
+
export type UseFetchResult<TRequest, TResponse> = {
|
|
6
|
+
fetch: (requestBody: TRequest) => Promise<TResponse>;
|
|
7
|
+
cancelFetch: () => void;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function useFetch<TRequest, TResponse>({ request, }: UseFetchOptions<TRequest, TResponse>): UseFetchResult<TRequest, TResponse>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=useFetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFetch.d.ts","sourceRoot":"","sources":["../../src/hooks/useFetch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,KAAK,eAAe,CAAC,QAAQ,EAAE,SAAS,IAAI;IAC1C,OAAO,EAAE,CACP,WAAW,EAAE,QAAQ,EACrB,OAAO,CAAC,EAAE,cAAc,KACrB,OAAO,CAAC,SAAS,CAAC,CAAC;CACzB,CAAC;AACF,MAAM,MAAM,cAAc,CAAC,QAAQ,EAAE,SAAS,IAAI;IAChD,KAAK,EAAE,CAAC,WAAW,EAAE,QAAQ,KAAK,OAAO,CAAC,SAAS,CAAC,CAAC;IACrD,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,SAAS,EAAE,EAC5C,OAAO,GACR,EAAE,eAAe,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,cAAc,CAAC,QAAQ,EAAE,SAAS,CAAC,CA6B5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFetchAllQuotes.d.ts","sourceRoot":"","sources":["../../src/hooks/useFetchAllQuotes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAMtE,wBAAgB,iBAAiB,IAAI,cAAc,CACjD,gBAAgB,EAChB,kBAAkB,CACnB,CAUA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { UseFetchResult } from './useFetch';
|
|
2
|
+
import type { ConfirmRouteRequest, ConfirmRouteResponse } from 'rango-sdk';
|
|
3
|
+
export declare function useFetchConfirmQuote(): UseFetchResult<ConfirmRouteRequest, ConfirmRouteResponse>;
|
|
4
|
+
//# sourceMappingURL=useFetchConfirmQuote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFetchConfirmQuote.d.ts","sourceRoot":"","sources":["../../src/hooks/useFetchConfirmQuote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAM3E,wBAAgB,oBAAoB,IAAI,cAAc,CACpD,mBAAmB,EACnB,oBAAoB,CACrB,CAUA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { QuoteError, QuoteWarning } from '../types';
|
|
2
1
|
type UseSwapInput = {
|
|
3
|
-
fetch: () => void;
|
|
2
|
+
fetch: (shouldChangeSelectedQuote?: boolean) => void;
|
|
4
3
|
loading: boolean;
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
};
|
|
5
|
+
type UseSwapInputProps = {
|
|
6
|
+
refetchQuote: boolean;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* a hook for fetching quote based on from and to input values
|
|
10
10
|
* we use this hook in home page
|
|
11
11
|
*/
|
|
12
|
-
export declare function useSwapInput(): UseSwapInput;
|
|
12
|
+
export declare function useSwapInput({ refetchQuote, }: UseSwapInputProps): UseSwapInput;
|
|
13
13
|
export {};
|
|
14
14
|
//# sourceMappingURL=useSwapInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"AAiCA,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,CAAC,yBAAyB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,KAAK,iBAAiB,GAAG;IACvB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AACF;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAC3B,YAAY,GACb,EAAE,iBAAiB,GAAG,YAAY,CAyMlC"}
|