@rango-dev/widget-embedded 0.20.1-next.2 → 0.20.1-next.20
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/BlockchainList/BlockchainList.styles.d.ts +8 -0
- package/dist/components/BlockchainList/BlockchainList.styles.d.ts.map +1 -1
- package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts +4 -0
- package/dist/components/BlockchainsSection/BlockchainsSection.styles.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +514 -1088
- 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 +12 -0
- package/dist/components/ConfirmWalletsModal/WalletList.styles.d.ts.map +1 -1
- package/dist/components/CustomCollapsible/CustomCollapsible.d.ts +5 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.d.ts.map +1 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.styles.d.ts +654 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.styles.d.ts.map +1 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.types.d.ts +10 -0
- package/dist/components/CustomCollapsible/CustomCollapsible.types.d.ts.map +1 -0
- package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts +179 -0
- package/dist/components/HeaderButtons/HeaderButtons.styles.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HeaderButtons.types.d.ts +0 -1
- package/dist/components/HeaderButtons/HeaderButtons.types.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HomeButtons.d.ts.map +1 -1
- package/dist/components/HeaderButtons/RefreshButton.d.ts +6 -0
- package/dist/components/HeaderButtons/RefreshButton.d.ts.map +1 -0
- package/dist/components/Layout/Layout.styles.d.ts +12 -0
- package/dist/components/Layout/Layout.styles.d.ts.map +1 -1
- package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts +4 -0
- package/dist/components/LoadingLiquiditySourceList/LoadingLiquiditySourceList.styles.d.ts.map +1 -1
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts +56 -0
- package/dist/components/LoadingSwapDetails/LoadingSwapDetails.styles.d.ts.map +1 -1
- package/dist/components/NoResult/NoResult.styles.d.ts +12 -0
- package/dist/components/NoResult/NoResult.styles.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts +16 -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 +386 -2
- package/dist/components/Quote/Quote.styles.d.ts.map +1 -1
- package/dist/components/Quote/Quote.types.d.ts +19 -0
- package/dist/components/Quote/Quote.types.d.ts.map +1 -1
- package/dist/components/Quote/QuoteCostDetails.d.ts +4 -0
- package/dist/components/Quote/QuoteCostDetails.d.ts.map +1 -0
- package/dist/components/Quote/QuoteCostDetails.styles.d.ts +806 -0
- package/dist/components/Quote/QuoteCostDetails.styles.d.ts.map +1 -0
- package/dist/components/Quote/QuoteSummary.d.ts.map +1 -1
- package/dist/components/Quote/QuoteSummary.styles.d.ts +8 -0
- package/dist/components/Quote/QuoteSummary.styles.d.ts.map +1 -1
- package/dist/components/Quote/QuoteTrigger .d.ts +4 -0
- package/dist/components/Quote/QuoteTrigger .d.ts.map +1 -0
- package/dist/components/QuoteSkeleton/QuoteSkeleton.styles.d.ts +16 -0
- package/dist/components/QuoteSkeleton/QuoteSkeleton.styles.d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.styles.d.ts +40 -0
- package/dist/components/QuoteSkeleton/QuoteSummarySkeleton.styles.d.ts.map +1 -1
- package/dist/components/QuoteSkeleton/StepSkeleton.styles.d.ts +20 -0
- package/dist/components/QuoteSkeleton/StepSkeleton.styles.d.ts.map +1 -1
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts +16 -0
- package/dist/components/QuoteWarningsAndErrors/QuoteWarningsAndErrors.styles.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.styles.d.ts +4 -0
- package/dist/components/SearchInput/SearchInput.styles.d.ts.map +1 -1
- package/dist/components/SettingsContainer/SettingsContainer.style.d.ts +16 -0
- package/dist/components/SettingsContainer/SettingsContainer.style.d.ts.map +1 -1
- package/dist/components/Slippage/Slippage.styles.d.ts +20 -0
- package/dist/components/Slippage/Slippage.styles.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.Placeholder.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.helpers.d.ts +1 -1
- package/dist/components/SwapDetails/SwapDetails.helpers.d.ts.map +1 -1
- package/dist/components/SwapDetails/SwapDetails.styles.d.ts +362 -0
- package/dist/components/SwapDetails/SwapDetails.styles.d.ts.map +1 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.d.ts.map +1 -1
- package/dist/components/SwapDetailsAlerts/SwapDetailsAlerts.styles.d.ts +4 -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 +4 -0
- package/dist/components/SwapDetailsModal/SwapDetailsModal.styles.d.ts.map +1 -1
- package/dist/components/SwapsGroup/SwapsGroup.d.ts.map +1 -1
- package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts +20 -0
- package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.styles.d.ts +68 -0
- package/dist/components/TokenList/TokenList.styles.d.ts.map +1 -1
- package/dist/components/WalletModal/WalletModalContent.styles.d.ts +16 -0
- package/dist/components/WalletModal/WalletModalContent.styles.d.ts.map +1 -1
- package/dist/components/WidgetEvents.d.ts.map +1 -1
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/quote.d.ts +12 -0
- package/dist/constants/quote.d.ts.map +1 -0
- package/dist/containers/App/App.d.ts.map +1 -1
- package/dist/containers/App/App.styles.d.ts +4 -0
- package/dist/containers/App/App.styles.d.ts.map +1 -1
- package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts +20 -0
- package/dist/containers/QuoteInfo/QuoteInfo.styles.d.ts.map +1 -1
- package/dist/containers/Wallets/Wallets.d.ts.map +1 -1
- package/dist/containers/WidgetInfo/WidgetInfo.d.ts.map +1 -1
- package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts +5 -0
- package/dist/containers/WidgetInfo/WidgetInfo.types.d.ts.map +1 -1
- package/dist/containers/WidgetProvider/WidgetProvider.d.ts.map +1 -1
- package/dist/hooks/useLanguage.d.ts +2 -1
- package/dist/hooks/useLanguage.d.ts.map +1 -1
- package/dist/hooks/usePrepareBlockchainList/usePrepareBlockchainList.helpers.d.ts +2 -2
- package/dist/hooks/useSwapInput.d.ts.map +1 -1
- package/dist/hooks/useSyncStoresWithConfig.d.ts.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- 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/LiquiditySourcePage.d.ts.map +1 -1
- package/dist/pages/SelectSwapItemsPage.d.ts.map +1 -1
- package/dist/store/AppStore.d.ts +2 -2
- package/dist/store/app.d.ts +2 -2
- package/dist/store/slices/data.d.ts.map +1 -1
- package/dist/store/slices/settings.d.ts +2 -2
- package/dist/store/slices/settings.d.ts.map +1 -1
- package/dist/types/config.d.ts +16 -3
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/notification.d.ts +1 -2
- package/dist/types/notification.d.ts.map +1 -1
- package/dist/utils/configs.d.ts +8 -0
- package/dist/utils/configs.d.ts.map +1 -1
- package/dist/utils/date.d.ts.map +1 -1
- package/dist/utils/quote.d.ts +5 -1
- package/dist/utils/quote.d.ts.map +1 -1
- package/dist/utils/settings.d.ts +1 -1
- package/dist/utils/swap.d.ts +5 -1
- package/dist/utils/swap.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/components/ConfirmWalletsModal/ConfirmWallets.styles.ts +27 -96
- package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +25 -40
- package/src/components/CustomCollapsible/CustomCollapsible.styles.ts +75 -0
- package/src/components/CustomCollapsible/CustomCollapsible.tsx +55 -0
- package/src/components/CustomCollapsible/CustomCollapsible.types.ts +10 -0
- package/src/components/HeaderButtons/HeaderButtons.styles.ts +16 -1
- package/src/components/HeaderButtons/HeaderButtons.types.ts +0 -1
- package/src/components/HeaderButtons/HomeButtons.tsx +20 -33
- package/src/components/HeaderButtons/RefreshButton.tsx +81 -0
- package/src/components/NotificationContent/NotificationContent.tsx +10 -1
- package/src/components/Quote/Quote.styles.ts +44 -5
- package/src/components/Quote/Quote.tsx +10 -77
- package/src/components/Quote/Quote.types.ts +22 -0
- package/src/components/Quote/QuoteCostDetails.styles.ts +50 -0
- package/src/components/Quote/QuoteCostDetails.tsx +218 -0
- package/src/components/Quote/QuoteSummary.tsx +3 -2
- package/src/components/Quote/QuoteTrigger .tsx +215 -0
- package/src/components/Slippage/Slippage.tsx +5 -5
- package/src/components/Slippage/SlippageTooltipContent.tsx +1 -1
- package/src/components/SwapDetails/SwapDetails.Placeholder.tsx +12 -12
- package/src/components/SwapDetails/SwapDetails.helpers.tsx +43 -3
- package/src/components/SwapDetails/SwapDetails.styles.ts +13 -0
- package/src/components/SwapDetails/SwapDetails.tsx +10 -0
- package/src/components/SwapDetailsAlerts/SwapDetailsAlerts.tsx +13 -7
- package/src/components/SwapDetailsAlerts/SwapDetailsAlerts.types.ts +2 -0
- package/src/components/SwapsGroup/SwapsGroup.tsx +18 -7
- package/src/components/WidgetEvents.tsx +2 -14
- package/src/constants/index.ts +1 -0
- package/src/constants/quote.ts +23 -0
- package/src/containers/App/App.tsx +1 -4
- package/src/containers/Wallets/Wallets.tsx +11 -2
- package/src/containers/WidgetInfo/WidgetInfo.tsx +8 -0
- package/src/containers/WidgetInfo/WidgetInfo.types.ts +5 -0
- package/src/containers/WidgetProvider/WidgetProvider.tsx +2 -1
- package/src/hooks/useLanguage.ts +6 -4
- package/src/hooks/useSwapInput.ts +6 -2
- package/src/hooks/useSyncStoresWithConfig.ts +17 -34
- package/src/index.ts +4 -2
- package/src/pages/ConfirmSwapPage.tsx +12 -10
- package/src/pages/Home.tsx +5 -1
- package/src/pages/LiquiditySourcePage.tsx +5 -2
- package/src/pages/SelectBlockchainPage.tsx +3 -3
- package/src/pages/SelectSwapItemsPage.tsx +5 -1
- package/src/store/slices/data.ts +5 -7
- package/src/store/slices/settings.ts +3 -3
- package/src/types/config.ts +16 -3
- package/src/types/notification.ts +0 -7
- package/src/utils/configs.ts +41 -0
- package/src/utils/date.ts +5 -4
- package/src/utils/quote.ts +18 -1
- package/src/utils/swap.ts +35 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export declare const IconContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
2
|
+
xs: string;
|
|
2
3
|
sm: string;
|
|
3
4
|
md: string;
|
|
4
5
|
lg: string;
|
|
5
6
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
7
|
+
xs: string;
|
|
6
8
|
sm: string;
|
|
7
9
|
md: string;
|
|
8
10
|
lg: string;
|
|
@@ -135,12 +137,14 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
|
|
|
135
137
|
4: string;
|
|
136
138
|
6: string;
|
|
137
139
|
8: string;
|
|
140
|
+
10: string;
|
|
138
141
|
12: string;
|
|
139
142
|
16: string;
|
|
140
143
|
18: string;
|
|
141
144
|
20: string;
|
|
142
145
|
24: string;
|
|
143
146
|
28: string;
|
|
147
|
+
30: string;
|
|
144
148
|
32: string;
|
|
145
149
|
36: string;
|
|
146
150
|
40: string;
|
|
@@ -156,10 +160,12 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
|
|
|
156
160
|
transitions: {};
|
|
157
161
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
158
162
|
export declare const LogoContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
163
|
+
xs: string;
|
|
159
164
|
sm: string;
|
|
160
165
|
md: string;
|
|
161
166
|
lg: string;
|
|
162
167
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
168
|
+
xs: string;
|
|
163
169
|
sm: string;
|
|
164
170
|
md: string;
|
|
165
171
|
lg: string;
|
|
@@ -292,12 +298,14 @@ export declare const LogoContainer: import("@stitches/react/types/styled-compone
|
|
|
292
298
|
4: string;
|
|
293
299
|
6: string;
|
|
294
300
|
8: string;
|
|
301
|
+
10: string;
|
|
295
302
|
12: string;
|
|
296
303
|
16: string;
|
|
297
304
|
18: string;
|
|
298
305
|
20: string;
|
|
299
306
|
24: string;
|
|
300
307
|
28: string;
|
|
308
|
+
30: string;
|
|
301
309
|
32: string;
|
|
302
310
|
36: string;
|
|
303
311
|
40: string;
|
|
@@ -313,10 +321,12 @@ export declare const LogoContainer: import("@stitches/react/types/styled-compone
|
|
|
313
321
|
transitions: {};
|
|
314
322
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
315
323
|
export declare const Spinner: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
324
|
+
xs: string;
|
|
316
325
|
sm: string;
|
|
317
326
|
md: string;
|
|
318
327
|
lg: string;
|
|
319
328
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
329
|
+
xs: string;
|
|
320
330
|
sm: string;
|
|
321
331
|
md: string;
|
|
322
332
|
lg: string;
|
|
@@ -449,12 +459,14 @@ export declare const Spinner: import("@stitches/react/types/styled-component").S
|
|
|
449
459
|
4: string;
|
|
450
460
|
6: string;
|
|
451
461
|
8: string;
|
|
462
|
+
10: string;
|
|
452
463
|
12: string;
|
|
453
464
|
16: string;
|
|
454
465
|
18: string;
|
|
455
466
|
20: string;
|
|
456
467
|
24: string;
|
|
457
468
|
28: string;
|
|
469
|
+
30: string;
|
|
458
470
|
32: string;
|
|
459
471
|
36: string;
|
|
460
472
|
40: string;
|
|
@@ -470,10 +482,12 @@ export declare const Spinner: import("@stitches/react/types/styled-component").S
|
|
|
470
482
|
transitions: {};
|
|
471
483
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
472
484
|
export declare const WalletImageContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
485
|
+
xs: string;
|
|
473
486
|
sm: string;
|
|
474
487
|
md: string;
|
|
475
488
|
lg: string;
|
|
476
489
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
490
|
+
xs: string;
|
|
477
491
|
sm: string;
|
|
478
492
|
md: string;
|
|
479
493
|
lg: string;
|
|
@@ -606,12 +620,14 @@ export declare const WalletImageContainer: import("@stitches/react/types/styled-
|
|
|
606
620
|
4: string;
|
|
607
621
|
6: string;
|
|
608
622
|
8: string;
|
|
623
|
+
10: string;
|
|
609
624
|
12: string;
|
|
610
625
|
16: string;
|
|
611
626
|
18: string;
|
|
612
627
|
20: string;
|
|
613
628
|
24: string;
|
|
614
629
|
28: string;
|
|
630
|
+
30: string;
|
|
615
631
|
32: string;
|
|
616
632
|
36: string;
|
|
617
633
|
40: 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":"WidgetEvents.d.ts","sourceRoot":"","sources":["../../src/components/WidgetEvents.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WidgetEvents.d.ts","sourceRoot":"","sources":["../../src/components/WidgetEvents.tsx"],"names":[],"mappings":"AAcA,wBAAgB,YAAY,SAoD3B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const RANGO_PUBLIC_API_KEY = "c6381a79-2817-4602-83bf-6a641a409e32";
|
|
2
2
|
export declare const DEFAULT_BASE_URL = "https://api.rango.exchange";
|
|
3
3
|
export declare const RANGO_SWAP_BOX_ID = "rango-swap-box";
|
|
4
|
+
export declare const SCANNER_BASE_URL = "https://scan.rango.exchange";
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,yCAAyC,CAAC;AAC3E,eAAO,MAAM,gBAAgB,+BAA+B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,yCAAyC,CAAC;AAC3E,eAAO,MAAM,gBAAgB,+BAA+B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,mBAAmB,CAAC;AAClD,eAAO,MAAM,gBAAgB,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SwapFee } from 'rango-sdk';
|
|
2
|
+
export type NameOfFees = 'Swapper Fee' | 'Affiliate Fee' | 'Outbound network fee' | 'Rango Fee' | 'Network Fee';
|
|
3
|
+
export declare const NAME_OF_FEES: Record<NameOfFees, string>;
|
|
4
|
+
export type FeesGroup = {
|
|
5
|
+
payable: {
|
|
6
|
+
[key in NameOfFees]?: SwapFee[];
|
|
7
|
+
};
|
|
8
|
+
nonePayable: {
|
|
9
|
+
[key in NameOfFees]?: SwapFee[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=quote.d.ts.map
|
|
@@ -0,0 +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;AAIzC,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/containers/App/App.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAc/D,wBAAgB,IAAI,
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/containers/App/App.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAc/D,wBAAgB,IAAI,sBA+BnB"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export declare const MainContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
2
|
+
xs: string;
|
|
2
3
|
sm: string;
|
|
3
4
|
md: string;
|
|
4
5
|
lg: string;
|
|
5
6
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
7
|
+
xs: string;
|
|
6
8
|
sm: string;
|
|
7
9
|
md: string;
|
|
8
10
|
lg: string;
|
|
@@ -135,12 +137,14 @@ export declare const MainContainer: import("@stitches/react/types/styled-compone
|
|
|
135
137
|
4: string;
|
|
136
138
|
6: string;
|
|
137
139
|
8: string;
|
|
140
|
+
10: string;
|
|
138
141
|
12: string;
|
|
139
142
|
16: string;
|
|
140
143
|
18: string;
|
|
141
144
|
20: string;
|
|
142
145
|
24: string;
|
|
143
146
|
28: string;
|
|
147
|
+
30: string;
|
|
144
148
|
32: string;
|
|
145
149
|
36: string;
|
|
146
150
|
40: string;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAcxB,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export declare const PositionTopAlerts: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
2
|
+
xs: string;
|
|
2
3
|
sm: string;
|
|
3
4
|
md: string;
|
|
4
5
|
lg: string;
|
|
5
6
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
7
|
+
xs: string;
|
|
6
8
|
sm: string;
|
|
7
9
|
md: string;
|
|
8
10
|
lg: string;
|
|
@@ -135,12 +137,14 @@ export declare const PositionTopAlerts: import("@stitches/react/types/styled-com
|
|
|
135
137
|
4: string;
|
|
136
138
|
6: string;
|
|
137
139
|
8: string;
|
|
140
|
+
10: string;
|
|
138
141
|
12: string;
|
|
139
142
|
16: string;
|
|
140
143
|
18: string;
|
|
141
144
|
20: string;
|
|
142
145
|
24: string;
|
|
143
146
|
28: string;
|
|
147
|
+
30: string;
|
|
144
148
|
32: string;
|
|
145
149
|
36: string;
|
|
146
150
|
40: string;
|
|
@@ -156,10 +160,12 @@ export declare const PositionTopAlerts: import("@stitches/react/types/styled-com
|
|
|
156
160
|
transitions: {};
|
|
157
161
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
158
162
|
export declare const QuoteContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
163
|
+
xs: string;
|
|
159
164
|
sm: string;
|
|
160
165
|
md: string;
|
|
161
166
|
lg: string;
|
|
162
167
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
168
|
+
xs: string;
|
|
163
169
|
sm: string;
|
|
164
170
|
md: string;
|
|
165
171
|
lg: string;
|
|
@@ -292,12 +298,14 @@ export declare const QuoteContainer: import("@stitches/react/types/styled-compon
|
|
|
292
298
|
4: string;
|
|
293
299
|
6: string;
|
|
294
300
|
8: string;
|
|
301
|
+
10: string;
|
|
295
302
|
12: string;
|
|
296
303
|
16: string;
|
|
297
304
|
18: string;
|
|
298
305
|
20: string;
|
|
299
306
|
24: string;
|
|
300
307
|
28: string;
|
|
308
|
+
30: string;
|
|
301
309
|
32: string;
|
|
302
310
|
36: string;
|
|
303
311
|
40: string;
|
|
@@ -315,10 +323,12 @@ export declare const QuoteContainer: import("@stitches/react/types/styled-compon
|
|
|
315
323
|
export declare const SkeletonContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
316
324
|
paddingTop?: boolean | "true" | undefined;
|
|
317
325
|
}, {
|
|
326
|
+
xs: string;
|
|
318
327
|
sm: string;
|
|
319
328
|
md: string;
|
|
320
329
|
lg: string;
|
|
321
330
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
331
|
+
xs: string;
|
|
322
332
|
sm: string;
|
|
323
333
|
md: string;
|
|
324
334
|
lg: string;
|
|
@@ -451,12 +461,14 @@ export declare const SkeletonContainer: import("@stitches/react/types/styled-com
|
|
|
451
461
|
4: string;
|
|
452
462
|
6: string;
|
|
453
463
|
8: string;
|
|
464
|
+
10: string;
|
|
454
465
|
12: string;
|
|
455
466
|
16: string;
|
|
456
467
|
18: string;
|
|
457
468
|
20: string;
|
|
458
469
|
24: string;
|
|
459
470
|
28: string;
|
|
471
|
+
30: string;
|
|
460
472
|
32: string;
|
|
461
473
|
36: string;
|
|
462
474
|
40: string;
|
|
@@ -472,10 +484,12 @@ export declare const SkeletonContainer: import("@stitches/react/types/styled-com
|
|
|
472
484
|
transitions: {};
|
|
473
485
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
474
486
|
export declare const FooterStepAlarm: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
487
|
+
xs: string;
|
|
475
488
|
sm: string;
|
|
476
489
|
md: string;
|
|
477
490
|
lg: string;
|
|
478
491
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
492
|
+
xs: string;
|
|
479
493
|
sm: string;
|
|
480
494
|
md: string;
|
|
481
495
|
lg: string;
|
|
@@ -608,12 +622,14 @@ export declare const FooterStepAlarm: import("@stitches/react/types/styled-compo
|
|
|
608
622
|
4: string;
|
|
609
623
|
6: string;
|
|
610
624
|
8: string;
|
|
625
|
+
10: string;
|
|
611
626
|
12: string;
|
|
612
627
|
16: string;
|
|
613
628
|
18: string;
|
|
614
629
|
20: string;
|
|
615
630
|
24: string;
|
|
616
631
|
28: string;
|
|
632
|
+
30: string;
|
|
617
633
|
32: string;
|
|
618
634
|
36: string;
|
|
619
635
|
40: string;
|
|
@@ -629,10 +645,12 @@ export declare const FooterStepAlarm: import("@stitches/react/types/styled-compo
|
|
|
629
645
|
transitions: {};
|
|
630
646
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
631
647
|
export declare const FooterAlert: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
648
|
+
xs: string;
|
|
632
649
|
sm: string;
|
|
633
650
|
md: string;
|
|
634
651
|
lg: string;
|
|
635
652
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
653
|
+
xs: string;
|
|
636
654
|
sm: string;
|
|
637
655
|
md: string;
|
|
638
656
|
lg: string;
|
|
@@ -765,12 +783,14 @@ export declare const FooterAlert: import("@stitches/react/types/styled-component
|
|
|
765
783
|
4: string;
|
|
766
784
|
6: string;
|
|
767
785
|
8: string;
|
|
786
|
+
10: string;
|
|
768
787
|
12: string;
|
|
769
788
|
16: string;
|
|
770
789
|
18: string;
|
|
771
790
|
20: string;
|
|
772
791
|
24: string;
|
|
773
792
|
28: string;
|
|
793
|
+
30: string;
|
|
774
794
|
32: string;
|
|
775
795
|
36: string;
|
|
776
796
|
40: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"QuoteInfo.styles.d.ts","sourceRoot":"","sources":["../../../src/containers/QuoteInfo/QuoteInfo.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE5B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKzB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQ5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAGtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallets.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/Wallets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,SAAS,EACT,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Wallets.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/Wallets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,SAAS,EACT,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI/C,OAAO,KAAqD,MAAM,OAAO,CAAC;AAW1E,eAAO,MAAM,aAAa,uCAIxB,CAAC;AAqGH,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAOhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGrE,OAAO,KAAoC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WidgetInfo.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGrE,OAAO,KAAoC,MAAM,OAAO,CAAC;AAWzD,eAAO,MAAM,iBAAiB,uDAElB,CAAC;AAEb,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,qBAyCxD;AAED,wBAAgB,SAAS,IAAI,0BAA0B,CAQtD"}
|
|
@@ -2,6 +2,7 @@ import type { WidgetHistory } from './WidgetInfo.helpers';
|
|
|
2
2
|
import type { FetchStatus } from '../../store/slices/data';
|
|
3
3
|
import type { ConnectedWallet } from '../../store/wallets';
|
|
4
4
|
import type { Wallet } from '../../types';
|
|
5
|
+
import type { Notification } from '../../types/notification';
|
|
5
6
|
import type { BlockchainMeta, SwapperMeta, Token } from 'rango-sdk';
|
|
6
7
|
export interface WidgetInfoContextInterface {
|
|
7
8
|
history: WidgetHistory;
|
|
@@ -17,5 +18,9 @@ export interface WidgetInfoContextInterface {
|
|
|
17
18
|
swappers: SwapperMeta[];
|
|
18
19
|
loadingStatus: FetchStatus;
|
|
19
20
|
};
|
|
21
|
+
resetLanguage: () => void;
|
|
22
|
+
notifications: {
|
|
23
|
+
list: Notification[];
|
|
24
|
+
};
|
|
20
25
|
}
|
|
21
26
|
//# sourceMappingURL=WidgetInfo.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEpE,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE;QACP,OAAO,EAAE,eAAe,EAAE,CAAC;QAC3B,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,OAAO,CAAC;QACnB,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;KACxD,CAAC;IACF,IAAI,EAAE;QACJ,WAAW,EAAE,cAAc,EAAE,CAAC;QAC9B,MAAM,EAAE,KAAK,EAAE,CAAC;QAChB,QAAQ,EAAE,WAAW,EAAE,CAAC;QACxB,aAAa,EAAE,WAAW,CAAC;KAC5B,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"WidgetInfo.types.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetInfo/WidgetInfo.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEpE,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE;QACP,OAAO,EAAE,eAAe,EAAE,CAAC;QAC3B,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,OAAO,CAAC;QACnB,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;KACxD,CAAC;IACF,IAAI,EAAE;QACJ,WAAW,EAAE,cAAc,EAAE,CAAC;QAC9B,MAAM,EAAE,KAAK,EAAE,CAAC;QAChB,QAAQ,EAAE,WAAW,EAAE,CAAC;QACxB,aAAa,EAAE,WAAW,CAAC;KAC5B,CAAC;IACF,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE;QACb,IAAI,EAAE,YAAY,EAAE,CAAC;KACtB,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetProvider.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetProvider/WidgetProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,wBAAgB,cAAc,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"WidgetProvider.d.ts","sourceRoot":"","sources":["../../../src/containers/WidgetProvider/WidgetProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,wBAAgB,cAAc,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAiBjE"}
|
|
@@ -4,7 +4,8 @@ interface UseLanguage {
|
|
|
4
4
|
languages: LanguageItem[];
|
|
5
5
|
defaultLanguage: Language;
|
|
6
6
|
activeLanguage: Language;
|
|
7
|
-
changeLanguage: (language?: Language) => void;
|
|
7
|
+
changeLanguage: (language?: Language | null) => void;
|
|
8
|
+
resetLanguage: () => void;
|
|
8
9
|
}
|
|
9
10
|
export declare function useLanguage(): UseLanguage;
|
|
10
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLanguage.d.ts","sourceRoot":"","sources":["../../src/hooks/useLanguage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAK9C,UAAU,WAAW;IACnB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,eAAe,EAAE,QAAQ,CAAC;IAC1B,cAAc,EAAE,QAAQ,CAAC;IACzB,cAAc,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"useLanguage.d.ts","sourceRoot":"","sources":["../../src/hooks/useLanguage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAK9C,UAAU,WAAW;IACnB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,eAAe,EAAE,QAAQ,CAAC;IAC1B,cAAc,EAAE,QAAQ,CAAC;IACzB,cAAc,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,KAAK,IAAI,CAAC;IACrD,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,wBAAgB,WAAW,IAAI,WAAW,CAYzC"}
|
|
@@ -2,7 +2,7 @@ import type { PrepareListOptions, PrepareOutput } from './usePrepareBlockchainLi
|
|
|
2
2
|
import type { BlockchainMeta } from 'rango-sdk';
|
|
3
3
|
export declare function prepare(blockchains: BlockchainMeta[], preferredBlockchains: string[], options?: PrepareListOptions): PrepareOutput;
|
|
4
4
|
/** There is a hardcoded list of blockchains that we want to show them first in the list. */
|
|
5
|
-
export declare function sortByMostUsedBlockchains(a: BlockchainMeta, b: BlockchainMeta):
|
|
6
|
-
export declare function generateSortByPreferredBlockchainsFor(preferredBlockchains: string[]): (a: BlockchainMeta, b: BlockchainMeta) =>
|
|
5
|
+
export declare function sortByMostUsedBlockchains(a: BlockchainMeta, b: BlockchainMeta): 0 | 1 | -1;
|
|
6
|
+
export declare function generateSortByPreferredBlockchainsFor(preferredBlockchains: string[]): (a: BlockchainMeta, b: BlockchainMeta) => 0 | 1 | -1;
|
|
7
7
|
export declare function isInVisibleList(blockchain: string, prepareOutput: PrepareOutput): boolean;
|
|
8
8
|
//# sourceMappingURL=usePrepareBlockchainList.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AA6BzD,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,YAAY,IAAI,YAAY,
|
|
1
|
+
{"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AA6BzD,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,YAAY,IAAI,YAAY,CA4K3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSyncStoresWithConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useSyncStoresWithConfig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSyncStoresWithConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useSyncStoresWithConfig.ts"],"names":[],"mappings":"AAYA,wBAAgB,uBAAuB,SAwItC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { WidgetProps } from './containers/Widget';
|
|
2
2
|
import type { ConnectedWallet } from './store/wallets';
|
|
3
|
-
import type { BlockchainAndTokenConfig, WidgetColors, WidgetColorsKeys, WidgetConfig, WidgetTheme } from './types';
|
|
4
|
-
import type {
|
|
3
|
+
import type { BlockchainAndTokenConfig, Tokens, WidgetColors, WidgetColorsKeys, WidgetConfig, WidgetTheme } from './types';
|
|
4
|
+
import type { PendingSwapWithQueueID, Route, RouteEvent, RouteExecutionEvents, RouteFailedEvent, RouteStartedEvent, RouteSucceededEvent, Step, StepApprovalTxSucceededEvent, StepCheckStatusEvent, StepEvent, StepFailedEvent, StepOutputRevealedEvent, StepStartedEvent, StepSucceededEvent, StepTxExecutionBlockedEvent, StepTxExecutionUpdatedEvent } from '@rango-dev/queue-manager-rango-preset';
|
|
5
5
|
import type { EventHandler as HandleWalletsUpdate, ProviderInterface } from '@rango-dev/wallets-react';
|
|
6
6
|
import type { WalletInfo, WalletState, WalletType } from '@rango-dev/wallets-shared';
|
|
7
7
|
import type { PendingSwap, PendingSwapStep } from 'rango-types';
|
|
8
|
-
import { MainEvents, RouteEventType, StepEventType, StepExecutionBlockedEventStatus, StepExecutionEventStatus, useEvents as useWidgetEvents } from '@rango-dev/queue-manager-rango-preset';
|
|
8
|
+
import { EventSeverity, MainEvents, RouteEventType, StepEventType, StepExecutionBlockedEventStatus, StepExecutionEventStatus, useEvents as useWidgetEvents } from '@rango-dev/queue-manager-rango-preset';
|
|
9
9
|
import { readAccountAddress, useWallets, Events as WalletEvents } from '@rango-dev/wallets-react';
|
|
10
10
|
import { Networks, WalletTypes } from '@rango-dev/wallets-shared';
|
|
11
11
|
import { PendingSwapNetworkStatus } from 'rango-types';
|
|
@@ -14,12 +14,12 @@ import { Widget } from './containers/Widget';
|
|
|
14
14
|
import { useWidget } from './containers/WidgetInfo';
|
|
15
15
|
import { WidgetProvider } from './containers/WidgetProvider';
|
|
16
16
|
import { customizedThemeTokens } from './utils/ui';
|
|
17
|
-
export type { WidgetConfig, WalletType, WidgetTheme, WidgetColors, WidgetColorsKeys, ProviderInterface, BlockchainAndTokenConfig, WidgetProps, RouteEvent, StepEvent, Route, Step, RouteStartedEvent, RouteSucceededEvent, RouteFailedEvent, StepStartedEvent, StepSucceededEvent, StepFailedEvent, StepTxExecutionUpdatedEvent, StepTxExecutionBlockedEvent, StepCheckStatusEvent, StepApprovalTxSucceededEvent, StepOutputRevealedEvent, HandleWalletsUpdate, ConnectedWallet, };
|
|
17
|
+
export type { WidgetConfig, WalletType, WidgetTheme, WidgetColors, WidgetColorsKeys, ProviderInterface, BlockchainAndTokenConfig, WidgetProps, RouteEvent, StepEvent, Route, Step, RouteStartedEvent, RouteSucceededEvent, RouteFailedEvent, StepStartedEvent, StepSucceededEvent, StepFailedEvent, StepTxExecutionUpdatedEvent, StepTxExecutionBlockedEvent, StepCheckStatusEvent, StepApprovalTxSucceededEvent, StepOutputRevealedEvent, HandleWalletsUpdate, ConnectedWallet, Tokens, };
|
|
18
18
|
export { Widget,
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated Use `WidgetProvider` instead. This component will be removed in future versions.
|
|
21
21
|
*/
|
|
22
22
|
WidgetWallets, WidgetProvider, useWidget, useWallets, useWidgetEvents, customizedThemeTokens, MainEvents, RouteEventType, StepEventType, StepExecutionEventStatus, StepExecutionBlockedEventStatus, };
|
|
23
|
-
export type { WalletState, WalletInfo, PendingSwap, PendingSwapWithQueueID, PendingSwapStep, RouteExecutionEvents,
|
|
24
|
-
export { readAccountAddress, Networks, WalletEvents, WalletTypes, PendingSwapNetworkStatus, };
|
|
23
|
+
export type { WalletState, WalletInfo, PendingSwap, PendingSwapWithQueueID, PendingSwapStep, RouteExecutionEvents, };
|
|
24
|
+
export { readAccountAddress, Networks, WalletEvents, WalletTypes, PendingSwapNetworkStatus, EventSeverity, };
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EACV,wBAAwB,EACxB,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EACV,wBAAwB,EACxB,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EACV,sBAAsB,EACtB,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,IAAI,EACJ,4BAA4B,EAC5B,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EACV,YAAY,IAAI,mBAAmB,EACnC,iBAAiB,EAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACX,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEhE,OAAO,EACL,aAAa,EACb,UAAU,EACV,cAAc,EACd,aAAa,EACb,+BAA+B,EAC/B,wBAAwB,EACxB,SAAS,IAAI,eAAe,EAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAClB,UAAU,EACV,MAAM,IAAI,YAAY,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,YAAY,EACV,YAAY,EACZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,WAAW,EACX,UAAU,EACV,SAAS,EACT,KAAK,EACL,IAAI,EACJ,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,EACf,MAAM,GACP,CAAC;AACF,OAAO,EACL,MAAM;AACN;;GAEG;AACH,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,aAAa,EACb,wBAAwB,EACxB,+BAA+B,GAChC,CAAC;AAGF,YAAY,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,eAAe,EACf,oBAAoB,GACrB,CAAC;AAGF,OAAO,EACL,kBAAkB,EAClB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,wBAAwB,EACxB,aAAa,GACd,CAAC"}
|