@layerswap/widget 1.0.6 → 1.1.1
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/esm/Models/LayerSwapSettings.js +0 -1
- package/dist/esm/Models/Theme.js +39 -0
- package/dist/esm/components/Buttons/submitButton.js +2 -1
- package/dist/esm/components/Common/ConnectWalletButton.js +9 -3
- package/dist/esm/components/Common/CountDownTimer.js +0 -1
- package/dist/esm/components/Common/WarningMessage.js +4 -2
- package/dist/esm/components/Common/guideLink.js +4 -6
- package/dist/esm/components/ErrorFallback.js +12 -12
- package/dist/esm/components/HeaderWithMenu.js +1 -1
- package/dist/esm/components/Icons/CircularLoader.js +5 -0
- package/dist/esm/components/Icons/FailIcon.js +2 -2
- package/dist/esm/components/Icons/GlobeIcon.js +3 -0
- package/dist/esm/components/Icons/MenuIcon.js +5 -0
- package/dist/esm/components/Icons/TokenIcon.js +1 -1
- package/dist/esm/components/Icons/Wallets/index.js +0 -1
- package/dist/esm/components/Input/Address/AddressNote.js +2 -2
- package/dist/esm/components/Input/Address/AddressPicker/AddressWithIcon.js +5 -2
- package/dist/esm/components/Input/Address/AddressPicker/index.js +15 -12
- package/dist/esm/components/Input/Address/ContractAddressNote.js +17 -0
- package/dist/esm/components/Input/Address/UrlAddressNote.js +10 -0
- package/dist/esm/components/Input/Amount/Balance.js +1 -1
- package/dist/esm/components/Input/Amount/ExchangeReceiveAmount.js +8 -0
- package/dist/esm/components/Input/Amount/MinMax.js +1 -1
- package/dist/esm/components/Input/Amount/PriceImpact.js +5 -40
- package/dist/esm/components/Input/Amount/ReceiveAmount.js +2 -2
- package/dist/esm/components/Input/Amount/index.js +3 -3
- package/dist/esm/components/Input/DestinationPicker.js +2 -2
- package/dist/esm/components/Input/RoutePicker/Content.js +19 -3
- package/dist/esm/components/Input/RoutePicker/RouteTokenSwitch.js +4 -4
- package/dist/esm/components/Input/RoutePicker/RouterPickerWalletConnect.js +5 -5
- package/dist/esm/components/Input/RoutePicker/Routes.js +27 -26
- package/dist/esm/components/Input/RoutePicker/Rows/CollapsableHeader.js +2 -2
- package/dist/esm/components/Input/RoutePicker/Rows/CollapsibleRow.js +3 -3
- package/dist/esm/components/Input/RoutePicker/Rows/StickyHeader.js +2 -2
- package/dist/esm/components/Input/RoutePicker/Rows/SuggestionsHeader.js +55 -0
- package/dist/esm/components/Input/RoutePicker/Rows/TitleRow.js +11 -0
- package/dist/esm/components/Input/RoutePicker/Rows/index.js +5 -6
- package/dist/esm/components/Input/RoutePicker/TokenTitleDetails.js +10 -0
- package/dist/esm/components/Input/RoutePicker/index.js +2 -2
- package/dist/esm/components/Input/SourceWalletPicker.js +6 -4
- package/dist/esm/components/Menu/MenuList.js +11 -19
- package/dist/esm/components/Menu/index.js +16 -7
- package/dist/esm/components/Modal/modalWithoutAnimation.js +3 -3
- package/dist/esm/components/Pages/Campaigns/Details/Leaderboard.js +2 -2
- package/dist/esm/components/Pages/Campaigns/Details/Rewards.js +2 -2
- package/dist/esm/components/Pages/Campaigns/Details/index.js +3 -4
- package/dist/esm/components/Pages/Campaigns/index.js +3 -4
- package/dist/esm/components/Pages/Swap/Form/ExchangeForm.js +21 -19
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/Rate.js +6 -4
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/Refuel.js +8 -3
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.js +51 -14
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/SummaryRow.js +1 -1
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.js +3 -3
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/index.js +10 -11
- package/dist/esm/components/Pages/Swap/Form/Form.js +27 -3
- package/dist/esm/components/Pages/Swap/Form/FormWrapper.js +35 -10
- package/dist/esm/components/Pages/Swap/Form/NetworkForm.js +13 -22
- package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/FormButton.js +1 -1
- package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.js +8 -6
- package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/validationError/ContractAddressValidationCache.js +19 -0
- package/dist/esm/components/Pages/Swap/Withdraw/Failed.js +12 -8
- package/dist/esm/components/Pages/Swap/Withdraw/ManualWithdraw.js +28 -9
- package/dist/esm/components/Pages/Swap/Withdraw/NotFound.js +15 -4
- package/dist/esm/components/Pages/Swap/Withdraw/Processing/Processing.js +44 -45
- package/dist/esm/components/Pages/Swap/Withdraw/Summary/Summary.js +2 -3
- package/dist/esm/components/Pages/Swap/Withdraw/Summary/index.js +2 -2
- package/dist/esm/components/Pages/Swap/Withdraw/SwapDetails.js +9 -7
- package/dist/esm/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.js +43 -0
- package/dist/esm/components/Pages/Swap/Withdraw/Wallet/Common/buttons.js +125 -71
- package/dist/esm/components/Pages/Swap/Withdraw/Wallet/index.js +56 -65
- package/dist/esm/components/Pages/Swap/Withdraw/WalletTransferButton.js +2 -2
- package/dist/esm/components/Pages/Swap/Withdraw/WalletTransferContent.js +2 -2
- package/dist/esm/components/Pages/Swap/Withdraw/Withdraw.js +3 -3
- package/dist/esm/components/Pages/Swap/Withdraw/index.js +5 -4
- package/dist/esm/components/Pages/Swap/Withdraw/messages/Message.js +4 -4
- package/dist/esm/components/Pages/Swap/Withdraw/messages/TransactionMessages.js +14 -15
- package/dist/esm/components/Pages/SwapHistory/History.js +2 -2
- package/dist/esm/components/Pages/SwapHistory/HistorySummary.js +1 -1
- package/dist/esm/components/Pages/SwapHistory/index.js +4 -4
- package/dist/esm/components/Select/Selector/SelectItem.js +1 -1
- package/dist/esm/components/Wallet/WalletComponents/ConnectedWallets.js +4 -4
- package/dist/esm/components/Wallet/WalletComponents/WalletsList.js +1 -1
- package/dist/esm/components/Wallet/WalletModal/Connector.js +2 -2
- package/dist/esm/components/Wallet/WalletModal/ConnectorsList.js +78 -125
- package/dist/esm/components/Wallet/WalletModal/InstalledExtensionNotFound.js +16 -0
- package/dist/esm/components/Wallet/WalletModal/LoadingConnect.js +27 -0
- package/dist/esm/components/Wallet/WalletModal/MultichainConnectorPicker.js +23 -0
- package/dist/esm/components/Wallet/WalletModal/ProviderPicker.js +26 -0
- package/dist/esm/components/Wallet/WalletModal/WalletQrCode.js +18 -0
- package/dist/esm/components/Wallet/WalletModal/index.js +4 -2
- package/dist/esm/components/Wallet/WalletProviders/index.js +4 -2
- package/dist/esm/components/Widget/Content.js +2 -2
- package/dist/esm/components/Widget/Footer.js +21 -21
- package/dist/esm/components/Widget/Index.js +2 -2
- package/dist/esm/components/WidgetLoading.js +9 -2
- package/dist/esm/components/shadcn/checkbox.js +1 -1
- package/dist/esm/context/ErrorProvider.js +14 -0
- package/dist/esm/context/LayerswapProvider.js +6 -5
- package/dist/esm/context/callbackProvider.js +60 -52
- package/dist/esm/context/resolverContext.js +11 -2
- package/dist/esm/context/swap.js +10 -13
- package/dist/esm/context/{balanceAccounts.js → swapAccounts.js} +17 -17
- package/dist/esm/context/validationContext.js +1 -1
- package/dist/esm/context/walletProviders.js +7 -1
- package/dist/esm/context/withdrawalContext.js +2 -2
- package/dist/esm/exports/internal.js +4 -3
- package/dist/esm/helpers/filterSourceNetworks.js +23 -0
- package/dist/esm/helpers/getSettings/getSettings.js +18 -13
- package/dist/esm/helpers/routes.js +4 -1
- package/dist/esm/hooks/useAllWithdrawalBalances.js +11 -5
- package/dist/esm/hooks/useConnectors.js +72 -0
- package/dist/esm/hooks/useFormRoutes.js +16 -8
- package/dist/esm/hooks/useFormValidation.js +5 -4
- package/dist/esm/hooks/useRouteValidation.js +1 -1
- package/dist/esm/hooks/useSwrSwaps.js +1 -1
- package/dist/esm/hooks/useTransfer.js +9 -0
- package/dist/esm/hooks/useWallet.js +7 -7
- package/dist/esm/lib/AppSettings.js +27 -16
- package/dist/esm/lib/ErrorHandler.js +6 -0
- package/dist/esm/lib/address/contractAddressResolver.js +12 -0
- package/dist/esm/lib/apiClients/layerSwapApiClient.js +19 -35
- package/dist/esm/lib/balances/balanceResolver.js +57 -11
- package/dist/esm/lib/balances/errorUtils.js +13 -0
- package/dist/esm/lib/balances/nodeErrorClassifier.js +22 -0
- package/dist/esm/lib/fees.js +50 -0
- package/dist/esm/lib/generateSwapInitialValues.js +2 -2
- package/dist/esm/lib/isNewListed.js +8 -0
- package/dist/esm/lib/knownIds.js +1 -0
- package/dist/esm/lib/resolvers/resolverService.js +19 -1
- package/dist/esm/lib/transfers/index.js +1 -0
- package/dist/esm/lib/transfers/transferResolver.js +14 -0
- package/dist/esm/stores/balanceStore.js +39 -18
- package/dist/esm/stores/contractAddressStore.js +178 -0
- package/dist/esm/stores/logStore.js +11 -0
- package/dist/esm/types/balance.js +23 -11
- package/dist/esm/types/contract.js +1 -0
- package/dist/esm/types/index.js +2 -0
- package/dist/esm/types/logEvents.js +1 -0
- package/dist/index.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/Models/Balance.d.ts +14 -2
- package/dist/types/Models/Balance.d.ts.map +1 -1
- package/dist/types/Models/LayerSwapSettings.d.ts +7 -0
- package/dist/types/Models/LayerSwapSettings.d.ts.map +1 -1
- package/dist/types/Models/Theme.d.ts.map +1 -1
- package/dist/types/components/Buttons/submitButton.d.ts +1 -1
- package/dist/types/components/Buttons/submitButton.d.ts.map +1 -1
- package/dist/types/components/Common/ConnectWalletButton.d.ts +1 -1
- package/dist/types/components/Common/ConnectWalletButton.d.ts.map +1 -1
- package/dist/types/components/Common/CountDownTimer.d.ts.map +1 -1
- package/dist/types/components/Common/WarningMessage.d.ts.map +1 -1
- package/dist/types/components/Common/guideLink.d.ts.map +1 -1
- package/dist/types/components/ErrorFallback.d.ts.map +1 -1
- package/dist/types/components/HeaderWithMenu.d.ts.map +1 -1
- package/dist/types/components/Icons/CircularLoader.d.ts +4 -0
- package/dist/types/components/Icons/CircularLoader.d.ts.map +1 -0
- package/dist/types/components/Icons/FailIcon.d.ts.map +1 -1
- package/dist/types/components/Icons/GasIcon.d.ts.map +1 -1
- package/dist/types/components/Icons/GlobeIcon.d.ts +4 -0
- package/dist/types/components/Icons/GlobeIcon.d.ts.map +1 -0
- package/dist/types/components/Icons/MenuIcon.d.ts +4 -0
- package/dist/types/components/Icons/MenuIcon.d.ts.map +1 -0
- package/dist/types/components/Icons/TokenIcon.d.ts.map +1 -1
- package/dist/types/components/Icons/Wallets/index.d.ts +0 -1
- package/dist/types/components/Icons/Wallets/index.d.ts.map +1 -1
- package/dist/types/components/Input/Address/AddressNote.d.ts +5 -5
- package/dist/types/components/Input/Address/AddressNote.d.ts.map +1 -1
- package/dist/types/components/Input/Address/AddressPicker/AddressBook.d.ts +3 -3
- package/dist/types/components/Input/Address/AddressPicker/AddressButton.d.ts +3 -3
- package/dist/types/components/Input/Address/AddressPicker/AddressWithIcon.d.ts +3 -2
- package/dist/types/components/Input/Address/AddressPicker/AddressWithIcon.d.ts.map +1 -1
- package/dist/types/components/Input/Address/AddressPicker/ConnectedWallets.d.ts +2 -2
- package/dist/types/components/Input/Address/AddressPicker/ManualAddressInput.d.ts +4 -4
- package/dist/types/components/Input/Address/AddressPicker/index.d.ts +4 -4
- package/dist/types/components/Input/Address/AddressPicker/index.d.ts.map +1 -1
- package/dist/types/components/Input/Address/ContractAddressNote.d.ts +9 -0
- package/dist/types/components/Input/Address/ContractAddressNote.d.ts.map +1 -0
- package/dist/types/components/Input/Address/UrlAddressNote.d.ts +10 -0
- package/dist/types/components/Input/Address/UrlAddressNote.d.ts.map +1 -0
- package/dist/types/components/Input/Address/index.d.ts +1 -1
- package/dist/types/components/Input/Amount/Balance.d.ts +1 -1
- package/dist/types/components/Input/Amount/Balance.d.ts.map +1 -1
- package/dist/types/components/Input/Amount/ExchangeReceiveAmount.d.ts +11 -0
- package/dist/types/components/Input/Amount/ExchangeReceiveAmount.d.ts.map +1 -0
- package/dist/types/components/Input/Amount/MinMax.d.ts +1 -1
- package/dist/types/components/Input/Amount/PriceImpact.d.ts +3 -6
- package/dist/types/components/Input/Amount/PriceImpact.d.ts.map +1 -1
- package/dist/types/components/Input/Amount/ReceiveAmount.d.ts +2 -3
- package/dist/types/components/Input/Amount/ReceiveAmount.d.ts.map +1 -1
- package/dist/types/components/Input/Amount/helpers.d.ts +2 -2
- package/dist/types/components/Input/Amount/index.d.ts +1 -1
- package/dist/types/components/Input/CexPicker.d.ts +1 -1
- package/dist/types/components/Input/DestinationPicker.d.ts +1 -1
- package/dist/types/components/Input/DestinationPicker.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Content.d.ts +5 -5
- package/dist/types/components/Input/RoutePicker/Content.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/RouterPickerWalletConnect.d.ts +1 -1
- package/dist/types/components/Input/RoutePicker/RouterPickerWalletConnect.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Routes.d.ts +4 -8
- package/dist/types/components/Input/RoutePicker/Routes.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Rows/CollapsableHeader.d.ts +3 -4
- package/dist/types/components/Input/RoutePicker/Rows/CollapsableHeader.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Rows/CollapsibleRow.d.ts +6 -5
- package/dist/types/components/Input/RoutePicker/Rows/CollapsibleRow.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Rows/StickyHeader.d.ts +3 -4
- package/dist/types/components/Input/RoutePicker/Rows/StickyHeader.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Rows/SuggestionsHeader.d.ts +7 -0
- package/dist/types/components/Input/RoutePicker/Rows/SuggestionsHeader.d.ts.map +1 -0
- package/dist/types/components/Input/RoutePicker/Rows/TitleRow.d.ts +7 -0
- package/dist/types/components/Input/RoutePicker/Rows/TitleRow.d.ts.map +1 -0
- package/dist/types/components/Input/RoutePicker/Rows/index.d.ts +5 -5
- package/dist/types/components/Input/RoutePicker/Rows/index.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/TokenTitleDetails.d.ts +18 -0
- package/dist/types/components/Input/RoutePicker/TokenTitleDetails.d.ts.map +1 -0
- package/dist/types/components/Input/RoutePicker/index.d.ts +1 -1
- package/dist/types/components/Input/RoutePicker/index.d.ts.map +1 -1
- package/dist/types/components/Input/SourcePicker.d.ts +1 -1
- package/dist/types/components/Input/SourceWalletPicker.d.ts.map +1 -1
- package/dist/types/components/Menu/MenuList.d.ts.map +1 -1
- package/dist/types/components/Menu/index.d.ts.map +1 -1
- package/dist/types/components/Modal/modalWithoutAnimation.d.ts +4 -2
- package/dist/types/components/Modal/modalWithoutAnimation.d.ts.map +1 -1
- package/dist/types/components/Pages/Campaigns/Details/Leaderboard.d.ts +1 -1
- package/dist/types/components/Pages/Campaigns/Details/Rewards.d.ts +1 -1
- package/dist/types/components/Pages/Campaigns/Details/index.d.ts +1 -2
- package/dist/types/components/Pages/Campaigns/Details/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Campaigns/index.d.ts +2 -3
- package/dist/types/components/Pages/Campaigns/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/ExchangeForm.d.ts +3 -1
- package/dist/types/components/Pages/Swap/Form/ExchangeForm.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Rate.d.ts +7 -6
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Rate.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/ReceiveAmounts.d.ts +2 -2
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Refuel.d.ts +1 -2
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Refuel.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/RefuelModal.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Slippage.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.d.ts +3 -2
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/SummaryRow.d.ts +4 -4
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.d.ts +4 -4
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/utils.d.ts +2 -2
- package/dist/types/components/Pages/Swap/Form/FeeDetails/index.d.ts +7 -4
- package/dist/types/components/Pages/Swap/Form/FeeDetails/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/Form.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FormWrapper.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/FormWrapper.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/NetworkForm.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/NetworkForm.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/FormButton.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/FormButton.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.d.ts +2 -2
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/validationError/ContractAddressValidationCache.d.ts +10 -0
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/validationError/ContractAddressValidationCache.d.ts.map +1 -0
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/validationError/ErrorDisplay.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/SwapFormValues.d.ts +2 -2
- package/dist/types/components/Pages/Swap/Withdraw/Failed.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/ManualWithdraw.d.ts +4 -3
- package/dist/types/components/Pages/Swap/Withdraw/ManualWithdraw.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/NotFound.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Processing/Processing.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Processing/Processing.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/QuoteUpdate.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Summary/Summary.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/SwapDetails.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/SwapDetails.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/SwapQuoteDetails.d.ts +3 -3
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.d.ts +6 -0
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.d.ts.map +1 -0
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/buttons.d.ts +4 -3
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/buttons.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/index.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/WalletTransferButton.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/WalletTransferButton.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/WalletTransferContent.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Withdraw.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/Withdraw.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/index.d.ts +1 -2
- package/dist/types/components/Pages/Swap/Withdraw/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/messages/Message.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/messages/TransactionMessages.d.ts +3 -4
- package/dist/types/components/Pages/Swap/Withdraw/messages/TransactionMessages.d.ts.map +1 -1
- package/dist/types/components/Pages/SwapHistory/HistorySummary.d.ts +2 -2
- package/dist/types/components/Pages/SwapHistory/HistorySummary.d.ts.map +1 -1
- package/dist/types/components/Pages/SwapHistory/StatusIcons.d.ts +1 -1
- package/dist/types/components/Pages/SwapHistory/SwapDetailsComponent.d.ts +1 -1
- package/dist/types/components/Pages/SwapHistory/index.d.ts +3 -1
- package/dist/types/components/Pages/SwapHistory/index.d.ts.map +1 -1
- package/dist/types/components/Select/Command/commandSelect.d.ts.map +1 -1
- package/dist/types/components/Select/Selector/SelectItem.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletComponents/WalletsList.d.ts +3 -3
- package/dist/types/components/Wallet/WalletComponents/WalletsList.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletModal/Connector.d.ts +2 -1
- package/dist/types/components/Wallet/WalletModal/Connector.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletModal/ConnectorsList.d.ts +1 -1
- package/dist/types/components/Wallet/WalletModal/ConnectorsList.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletModal/InstalledExtensionNotFound.d.ts +7 -0
- package/dist/types/components/Wallet/WalletModal/InstalledExtensionNotFound.d.ts.map +1 -0
- package/dist/types/components/Wallet/WalletModal/LoadingConnect.d.ts +8 -0
- package/dist/types/components/Wallet/WalletModal/LoadingConnect.d.ts.map +1 -0
- package/dist/types/components/Wallet/WalletModal/MultichainConnectorPicker.d.ts +12 -0
- package/dist/types/components/Wallet/WalletModal/MultichainConnectorPicker.d.ts.map +1 -0
- package/dist/types/components/Wallet/WalletModal/ProviderPicker.d.ts +8 -0
- package/dist/types/components/Wallet/WalletModal/ProviderPicker.d.ts.map +1 -0
- package/dist/types/components/Wallet/WalletModal/WalletQrCode.d.ts +6 -0
- package/dist/types/components/Wallet/WalletModal/WalletQrCode.d.ts.map +1 -0
- package/dist/types/components/Wallet/WalletModal/index.d.ts +2 -1
- package/dist/types/components/Wallet/WalletModal/index.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletProviders/index.d.ts +3 -1
- package/dist/types/components/Wallet/WalletProviders/index.d.ts.map +1 -1
- package/dist/types/components/Widget/Content.d.ts +2 -1
- package/dist/types/components/Widget/Content.d.ts.map +1 -1
- package/dist/types/components/Widget/Footer.d.ts +2 -1
- package/dist/types/components/Widget/Footer.d.ts.map +1 -1
- package/dist/types/components/Widget/Index.d.ts +3 -2
- package/dist/types/components/Widget/Index.d.ts.map +1 -1
- package/dist/types/components/WidgetLoading.d.ts.map +1 -1
- package/dist/types/components/shadcn/command.d.ts +9 -52
- package/dist/types/components/shadcn/command.d.ts.map +1 -1
- package/dist/types/context/ErrorProvider.d.ts +3 -0
- package/dist/types/context/ErrorProvider.d.ts.map +1 -0
- package/dist/types/context/LayerswapProvider.d.ts +22 -4
- package/dist/types/context/LayerswapProvider.d.ts.map +1 -1
- package/dist/types/context/callbackProvider.d.ts +7 -10
- package/dist/types/context/callbackProvider.d.ts.map +1 -1
- package/dist/types/context/resolverContext.d.ts.map +1 -1
- package/dist/types/context/swap.d.ts +7 -7
- package/dist/types/context/swap.d.ts.map +1 -1
- package/dist/types/context/{balanceAccounts.d.ts → swapAccounts.d.ts} +9 -9
- package/dist/types/context/swapAccounts.d.ts.map +1 -0
- package/dist/types/context/walletProviders.d.ts.map +1 -1
- package/dist/types/context/withdrawalContext.d.ts +2 -0
- package/dist/types/context/withdrawalContext.d.ts.map +1 -1
- package/dist/types/exports/internal.d.ts +9 -7
- package/dist/types/exports/internal.d.ts.map +1 -1
- package/dist/types/helpers/accountSelectHelper.d.ts +1 -1
- package/dist/types/helpers/balanceHelper.d.ts +2 -2
- package/dist/types/helpers/filterSourceNetworks.d.ts +4 -0
- package/dist/types/helpers/filterSourceNetworks.d.ts.map +1 -0
- package/dist/types/helpers/getSettings/getSettings.d.ts +1 -1
- package/dist/types/helpers/getSettings/getSettings.d.ts.map +1 -1
- package/dist/types/helpers/routes.d.ts +1 -1
- package/dist/types/helpers/routes.d.ts.map +1 -1
- package/dist/types/helpers/tokenHelper.d.ts +2 -2
- package/dist/types/hooks/useAllWithdrawalBalances.d.ts +2 -1
- package/dist/types/hooks/useAllWithdrawalBalances.d.ts.map +1 -1
- package/dist/types/hooks/useConnectors.d.ts +28 -0
- package/dist/types/hooks/useConnectors.d.ts.map +1 -0
- package/dist/types/hooks/useFee.d.ts +1 -1
- package/dist/types/hooks/useFormRoutes.d.ts +2 -3
- package/dist/types/hooks/useFormRoutes.d.ts.map +1 -1
- package/dist/types/hooks/useFormValidation.d.ts +2 -1
- package/dist/types/hooks/useFormValidation.d.ts.map +1 -1
- package/dist/types/hooks/useSwapHistoryData.d.ts +2 -2
- package/dist/types/hooks/useTransfer.d.ts +5 -0
- package/dist/types/hooks/useTransfer.d.ts.map +1 -0
- package/dist/types/hooks/useWallet.d.ts +3 -3
- package/dist/types/hooks/useWallet.d.ts.map +1 -1
- package/dist/types/lib/AppSettings.d.ts +25 -16
- package/dist/types/lib/AppSettings.d.ts.map +1 -1
- package/dist/types/lib/ErrorHandler.d.ts +3 -0
- package/dist/types/lib/ErrorHandler.d.ts.map +1 -0
- package/dist/types/lib/address/contractAddressResolver.d.ts +7 -0
- package/dist/types/lib/address/contractAddressResolver.d.ts.map +1 -0
- package/dist/types/lib/apiClients/layerSwapApiClient.d.ts +1 -9
- package/dist/types/lib/apiClients/layerSwapApiClient.d.ts.map +1 -1
- package/dist/types/lib/balances/balanceResolver.d.ts +3 -3
- package/dist/types/lib/balances/balanceResolver.d.ts.map +1 -1
- package/dist/types/lib/balances/errorUtils.d.ts +12 -0
- package/dist/types/lib/balances/errorUtils.d.ts.map +1 -0
- package/dist/types/lib/balances/helpers.d.ts +1 -1
- package/dist/types/lib/balances/nodeErrorClassifier.d.ts +4 -0
- package/dist/types/lib/balances/nodeErrorClassifier.d.ts.map +1 -0
- package/dist/types/lib/balances/useBalance.d.ts +1 -1
- package/dist/types/lib/fees.d.ts +16 -0
- package/dist/types/lib/fees.d.ts.map +1 -1
- package/dist/types/lib/gases/gasResolver.d.ts +2 -2
- package/dist/types/lib/gases/useSWRGas.d.ts +3 -3
- package/dist/types/lib/generateSwapInitialValues.d.ts +1 -1
- package/dist/types/lib/isNewListed.d.ts +4 -0
- package/dist/types/lib/isNewListed.d.ts.map +1 -0
- package/dist/types/lib/knownIds.d.ts +1 -0
- package/dist/types/lib/knownIds.d.ts.map +1 -1
- package/dist/types/lib/nft/nftBalanceResolver.d.ts +1 -1
- package/dist/types/lib/resolvers/resolverService.d.ts +11 -5
- package/dist/types/lib/resolvers/resolverService.d.ts.map +1 -1
- package/dist/types/lib/transfers/index.d.ts +2 -0
- package/dist/types/lib/transfers/index.d.ts.map +1 -0
- package/dist/types/lib/transfers/transferResolver.d.ts +7 -0
- package/dist/types/lib/transfers/transferResolver.d.ts.map +1 -0
- package/dist/types/stores/balanceStore.d.ts +3 -0
- package/dist/types/stores/balanceStore.d.ts.map +1 -1
- package/dist/types/stores/contractAddressStore.d.ts +43 -0
- package/dist/types/stores/contractAddressStore.d.ts.map +1 -0
- package/dist/types/stores/logStore.d.ts +8 -0
- package/dist/types/stores/logStore.d.ts.map +1 -0
- package/dist/types/stores/walletStore.d.ts +1 -1
- package/dist/types/types/balance.d.ts +2 -2
- package/dist/types/types/balance.d.ts.map +1 -1
- package/dist/types/types/contract.d.ts +6 -0
- package/dist/types/types/contract.d.ts.map +1 -0
- package/dist/types/types/gas.d.ts +2 -2
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/logEvents.d.ts +59 -0
- package/dist/types/types/logEvents.d.ts.map +1 -0
- package/dist/types/types/nft.d.ts +1 -1
- package/dist/types/types/transfer.d.ts +7 -2
- package/dist/types/types/transfer.d.ts.map +1 -1
- package/dist/types/types/wallet.d.ts +29 -8
- package/dist/types/types/wallet.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/esm/components/Icons/Wallets/Keplr.js +0 -3
- package/dist/esm/components/Modal/popover.js +0 -15
- package/dist/esm/components/Wallet/WalletModal/utils.js +0 -23
- package/dist/esm/helpers/querryHelper.js +0 -13
- package/dist/esm/lib/logError.js +0 -17
- package/dist/esm/lib/sorting.js +0 -63
- package/dist/types/components/Icons/Wallets/Keplr.d.ts +0 -4
- package/dist/types/components/Icons/Wallets/Keplr.d.ts.map +0 -1
- package/dist/types/components/Modal/popover.d.ts +0 -12
- package/dist/types/components/Modal/popover.d.ts.map +0 -1
- package/dist/types/components/Wallet/WalletModal/utils.d.ts +0 -2
- package/dist/types/components/Wallet/WalletModal/utils.d.ts.map +0 -1
- package/dist/types/context/balanceAccounts.d.ts.map +0 -1
- package/dist/types/helpers/querryHelper.d.ts +0 -3
- package/dist/types/helpers/querryHelper.d.ts.map +0 -1
- package/dist/types/lib/logError.d.ts +0 -3
- package/dist/types/lib/logError.d.ts.map +0 -1
- package/dist/types/lib/sorting.d.ts +0 -22
- package/dist/types/lib/sorting.d.ts.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Network, Token } from "./Network";
|
|
2
|
-
import { Wallet } from "
|
|
2
|
+
import { Wallet } from "../types/wallet";
|
|
3
|
+
import { NodeErrorCategory } from "../lib/balances/nodeErrorClassifier";
|
|
3
4
|
export type GasProps = {
|
|
4
5
|
network: Network;
|
|
5
6
|
token: Token;
|
|
@@ -8,6 +9,17 @@ export type GasProps = {
|
|
|
8
9
|
wallet?: Wallet;
|
|
9
10
|
amount?: number;
|
|
10
11
|
};
|
|
12
|
+
export type TokenBalanceError = {
|
|
13
|
+
message: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
stack?: string;
|
|
16
|
+
code?: string;
|
|
17
|
+
status?: number;
|
|
18
|
+
statusText?: string;
|
|
19
|
+
responseData?: unknown;
|
|
20
|
+
requestUrl?: string;
|
|
21
|
+
category?: NodeErrorCategory;
|
|
22
|
+
};
|
|
11
23
|
export type TokenBalance = {
|
|
12
24
|
network: string;
|
|
13
25
|
amount: number | undefined;
|
|
@@ -15,7 +27,7 @@ export type TokenBalance = {
|
|
|
15
27
|
isNativeCurrency: boolean;
|
|
16
28
|
token: string;
|
|
17
29
|
request_time: string;
|
|
18
|
-
error?:
|
|
30
|
+
error?: TokenBalanceError;
|
|
19
31
|
};
|
|
20
32
|
export type NetworkBalance = {
|
|
21
33
|
balances?: TokenBalance[] | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Balance.d.ts","sourceRoot":"","sources":["../../../src/Models/Balance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"Balance.d.ts","sourceRoot":"","sources":["../../../src/Models/Balance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAEtE,MAAM,MAAM,QAAQ,GAAG;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAChC,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,CAAC,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;CACpC,CAAA"}
|
|
@@ -6,4 +6,11 @@ export declare class LayerSwapSettings {
|
|
|
6
6
|
sourceRoutes?: NetworkRoute[];
|
|
7
7
|
destinationRoutes?: NetworkRoute[];
|
|
8
8
|
}
|
|
9
|
+
export type AvailableSourceNetworkTypes = {
|
|
10
|
+
all: true;
|
|
11
|
+
networks?: never;
|
|
12
|
+
} | {
|
|
13
|
+
all: false;
|
|
14
|
+
networks: string[];
|
|
15
|
+
};
|
|
9
16
|
//# sourceMappingURL=LayerSwapSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerSwapSettings.d.ts","sourceRoot":"","sources":["../../../src/Models/LayerSwapSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,iBAAiB;IAC1B,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC7B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAC;IAC9B,iBAAiB,CAAC,EAAE,YAAY,EAAE,CAAC;CACtC"}
|
|
1
|
+
{"version":3,"file":"LayerSwapSettings.d.ts","sourceRoot":"","sources":["../../../src/Models/LayerSwapSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,iBAAiB;IAC1B,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC7B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAC;IAC9B,iBAAiB,CAAC,EAAE,YAAY,EAAE,CAAC;CACtC;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,GAAG,EAAE,IAAI,CAAA;IACT,QAAQ,CAAC,EAAE,KAAK,CAAA;CACnB,GAAG;IACA,GAAG,EAAE,KAAK,CAAA;IACV,QAAQ,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../../../src/Models/Theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,SAAS,GAAG;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QA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andler } from "react";
|
|
2
|
-
type buttonStyle = 'outline' | 'filled';
|
|
2
|
+
type buttonStyle = 'outline' | 'filled' | 'secondary';
|
|
3
3
|
type buttonSize = 'small' | 'medium' | 'large';
|
|
4
4
|
type text_align = 'center' | 'left';
|
|
5
5
|
type button_align = 'left' | 'right';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submitButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/submitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI7D,KAAK,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"submitButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/submitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI7D,KAAK,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AACtD,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/C,KAAK,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAA;AACnC,KAAK,YAAY,GAAG,MAAM,GAAG,OAAO,CAAA;AAEpC,qBAAa,iBAAiB;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;IACjD,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC3D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,WAAW,CAAY;IACrC,IAAI,CAAC,EAAE,UAAU,CAAY;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAW;IAClC,YAAY,CAAC,EAAE,YAAY,CAAU;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA0BvC,CAAA;AAGD,KAAK,mBAAmB,GAAG;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,kBAAkB,GAAG,iBAAiB,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAaD,eAAO,MAAM,cAAc,GAAI,sDAAsD,mBAAmB,4CAKvG,CAAA;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { Wallet, WalletConnectionProvider } from "
|
|
2
|
+
import { Wallet, WalletConnectionProvider } from "../../types/wallet";
|
|
3
3
|
interface Props extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
4
|
provider?: WalletConnectionProvider;
|
|
5
5
|
onConnect?: (wallet: Wallet) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectWalletButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/ConnectWalletButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAIlE,UAAU,KAAM,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACjE,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"ConnectWalletButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/ConnectWalletButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAIlE,UAAU,KAAM,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACjE,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,KAAK,CAiDlC,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CountDownTimer.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/CountDownTimer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAmB,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"CountDownTimer.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/CountDownTimer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAmB,MAAM,yCAAyC,CAAC;AAEvF,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,WAAW,CAAC;IAAC,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;CAAE,CAsD3H,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/WarningMessage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WarningMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/WarningMessage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,KAAK,WAAW,GAAG,SAAS,GAAG,WAAW,CAAA;AAE1C,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC;IAC/C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAiBD,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAgB5B,CAAA;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guideLink.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/guideLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"guideLink.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/guideLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAG5C,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,SAAS,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAAE,2CAyBzK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorFallback.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorFallback.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,aAAa,2CAwEjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderWithMenu.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderWithMenu.tsx"],"names":[],"mappings":"AASA,KAAK,KAAK,GAAG;IACV,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI,CAAA;IACvC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAClC,CAAA;AAED,iBAAS,cAAc,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"HeaderWithMenu.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderWithMenu.tsx"],"names":[],"mappings":"AASA,KAAK,KAAK,GAAG;IACV,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI,CAAA;IACvC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAClC,CAAA;AAED,iBAAS,cAAc,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,KAAK,2CAoCxD;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircularLoader.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/CircularLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEhC,QAAA,MAAM,cAAc,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAKrD,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FailIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/FailIcon.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ,GAAI,UAAK,
|
|
1
|
+
{"version":3,"file":"FailIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/FailIcon.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ,GAAI,UAAK,4CAEjB,CAAA;AAEN,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GasIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/GasIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GasIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/GasIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEhC,QAAA,MAAM,OAAO,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAI9C,CAAA;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobeIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/GlobeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,QAAA,MAAM,SAAS,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAKhD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/MenuIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEhC,QAAA,MAAM,QAAQ,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAS/C,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/TokenIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,QAAA,MAAM,SAAS,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"TokenIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/TokenIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,QAAA,MAAM,SAAS,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAUhD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -21,5 +21,4 @@ export { default as SolflareIcon } from "./Solflare";
|
|
|
21
21
|
export { default as BraavosIcon } from "./Braavos";
|
|
22
22
|
export { default as ArgentXIcon } from "./ArgentX";
|
|
23
23
|
export { default as FueletIcon } from "./Fuelet";
|
|
24
|
-
export { default as KeplrIcon } from "./Keplr";
|
|
25
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icons/Wallets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EA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,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { Partner } from "
|
|
3
|
-
import { SwapFormValues } from "
|
|
4
|
-
type
|
|
2
|
+
import { Partner } from "../../../components/../Models/Partner";
|
|
3
|
+
import { SwapFormValues } from "../../../components/Pages/Swap/Form/SwapFormValues";
|
|
4
|
+
type Props = {
|
|
5
5
|
partner: Partner | undefined;
|
|
6
6
|
values: SwapFormValues;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const UrlAddressNote: FC<Props>;
|
|
9
|
+
export default UrlAddressNote;
|
|
10
10
|
//# sourceMappingURL=AddressNote.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressNote.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Address/AddressNote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAI1B,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAA;AAE5E,KAAK,
|
|
1
|
+
{"version":3,"file":"AddressNote.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Address/AddressNote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAI1B,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAA;AAE5E,KAAK,KAAK,GAAG;IACT,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAA;CACzB,CAAA;AAED,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CA6C7B,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AddressItem } from ".";
|
|
2
|
-
import { NetworkRoute } from "
|
|
2
|
+
import { NetworkRoute } from "../../../../Models/Network";
|
|
3
3
|
import { FC } from "react";
|
|
4
|
-
import { Partner } from "
|
|
5
|
-
import { Wallet } from "
|
|
4
|
+
import { Partner } from "../../../../Models/Partner";
|
|
5
|
+
import { Wallet } from "../../../../types/wallet";
|
|
6
6
|
type AddressBookProps = {
|
|
7
7
|
addressBook: AddressItem[];
|
|
8
8
|
onSelectAddress: (address: string, wallet: Wallet | undefined) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { AddressItem } from ".";
|
|
3
|
-
import { Partner } from "
|
|
4
|
-
import { Network } from "
|
|
5
|
-
import { Wallet } from "
|
|
3
|
+
import { Partner } from "../../../../Models/Partner";
|
|
4
|
+
import { Network } from "../../../../Models/Network";
|
|
5
|
+
import { Wallet } from "../../../../types/wallet";
|
|
6
6
|
type AddressButtonProps = {
|
|
7
7
|
openAddressModal: () => void;
|
|
8
8
|
destination_address?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC, ReactNode, SVGProps } from "react";
|
|
2
2
|
import { AddressItem } from ".";
|
|
3
|
-
import { Partner } from "
|
|
4
|
-
import { Network } from "
|
|
3
|
+
import { Partner } from "../../../../Models/Partner";
|
|
4
|
+
import { Network } from "../../../../Models/Network";
|
|
5
5
|
type Props = {
|
|
6
6
|
addressItem: AddressItem;
|
|
7
7
|
partner?: Partner;
|
|
@@ -26,6 +26,7 @@ type ExtendedAddressProps = {
|
|
|
26
26
|
logo?: string | ((e: SVGProps<SVGSVGElement>) => ReactNode);
|
|
27
27
|
children?: ReactNode;
|
|
28
28
|
shouldShowChevron?: boolean;
|
|
29
|
+
isNativeToken?: boolean;
|
|
29
30
|
};
|
|
30
31
|
export declare const ExtendedAddress: FC<ExtendedAddressProps>;
|
|
31
32
|
export default AddressWithIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressWithIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/Address/AddressPicker/AddressWithIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,SAAS,EAAE,QAAQ,EAAY,MAAM,OAAO,CAAA;AAC5E,OAAO,EAAgB,WAAW,EAAE,MAAM,GAAG,CAAC;AAI9C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAO3C,KAAK,KAAK,GAAG;IACT,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7E,YAAY,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAA;CACtD,CAAA;AAED,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CA2F9B,CAAA;AAED,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,SAAS,CAAC,CAAC;IAC5D,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"AddressWithIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/Address/AddressPicker/AddressWithIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,SAAS,EAAE,QAAQ,EAAY,MAAM,OAAO,CAAA;AAC5E,OAAO,EAAgB,WAAW,EAAE,MAAM,GAAG,CAAC;AAI9C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAO3C,KAAK,KAAK,GAAG;IACT,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7E,YAAY,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAA;CACtD,CAAA;AAED,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CA2F9B,CAAA;AAED,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,SAAS,CAAC,CAAC;IAC5D,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAA;AAcD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAqHpD,CAAA;AA+DD,eAAe,eAAe,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Network } from "
|
|
1
|
+
import { Network } from "../../../../Models/Network";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
-
import { SelectAccountProps, Wallet, WalletConnectionProvider } from "
|
|
3
|
+
import { SelectAccountProps, Wallet, WalletConnectionProvider } from "../../../../types/wallet";
|
|
4
4
|
type Props = {
|
|
5
5
|
provider: WalletConnectionProvider;
|
|
6
6
|
notCompatibleWallets: Wallet[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { Partner } from "
|
|
3
|
-
import { NetworkType } from "
|
|
2
|
+
import { Partner } from "../../../../Models/Partner";
|
|
3
|
+
import { NetworkType } from "../../../../Models/Network";
|
|
4
4
|
import { AddressItem } from ".";
|
|
5
|
-
import { Wallet } from "
|
|
5
|
+
import { Wallet } from "../../../../types/wallet";
|
|
6
6
|
import { FormikHelpers } from "formik";
|
|
7
|
-
import { SwapFormValues } from "
|
|
7
|
+
import { SwapFormValues } from "../../../../components/Pages/Swap/Form/SwapFormValues";
|
|
8
8
|
type AddressInput = {
|
|
9
9
|
manualAddress: string;
|
|
10
10
|
setManualAddress: (address: string) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { AddressBookItem } from "
|
|
3
|
-
import { Partner } from "
|
|
4
|
-
import { Network } from "
|
|
5
|
-
import { Wallet } from "
|
|
2
|
+
import { AddressBookItem } from "../../../../lib/apiClients/layerSwapApiClient";
|
|
3
|
+
import { Partner } from "../../../../Models/Partner";
|
|
4
|
+
import { Network } from "../../../../Models/Network";
|
|
5
|
+
import { Wallet } from "../../../../types/wallet";
|
|
6
6
|
export declare enum AddressGroup {
|
|
7
7
|
ConnectedWallet = "Connected wallet",
|
|
8
8
|
ManualAdded = "Added Manually",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/Address/AddressPicker/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAiE,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAK3C,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/Address/AddressPicker/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAiE,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAK3C,OAAO,EAAE,OAAO,EAAgB,MAAM,kBAAkB,CAAC;AAKzD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAKxC,oBAAY,YAAY;IACpB,eAAe,qBAAqB;IACpC,WAAW,mBAAmB;IAC9B,YAAY,kBAAkB;IAC9B,SAAS,YAAY;CACxB;AAED,MAAM,MAAM,WAAW,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;CACpC,CAAA;AAED,UAAU,KAAK;IACX,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,GAAG,CAAC,OAAO,CAAC;IACtD,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;CACpC;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CA+K3B,CAAC;AA+CH,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { SwapFormValues } from "../../../components/Pages/Swap/Form/SwapFormValues";
|
|
3
|
+
type Props = {
|
|
4
|
+
values: SwapFormValues;
|
|
5
|
+
onDontShowAgainChange?: (checked: boolean) => void;
|
|
6
|
+
};
|
|
7
|
+
declare const ContractAddressNote: FC<Props>;
|
|
8
|
+
export default ContractAddressNote;
|
|
9
|
+
//# sourceMappingURL=ContractAddressNote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContractAddressNote.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Address/ContractAddressNote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAA;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAA;AAG5E,KAAK,KAAK,GAAG;IACT,MAAM,EAAE,cAAc,CAAA;IACtB,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CACrD,CAAA;AAED,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,KAAK,CAwClC,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { SwapFormValues } from "../../../components/Pages/Swap/Form/SwapFormValues";
|
|
3
|
+
import { Partner } from "../../../Models";
|
|
4
|
+
type Props = {
|
|
5
|
+
partner: Partner | undefined;
|
|
6
|
+
values: SwapFormValues;
|
|
7
|
+
};
|
|
8
|
+
declare const UrlAddressNote: FC<Props>;
|
|
9
|
+
export default UrlAddressNote;
|
|
10
|
+
//# sourceMappingURL=UrlAddressNote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UrlAddressNote.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Address/UrlAddressNote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAI1B,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,KAAK,KAAK,GAAG;IACT,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAA;CACzB,CAAA;AAED,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CA6C7B,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Balance.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/Balance.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Balance.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/Balance.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAE7E,QAAA,MAAM,OAAO,GAAI,uBAAuB;IAAE,MAAM,EAAE,cAAc,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,mDA+BpF,CAAA;AAiDD,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { Token } from "../../../Models/Network";
|
|
3
|
+
import { Quote } from "../../../lib/apiClients/layerSwapApiClient";
|
|
4
|
+
type ReceiveAmountProps = {
|
|
5
|
+
destination_token: Token | undefined;
|
|
6
|
+
fee: Quote | undefined;
|
|
7
|
+
isFeeLoading: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const ExchangeReceiveAmount: FC<ReceiveAmountProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=ExchangeReceiveAmount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExchangeReceiveAmount.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/ExchangeReceiveAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAI5D,KAAK,kBAAkB,GAAG;IACtB,iBAAiB,EAAE,KAAK,GAAG,SAAS,CAAC;IACrC,GAAG,EAAE,KAAK,GAAG,SAAS,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;CACzB,CAAA;AACD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,kBAAkB,CAuBxD,CAAA"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { Refuel, SwapQuote } from "../../../lib/apiClients/layerSwapApiClient";
|
|
2
3
|
type PriceImpactProps = {
|
|
3
|
-
|
|
4
|
-
requestedAmount?: number;
|
|
5
|
-
sourceTokenPriceUsd?: number;
|
|
6
|
-
destinationTokenPriceUsd?: number;
|
|
7
|
-
serviceFee?: number;
|
|
8
|
-
bridgeFee?: number;
|
|
4
|
+
quote: SwapQuote | undefined;
|
|
9
5
|
className?: string;
|
|
6
|
+
refuel: Refuel | undefined;
|
|
10
7
|
};
|
|
11
8
|
export declare const PriceImpact: FC<PriceImpactProps>;
|
|
12
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceImpact.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/PriceImpact.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PriceImpact.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/PriceImpact.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAIxE,KAAK,gBAAgB,GAAG;IACpB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAyE5C,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { Token } from "
|
|
3
|
-
import { Quote } from "
|
|
2
|
+
import { Token } from "../../../Models/Network";
|
|
3
|
+
import { Quote } from "../../../lib/apiClients/layerSwapApiClient";
|
|
4
4
|
type ReceiveAmountProps = {
|
|
5
5
|
destination_token: Token | undefined;
|
|
6
|
-
source_token: Token | undefined;
|
|
7
6
|
fee: Quote | undefined;
|
|
8
7
|
isFeeLoading: boolean;
|
|
9
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReceiveAmount.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/ReceiveAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAK5D,KAAK,kBAAkB,GAAG;IACtB,iBAAiB,EAAE,KAAK,GAAG,SAAS,CAAC;IACrC,
|
|
1
|
+
{"version":3,"file":"ReceiveAmount.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/ReceiveAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAK5D,KAAK,kBAAkB,GAAG;IACtB,iBAAiB,EAAE,KAAK,GAAG,SAAS,CAAC;IACrC,GAAG,EAAE,KAAK,GAAG,SAAS,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;CACzB,CAAA;AACD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAwBhD,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TokenBalance } from "
|
|
2
|
-
import { Token } from "
|
|
1
|
+
import { TokenBalance } from "../../../Models/Balance";
|
|
2
|
+
import { Token } from "../../../Models/Network";
|
|
3
3
|
type ResoleMaxAllowedAmountProps = {
|
|
4
4
|
limitsMaxAmount: number | undefined;
|
|
5
5
|
walletBalance: TokenBalance | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DestinationPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/DestinationPicker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,EAAkC,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9E,KAAK,KAAK,GAAG;IACT,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC;IAC9C,YAAY,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,QAAA,MAAM,iBAAiB,GAAI,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DestinationPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/DestinationPicker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,EAAkC,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9E,KAAK,KAAK,GAAG;IACT,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC;IAC9C,YAAY,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,QAAA,MAAM,iBAAiB,GAAI,OAAO,KAAK,4CAoCtC,CAAC;AAEF,eAAO,MAAM,6BAA6B,+CAIzC,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RowElement } from "
|
|
2
|
-
import { NetworkRoute, NetworkRouteToken } from "
|
|
3
|
-
import { SwapDirection } from "
|
|
1
|
+
import { RowElement } from "../../../Models/Route";
|
|
2
|
+
import { NetworkRoute, NetworkRouteToken } from "../../../Models/Network";
|
|
3
|
+
import { SwapDirection } from "../../../components/Pages/Swap/Form/SwapFormValues";
|
|
4
4
|
type ContentProps = {
|
|
5
5
|
onSelect: (route: NetworkRoute, token: NetworkRouteToken) => Promise<void> | void;
|
|
6
6
|
searchQuery: string;
|
|
@@ -9,8 +9,8 @@ type ContentProps = {
|
|
|
9
9
|
selectedRoute: string | undefined;
|
|
10
10
|
selectedToken: string | undefined;
|
|
11
11
|
direction: SwapDirection;
|
|
12
|
-
|
|
12
|
+
partialPublished?: boolean;
|
|
13
13
|
};
|
|
14
|
-
export declare const Content: ({ searchQuery, setSearchQuery, rowElements, selectedToken, selectedRoute, direction, onSelect,
|
|
14
|
+
export declare const Content: ({ searchQuery, setSearchQuery, rowElements, selectedToken, selectedRoute, direction, onSelect, partialPublished }: ContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=Content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/Content.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAK5C,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAKnE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/Content.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAK5C,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAKnE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAG5E,KAAK,YAAY,GAAG;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAClF,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,SAAS,EAAE,aAAa,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAA;AACD,eAAO,MAAM,OAAO,GAAI,mHAAmH,YAAY,4CA+HtJ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouterPickerWalletConnect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/RouterPickerWalletConnect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAe9C,OAAO,EAAE,aAAa,EAAkB,MAAM,6CAA6C,CAAC;AAE5F,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,CAyEzD,CAAA;
|
|
1
|
+
{"version":3,"file":"RouterPickerWalletConnect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/RouterPickerWalletConnect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAe9C,OAAO,EAAE,aAAa,EAAkB,MAAM,6CAA6C,CAAC;AAE5F,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,CAyEzD,CAAA;AA4ED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { NetworkRoute, NetworkRouteToken } from "
|
|
2
|
-
import { GroupedTokenElement, RowElement } from "
|
|
3
|
-
import { SwapDirection } from "
|
|
1
|
+
import { NetworkRoute, NetworkRouteToken } from "../../../Models/Network";
|
|
2
|
+
import { GroupedTokenElement, RowElement } from "../../../Models/Route";
|
|
3
|
+
import { SwapDirection } from "../../../components/Pages/Swap/Form/SwapFormValues";
|
|
4
4
|
type TokenItemProps = {
|
|
5
5
|
route: NetworkRoute;
|
|
6
6
|
item: NetworkRouteToken;
|
|
7
7
|
type?: RowElement['type'];
|
|
8
8
|
selected: boolean;
|
|
9
9
|
direction: SwapDirection;
|
|
10
|
-
allbalancesLoaded?: boolean;
|
|
11
10
|
};
|
|
12
11
|
export declare const CurrencySelectItemDisplay: (props: TokenItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
type NetworkTokenItemProps = {
|
|
@@ -15,14 +14,12 @@ type NetworkTokenItemProps = {
|
|
|
15
14
|
item: NetworkRouteToken;
|
|
16
15
|
direction: SwapDirection;
|
|
17
16
|
type?: RowElement['type'];
|
|
18
|
-
allbalancesLoaded?: boolean;
|
|
19
17
|
};
|
|
20
18
|
export declare const NetworkTokenTitle: (props: NetworkTokenItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
19
|
type NetworkRouteItemProps = {
|
|
22
20
|
item: NetworkRoute;
|
|
23
21
|
selected: boolean;
|
|
24
22
|
direction: SwapDirection;
|
|
25
|
-
allbalancesLoaded?: boolean;
|
|
26
23
|
hideTokenImages?: boolean;
|
|
27
24
|
};
|
|
28
25
|
export declare const NetworkRouteSelectItemDisplay: (props: NetworkRouteItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -33,10 +30,9 @@ type SelectedCurrencyDisplayProps = {
|
|
|
33
30
|
} | undefined;
|
|
34
31
|
placeholder: string;
|
|
35
32
|
};
|
|
36
|
-
export declare const GroupedTokenHeader: ({ item, direction,
|
|
33
|
+
export declare const GroupedTokenHeader: ({ item, direction, hideTokenImages }: {
|
|
37
34
|
item: GroupedTokenElement;
|
|
38
35
|
direction: SwapDirection;
|
|
39
|
-
allbalancesLoaded?: boolean;
|
|
40
36
|
hideTokenImages?: boolean;
|
|
41
37
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
42
38
|
export declare const SelectedCurrencyDisplay: (props: SelectedCurrencyDisplayProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Routes.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/Routes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAOnE,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Routes.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