thirdweb 5.32.2-nightly-a6ed6e66dae7f2fa239c76a57e93b545e5d8da8d-20240704000330 → 5.32.2
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/cjs/gas/fee-data.js +13 -6
- package/dist/cjs/gas/fee-data.js.map +1 -1
- package/dist/cjs/pay/buyWithCrypto/getQuote.js +1 -0
- package/dist/cjs/pay/buyWithCrypto/getQuote.js.map +1 -1
- package/dist/cjs/pay/buyWithFiat/getPostOnRampQuote.js +5 -0
- package/dist/cjs/pay/buyWithFiat/getPostOnRampQuote.js.map +1 -1
- package/dist/cjs/pay/buyWithFiat/getQuote.js.map +1 -1
- package/dist/cjs/react/core/hooks/auth/useSiweAuth.js +4 -1
- package/dist/cjs/react/core/hooks/auth/useSiweAuth.js.map +1 -1
- package/dist/cjs/react/native/ui/components/Header.js +1 -1
- package/dist/cjs/react/native/ui/components/Header.js.map +1 -1
- package/dist/cjs/react/native/ui/components/button.js +1 -1
- package/dist/cjs/react/native/ui/components/button.js.map +1 -1
- package/dist/cjs/react/native/ui/connect/ConnectButton.js +1 -1
- package/dist/cjs/react/native/ui/connect/ConnectButton.js.map +1 -1
- package/dist/cjs/react/native/ui/connect/ConnectModal.js +7 -8
- package/dist/cjs/react/native/ui/connect/ConnectModal.js.map +1 -1
- package/dist/cjs/react/native/ui/connect/InAppWalletUI.js +1 -1
- package/dist/cjs/react/native/ui/connect/InAppWalletUI.js.map +1 -1
- package/dist/cjs/react/native/ui/icons/svgs.js +5 -5
- package/dist/cjs/react/web/hooks/transaction/useSendTransaction.js +2 -2
- package/dist/cjs/react/web/hooks/transaction/useSendTransaction.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/ConnectButton.js +12 -2
- package/dist/cjs/react/web/ui/ConnectWallet/ConnectButton.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Details.js +19 -5
- package/dist/cjs/react/web/ui/ConnectWallet/Details.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/AllWalletsUI.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/AllWalletsUI.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.js +5 -4
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js +5 -4
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectModal.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectModal.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectModalContent.js +11 -7
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectModalContent.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectModalInline.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/ConnectModalInline.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.js +12 -12
- package/dist/cjs/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/WalletEntryButton.js +3 -5
- package/dist/cjs/react/web/ui/ConnectWallet/WalletEntryButton.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/WalletSelector.js +24 -14
- package/dist/cjs/react/web/ui/ConnectWallet/WalletSelector.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/en.js +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/en.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/es.js +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/es.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/ja.js +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/ja.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/locale/tl.js +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/locale/tl.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.js +144 -87
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/ReceiverWalletSelectionScreen.js +49 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/ReceiverWalletSelectionScreen.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/WalletSelectorButton.js +32 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/WalletSelectorButton.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatFlow.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatFlow.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js +6 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwap.js +2 -4
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwap.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwapFlow.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwapFlow.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.js +18 -17
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.js +2 -6
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.js +26 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js +12 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.js +8 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/types.js +3 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/types.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.js +55 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Details/WalletManagerScreen.js +78 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/Details/WalletManagerScreen.js.map +1 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/SendFunds.js +3 -4
- package/dist/cjs/react/web/ui/ConnectWallet/screens/SendFunds.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/SignatureScreen.js +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/SignatureScreen.js.map +1 -1
- package/dist/cjs/react/web/ui/ConnectWallet/screens/WalletSwitcherConnectionScreen.js +31 -0
- package/dist/cjs/react/web/ui/ConnectWallet/screens/WalletSwitcherConnectionScreen.js.map +1 -0
- package/dist/cjs/react/web/ui/PayEmbed.js +3 -17
- package/dist/cjs/react/web/ui/PayEmbed.js.map +1 -1
- package/dist/cjs/react/web/ui/components/CopyIcon.js +1 -1
- package/dist/cjs/react/web/ui/components/CopyIcon.js.map +1 -1
- package/dist/cjs/react/web/ui/components/Drawer.js +51 -17
- package/dist/cjs/react/web/ui/components/Drawer.js.map +1 -1
- package/dist/cjs/react/web/ui/components/SwitchNetwork.js +1 -3
- package/dist/cjs/react/web/ui/components/SwitchNetwork.js.map +1 -1
- package/dist/cjs/react/web/ui/components/WalletImage.js +1 -0
- package/dist/cjs/react/web/ui/components/WalletImage.js.map +1 -1
- package/dist/cjs/react/web/ui/components/buttons.js +5 -1
- package/dist/cjs/react/web/ui/components/buttons.js.map +1 -1
- package/dist/cjs/react/web/wallets/ecosystem/EcosystemWalletConnectUI.js +2 -1
- package/dist/cjs/react/web/wallets/ecosystem/EcosystemWalletConnectUI.js.map +1 -1
- package/dist/cjs/react/web/wallets/in-app/InAppWalletConnectUI.js +2 -1
- package/dist/cjs/react/web/wallets/in-app/InAppWalletConnectUI.js.map +1 -1
- package/dist/cjs/react/web/wallets/in-app/InAppWalletSelectionUI.js +2 -2
- package/dist/cjs/react/web/wallets/in-app/InAppWalletSelectionUI.js.map +1 -1
- package/dist/cjs/utils/formatNumber.js +4 -1
- package/dist/cjs/utils/formatNumber.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/gas/fee-data.js +13 -6
- package/dist/esm/gas/fee-data.js.map +1 -1
- package/dist/esm/pay/buyWithCrypto/getQuote.js +1 -0
- package/dist/esm/pay/buyWithCrypto/getQuote.js.map +1 -1
- package/dist/esm/pay/buyWithFiat/getPostOnRampQuote.js +5 -0
- package/dist/esm/pay/buyWithFiat/getPostOnRampQuote.js.map +1 -1
- package/dist/esm/pay/buyWithFiat/getQuote.js.map +1 -1
- package/dist/esm/react/core/hooks/auth/useSiweAuth.js +4 -1
- package/dist/esm/react/core/hooks/auth/useSiweAuth.js.map +1 -1
- package/dist/esm/react/native/ui/components/Header.js +1 -1
- package/dist/esm/react/native/ui/components/Header.js.map +1 -1
- package/dist/esm/react/native/ui/components/button.js +1 -1
- package/dist/esm/react/native/ui/components/button.js.map +1 -1
- package/dist/esm/react/native/ui/connect/ConnectButton.js +1 -1
- package/dist/esm/react/native/ui/connect/ConnectButton.js.map +1 -1
- package/dist/esm/react/native/ui/connect/ConnectModal.js +8 -9
- package/dist/esm/react/native/ui/connect/ConnectModal.js.map +1 -1
- package/dist/esm/react/native/ui/connect/InAppWalletUI.js +1 -1
- package/dist/esm/react/native/ui/connect/InAppWalletUI.js.map +1 -1
- package/dist/esm/react/native/ui/icons/svgs.js +5 -5
- package/dist/esm/react/web/hooks/transaction/useSendTransaction.js +2 -2
- package/dist/esm/react/web/hooks/transaction/useSendTransaction.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/ConnectButton.js +12 -2
- package/dist/esm/react/web/ui/ConnectWallet/ConnectButton.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Details.js +20 -6
- package/dist/esm/react/web/ui/ConnectWallet/Details.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/AllWalletsUI.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/AllWalletsUI.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.js +5 -4
- package/dist/esm/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js +2 -2
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectEmbed.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectModal.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectModal.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectModalContent.js +11 -7
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectModalContent.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectModalInline.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/ConnectModalInline.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.js +12 -12
- package/dist/esm/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/WalletEntryButton.js +2 -4
- package/dist/esm/react/web/ui/ConnectWallet/WalletEntryButton.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/WalletSelector.js +25 -15
- package/dist/esm/react/web/ui/ConnectWallet/WalletSelector.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/en.js +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/en.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/es.js +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/es.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/ja.js +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/ja.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/locale/tl.js +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/locale/tl.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.js +145 -88
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/ReceiverWalletSelectionScreen.js +46 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/ReceiverWalletSelectionScreen.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/WalletSelectorButton.js +29 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/WalletSelectorButton.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatFlow.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatFlow.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js +6 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwap.js +2 -4
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwap.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwapFlow.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwapFlow.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.js +18 -17
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.js +3 -7
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.js +23 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js +12 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.js +8 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/types.js +2 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/types.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.js +52 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Details/WalletManagerScreen.js +75 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/Details/WalletManagerScreen.js.map +1 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/SendFunds.js +4 -5
- package/dist/esm/react/web/ui/ConnectWallet/screens/SendFunds.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/SignatureScreen.js +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/SignatureScreen.js.map +1 -1
- package/dist/esm/react/web/ui/ConnectWallet/screens/WalletSwitcherConnectionScreen.js +28 -0
- package/dist/esm/react/web/ui/ConnectWallet/screens/WalletSwitcherConnectionScreen.js.map +1 -0
- package/dist/esm/react/web/ui/PayEmbed.js +3 -17
- package/dist/esm/react/web/ui/PayEmbed.js.map +1 -1
- package/dist/esm/react/web/ui/components/CopyIcon.js +1 -1
- package/dist/esm/react/web/ui/components/CopyIcon.js.map +1 -1
- package/dist/esm/react/web/ui/components/Drawer.js +54 -20
- package/dist/esm/react/web/ui/components/Drawer.js.map +1 -1
- package/dist/esm/react/web/ui/components/SwitchNetwork.js +1 -3
- package/dist/esm/react/web/ui/components/SwitchNetwork.js.map +1 -1
- package/dist/esm/react/web/ui/components/WalletImage.js +1 -0
- package/dist/esm/react/web/ui/components/WalletImage.js.map +1 -1
- package/dist/esm/react/web/ui/components/buttons.js +5 -1
- package/dist/esm/react/web/ui/components/buttons.js.map +1 -1
- package/dist/esm/react/web/wallets/ecosystem/EcosystemWalletConnectUI.js +2 -1
- package/dist/esm/react/web/wallets/ecosystem/EcosystemWalletConnectUI.js.map +1 -1
- package/dist/esm/react/web/wallets/in-app/InAppWalletConnectUI.js +2 -1
- package/dist/esm/react/web/wallets/in-app/InAppWalletConnectUI.js.map +1 -1
- package/dist/esm/react/web/wallets/in-app/InAppWalletSelectionUI.js +2 -2
- package/dist/esm/react/web/wallets/in-app/InAppWalletSelectionUI.js.map +1 -1
- package/dist/esm/utils/formatNumber.js +4 -1
- package/dist/esm/utils/formatNumber.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/types/gas/fee-data.d.ts.map +1 -1
- package/dist/types/pay/buyWithCrypto/getQuote.d.ts +5 -1
- package/dist/types/pay/buyWithCrypto/getQuote.d.ts.map +1 -1
- package/dist/types/pay/buyWithFiat/getPostOnRampQuote.d.ts.map +1 -1
- package/dist/types/pay/buyWithFiat/getQuote.d.ts +4 -0
- package/dist/types/pay/buyWithFiat/getQuote.d.ts.map +1 -1
- package/dist/types/react/core/hooks/auth/useSiweAuth.d.ts.map +1 -1
- package/dist/types/react/native/ui/components/Header.d.ts +1 -1
- package/dist/types/react/native/ui/components/Header.d.ts.map +1 -1
- package/dist/types/react/native/ui/components/button.d.ts.map +1 -1
- package/dist/types/react/native/ui/connect/ConnectModal.d.ts.map +1 -1
- package/dist/types/react/native/ui/connect/InAppWalletUI.d.ts.map +1 -1
- package/dist/types/react/native/ui/icons/svgs.d.ts +3 -3
- package/dist/types/react/native/ui/icons/svgs.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/Details.d.ts +21 -1
- package/dist/types/react/web/ui/ConnectWallet/Details.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/Modal/AllWalletsUI.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.d.ts +0 -2
- package/dist/types/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/Modal/ConnectEmbed.d.ts +6 -0
- package/dist/types/react/web/ui/ConnectWallet/Modal/ConnectEmbed.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/Modal/ConnectModal.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/Modal/ConnectModalContent.d.ts +7 -3
- package/dist/types/react/web/ui/ConnectWallet/Modal/ConnectModalContent.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.d.ts +0 -2
- package/dist/types/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/WalletEntryButton.d.ts +3 -1
- package/dist/types/react/web/ui/ConnectWallet/WalletEntryButton.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/WalletSelector.d.ts +7 -5
- package/dist/types/react/web/ui/ConnectWallet/WalletSelector.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/en.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/es.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/ja.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/tl.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/locale/types.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/locale/types.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.d.ts +5 -4
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/ReceiverWalletSelectionScreen.d.ts +8 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/ReceiverWalletSelectionScreen.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/WalletSelectorButton.d.ts +13 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/WalletSelectorButton.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatFlow.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatFlow.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwap.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwap.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwapFlow.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwapFlow.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/main/types.d.ts +12 -3
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/main/types.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.d.ts +2 -2
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.d.ts +12 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.d.ts +2 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/types.d.ts +9 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/types.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.d.ts +6 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Details/WalletManagerScreen.d.ts +9 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/Details/WalletManagerScreen.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/SignatureScreen.d.ts +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/SignatureScreen.d.ts.map +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/WalletSwitcherConnectionScreen.d.ts +25 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/WalletSwitcherConnectionScreen.d.ts.map +1 -0
- package/dist/types/react/web/ui/ConnectWallet/screens/types.d.ts +1 -1
- package/dist/types/react/web/ui/ConnectWallet/screens/types.d.ts.map +1 -1
- package/dist/types/react/web/ui/PayEmbed.d.ts +1 -1
- package/dist/types/react/web/ui/PayEmbed.d.ts.map +1 -1
- package/dist/types/react/web/ui/components/CopyIcon.d.ts.map +1 -1
- package/dist/types/react/web/ui/components/Drawer.d.ts +2 -1
- package/dist/types/react/web/ui/components/Drawer.d.ts.map +1 -1
- package/dist/types/react/web/ui/components/SwitchNetwork.d.ts +1 -2
- package/dist/types/react/web/ui/components/SwitchNetwork.d.ts.map +1 -1
- package/dist/types/react/web/ui/components/WalletImage.d.ts +1 -0
- package/dist/types/react/web/ui/components/WalletImage.d.ts.map +1 -1
- package/dist/types/react/web/ui/components/buttons.d.ts.map +1 -1
- package/dist/types/react/web/wallets/ecosystem/EcosystemWalletConnectUI.d.ts +0 -2
- package/dist/types/react/web/wallets/ecosystem/EcosystemWalletConnectUI.d.ts.map +1 -1
- package/dist/types/react/web/wallets/in-app/InAppWalletConnectUI.d.ts +0 -2
- package/dist/types/react/web/wallets/in-app/InAppWalletConnectUI.d.ts.map +1 -1
- package/dist/types/react/web/wallets/in-app/InAppWalletSelectionUI.d.ts +0 -2
- package/dist/types/react/web/wallets/in-app/InAppWalletSelectionUI.d.ts.map +1 -1
- package/dist/types/utils/formatNumber.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/types/version.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gas/fee-data.ts +14 -6
- package/src/pay/buyWithCrypto/getQuote.ts +7 -3
- package/src/pay/buyWithFiat/getPostOnRampQuote.ts +5 -0
- package/src/pay/buyWithFiat/getQuote.ts +4 -0
- package/src/react/core/hooks/auth/useSiweAuth.ts +4 -1
- package/src/react/native/ui/components/Header.tsx +2 -2
- package/src/react/native/ui/components/button.tsx +6 -1
- package/src/react/native/ui/connect/ConnectButton.tsx +1 -1
- package/src/react/native/ui/connect/ConnectModal.tsx +9 -4
- package/src/react/native/ui/connect/InAppWalletUI.tsx +24 -20
- package/src/react/native/ui/icons/svgs.ts +5 -5
- package/src/react/web/hooks/transaction/useSendTransaction.tsx +30 -17
- package/src/react/web/ui/ConnectWallet/ConnectButton.tsx +12 -1
- package/src/react/web/ui/ConnectWallet/Details.tsx +73 -2
- package/src/react/web/ui/ConnectWallet/Modal/AllWalletsUI.tsx +2 -0
- package/src/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.tsx +3 -6
- package/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx +3 -2
- package/src/react/web/ui/ConnectWallet/Modal/ConnectModal.tsx +2 -1
- package/src/react/web/ui/ConnectWallet/Modal/ConnectModalContent.tsx +17 -10
- package/src/react/web/ui/ConnectWallet/Modal/ConnectModalInline.tsx +2 -1
- package/src/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.tsx +14 -15
- package/src/react/web/ui/ConnectWallet/WalletEntryButton.tsx +12 -13
- package/src/react/web/ui/ConnectWallet/WalletSelector.tsx +35 -20
- package/src/react/web/ui/ConnectWallet/locale/en.ts +1 -0
- package/src/react/web/ui/ConnectWallet/locale/es.ts +1 -0
- package/src/react/web/ui/ConnectWallet/locale/ja.ts +1 -0
- package/src/react/web/ui/ConnectWallet/locale/tl.ts +1 -0
- package/src/react/web/ui/ConnectWallet/locale/types.ts +3 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.tsx +435 -266
- package/src/react/web/ui/ConnectWallet/screens/Buy/ReceiverWalletSelectionScreen.tsx +118 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/WalletSelectorButton.tsx +86 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatFlow.tsx +3 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatStatusScreen.tsx +2 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.tsx +23 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwap.tsx +4 -5
- package/src/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwapFlow.tsx +3 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/main/types.ts +15 -4
- package/src/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.tsx +43 -32
- package/src/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.tsx +4 -7
- package/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.tsx +3 -2
- package/src/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.tsx +66 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.tsx +16 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.tsx +3 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.tsx +27 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.tsx +3 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/types.ts +9 -0
- package/src/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.tsx +63 -0
- package/src/react/web/ui/ConnectWallet/screens/Details/WalletManagerScreen.tsx +203 -0
- package/src/react/web/ui/ConnectWallet/screens/SendFunds.tsx +1 -13
- package/src/react/web/ui/ConnectWallet/screens/SignatureScreen.tsx +2 -2
- package/src/react/web/ui/ConnectWallet/screens/WalletSwitcherConnectionScreen.tsx +83 -0
- package/src/react/web/ui/ConnectWallet/screens/types.ts +2 -1
- package/src/react/web/ui/PayEmbed.tsx +7 -29
- package/src/react/web/ui/components/CopyIcon.tsx +5 -1
- package/src/react/web/ui/components/Drawer.tsx +91 -40
- package/src/react/web/ui/components/SwitchNetwork.tsx +2 -5
- package/src/react/web/ui/components/WalletImage.tsx +2 -0
- package/src/react/web/ui/components/buttons.tsx +5 -1
- package/src/react/web/wallets/ecosystem/EcosystemWalletConnectUI.tsx +2 -3
- package/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx +2 -3
- package/src/react/web/wallets/in-app/InAppWalletSelectionUI.tsx +3 -3
- package/src/utils/format-number.test.ts +23 -8
- package/src/utils/formatNumber.ts +4 -1
- package/src/version.ts +1 -1
@@ -1,5 +1,6 @@
|
|
1
1
|
import type { Chain } from "../../../../../../../chains/types.js";
|
2
2
|
import type { ThirdwebClient } from "../../../../../../../client/client.js";
|
3
|
+
import type { Account } from "../../../../../../../wallets/interfaces/wallet.js";
|
3
4
|
import type { TokenInfo } from "../../../../../../core/utils/defaultTokens.js";
|
4
5
|
import { type NativeToken } from "../../nativeToken.js";
|
5
6
|
/**
|
@@ -16,5 +17,6 @@ export declare function PayWithCrypto(props: {
|
|
16
17
|
isLoading: boolean;
|
17
18
|
client: ThirdwebClient;
|
18
19
|
freezeChainAndTokenSelection?: boolean;
|
20
|
+
payerAccount: Account;
|
19
21
|
}): import("react/jsx-runtime.js").JSX.Element;
|
20
22
|
//# sourceMappingURL=PayWithCrypto.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PayWithCrypto.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;
|
1
|
+
{"version":3,"file":"PayWithCrypto.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAE5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAQjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAQ/E,OAAO,EAAE,KAAK,WAAW,EAAiB,MAAM,sBAAsB,CAAC;AAGvE;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,GAAG,WAAW,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;CACvB,8CAmGA"}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import type { ThirdwebClient } from "../../../../../../../client/client.js";
|
2
2
|
import type { BuyWithCryptoQuote } from "../../../../../../../pay/buyWithCrypto/getQuote.js";
|
3
|
-
import type {
|
3
|
+
import type { PayerInfo } from "../types.js";
|
4
4
|
type SwapFlowProps = {
|
5
5
|
onBack?: () => void;
|
6
6
|
buyWithCryptoQuote: BuyWithCryptoQuote;
|
7
|
-
|
7
|
+
payer: PayerInfo;
|
8
8
|
onViewPendingTx: () => void;
|
9
9
|
client: ThirdwebClient;
|
10
10
|
isFiatFlow: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SwapFlow.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAE5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;
|
1
|
+
{"version":3,"file":"SwapFlow.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAE5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAG7F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,KAAK,aAAa,GAAG;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,MAAM,EAAE,cAAc,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,8CAqF5C"}
|
package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.d.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { ThirdwebClient } from "../../../../../../../client/client.js";
|
2
|
+
import type { Wallet } from "../../../../../../../wallets/interfaces/wallet.js";
|
3
|
+
export declare function WalletSwitcherDrawerContent(props: {
|
4
|
+
client: ThirdwebClient;
|
5
|
+
showAllWallets: boolean;
|
6
|
+
wallets: Wallet[] | undefined;
|
7
|
+
onSelect: (wallet: Wallet) => void;
|
8
|
+
onBack: () => void;
|
9
|
+
onConnect: () => void;
|
10
|
+
selectedAddress: string;
|
11
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
12
|
+
//# sourceMappingURL=WalletSwitcherDrawerContent.d.ts.map
|
package/dist/types/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WalletSwitcherDrawerContent.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/swap/WalletSwitcherDrawerContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mDAAmD,CAAC;AAShF,wBAAgB,2BAA2B,CAAC,KAAK,EAAE;IACjD,MAAM,EAAE,cAAc,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC9B,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;CACzB,8CA8CA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BuyTxHistory.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;
|
1
|
+
{"version":3,"file":"BuyTxHistory.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAsB5E,OAAO,EACL,KAAK,YAAY,EAElB,MAAM,+BAA+B,CAAC;AAEvC;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAClC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB,8CA8BA;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IACtC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,CAAC,EAAE,EAAE,YAAY,KAAK,IAAI,CAAC;CACxC,8CA6JA"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import type { ThirdwebClient } from "../../../../../../../client/client.js";
|
2
2
|
import type { BuyWithFiatStatus, ValidBuyWithFiatStatus } from "../../../../../../../pay/buyWithFiat/getStatus.js";
|
3
|
+
import type { PayerInfo } from "../types.js";
|
3
4
|
export declare function FiatDetailsScreen(props: {
|
4
5
|
status: ValidBuyWithFiatStatus;
|
5
6
|
onBack: () => void;
|
@@ -7,6 +8,7 @@ export declare function FiatDetailsScreen(props: {
|
|
7
8
|
onDone: () => void;
|
8
9
|
isBuyForTx: boolean;
|
9
10
|
isEmbed: boolean;
|
11
|
+
payer: PayerInfo;
|
10
12
|
}): import("react/jsx-runtime.js").JSX.Element;
|
11
13
|
export declare function isSwapRequiredAfterOnRamp(buyWithFiatStatus: BuyWithFiatStatus): boolean;
|
12
14
|
//# sourceMappingURL=FiatDetailsScreen.d.ts.map
|
package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FiatDetailsScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,mDAAmD,CAAC;
|
1
|
+
{"version":3,"file":"FiatDetailsScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,mDAAmD,CAAC;AAK3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;CAClB,8CAgGA;AAGD,wBAAgB,yBAAyB,CACvC,iBAAiB,EAAE,iBAAiB,WAerC"}
|
package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SwapDetailsScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;
|
1
|
+
{"version":3,"file":"SwapDetailsScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AAoBpG,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,MAAM,EAAE,wBAAwB,CAAC;IACjC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;CACxB,8CA4BA;AA8BD,wBAAgB,kBAAkB,CAChC,KAAK,EACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,kBAAkB,CAAC;IAC1B,MAAM,EAAE,cAAc,CAAC;CACxB,GACD;IACE,MAAM,EAAE,cAAc,CAAC;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,wBAAwB,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,8CAqPN"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { ThirdwebClient } from "../../../../../../../client/client.js";
|
2
|
+
import type { PayerInfo } from "../types.js";
|
2
3
|
import type { TxStatusInfo } from "./useBuyTransactionsToShow.js";
|
3
4
|
export declare function TxDetailsScreen(props: {
|
4
5
|
client: ThirdwebClient;
|
@@ -7,5 +8,6 @@ export declare function TxDetailsScreen(props: {
|
|
7
8
|
onDone: () => void;
|
8
9
|
isBuyForTx: boolean;
|
9
10
|
isEmbed: boolean;
|
11
|
+
payer: PayerInfo;
|
10
12
|
}): import("react/jsx-runtime.js").JSX.Element | null;
|
11
13
|
//# sourceMappingURL=TxDetailsScreen.d.ts.map
|
package/dist/types/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TxDetailsScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;
|
1
|
+
{"version":3,"file":"TxDetailsScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,wBAAgB,eAAe,CAAC,KAAK,EAAE;IACrC,MAAM,EAAE,cAAc,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;IACzB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;CAClB,qDA4BA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Chain } from "../../../../../../chains/types.js";
|
2
|
+
import type { Wallet } from "../../../../../../wallets/interfaces/wallet.js";
|
3
|
+
import type { Account } from "../../../../../../wallets/interfaces/wallet.js";
|
4
|
+
export type PayerInfo = {
|
5
|
+
wallet: Wallet;
|
6
|
+
chain: Chain;
|
7
|
+
account: Account;
|
8
|
+
};
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gDAAgD,CAAC;AAC7E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAE9E,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"usePayerSetup.d.ts","sourceRoot":"","sources":["../../../../../../../../src/react/web/ui/ConnectWallet/screens/Buy/usePayerSetup.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAgB,aAAa;;;EAwD5B"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Chain } from "../../../../../../chains/types.js";
|
2
|
+
import type { Account, Wallet } from "../../../../../../wallets/interfaces/wallet.js";
|
3
|
+
import { type WalletSwitcherConnectionScreenProps } from "../WalletSwitcherConnectionScreen.js";
|
4
|
+
export declare function WalletManagerScreen(props: Omit<WalletSwitcherConnectionScreenProps, "onSelect" | "isEmbed" | "selectedWallet"> & {
|
5
|
+
activeAccount: Account;
|
6
|
+
activeWallet: Wallet;
|
7
|
+
activeChain: Chain;
|
8
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
9
|
+
//# sourceMappingURL=WalletManagerScreen.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WalletManagerScreen.d.ts","sourceRoot":"","sources":["../../../../../../../../src/react/web/ui/ConnectWallet/screens/Details/WalletManagerScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAG/D,OAAO,KAAK,EACV,OAAO,EACP,MAAM,EACP,MAAM,gDAAgD,CAAC;AAoBxD,OAAO,EAEL,KAAK,mCAAmC,EACzC,MAAM,sCAAsC,CAAC;AAG9C,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,IAAI,CACT,mCAAmC,EACnC,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAC1C,GAAG;IACF,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,KAAK,CAAC;CACpB,8CA6EF"}
|
@@ -2,7 +2,7 @@ import type { ThirdwebClient } from "../../../../../client/client.js";
|
|
2
2
|
import type { ConnectButtonProps } from "../../../../core/hooks/connection/ConnectButtonProps.js";
|
3
3
|
import type { ConnectLocale } from "../locale/types.js";
|
4
4
|
export declare const SignatureScreen: React.FC<{
|
5
|
-
onDone: () => void;
|
5
|
+
onDone: (() => void) | undefined;
|
6
6
|
modalSize: "compact" | "wide";
|
7
7
|
termsOfServiceUrl?: string;
|
8
8
|
privacyPolicyUrl?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SignatureScreen.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/ConnectWallet/screens/SignatureScreen.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAStE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yDAAyD,CAAC;AAalG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAKxD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;IACrC,MAAM,EAAE,MAAM,IAAI,CAAC;
|
1
|
+
{"version":3,"file":"SignatureScreen.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/ConnectWallet/screens/SignatureScreen.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAStE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yDAAyD,CAAC;AAalG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAKxD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;IACrC,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACjC,SAAS,EAAE,SAAS,GAAG,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,aAAa,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAC;IACvB,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;CAClC,CAkLA,CAAC"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import type { Chain } from "../../../../../chains/types.js";
|
2
|
+
import type { ThirdwebClient } from "../../../../../client/client.js";
|
3
|
+
import type { Wallet } from "../../../../../wallets/interfaces/wallet.js";
|
4
|
+
import type { SmartWalletOptions } from "../../../../../wallets/smart/types.js";
|
5
|
+
import type { AppMetadata } from "../../../../../wallets/types.js";
|
6
|
+
import type { ConnectLocale } from "../locale/types.js";
|
7
|
+
export type WalletSwitcherConnectionScreenProps = {
|
8
|
+
chain: Chain | undefined;
|
9
|
+
chains: Chain[] | undefined;
|
10
|
+
client: ThirdwebClient;
|
11
|
+
wallets: Wallet[] | undefined;
|
12
|
+
appMetadata: AppMetadata | undefined;
|
13
|
+
connectLocale: ConnectLocale;
|
14
|
+
isEmbed: boolean;
|
15
|
+
accountAbstraction: SmartWalletOptions | undefined;
|
16
|
+
onSelect: (wallet: Wallet) => void;
|
17
|
+
recommendedWallets: Wallet[] | undefined;
|
18
|
+
showAllWallets: boolean;
|
19
|
+
walletConnect: {
|
20
|
+
projectId?: string;
|
21
|
+
} | undefined;
|
22
|
+
onBack: () => void;
|
23
|
+
};
|
24
|
+
export declare function WalletSwitcherConnectionScreen(props: WalletSwitcherConnectionScreenProps): import("react/jsx-runtime.js").JSX.Element;
|
25
|
+
//# sourceMappingURL=WalletSwitcherConnectionScreen.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WalletSwitcherConnectionScreen.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/ConnectWallet/screens/WalletSwitcherConnectionScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAKnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,MAAM,mCAAmC,GAAG;IAChD,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,MAAM,EAAE,KAAK,EAAE,GAAG,SAAS,CAAC;IAC5B,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC9B,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IACrC,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACnD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,kBAAkB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IACzC,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EACT;QACE,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GACD,SAAS,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,mCAAmC,8CAkD3C"}
|
@@ -56,5 +56,5 @@ export type WelcomeScreen = {
|
|
56
56
|
height?: number;
|
57
57
|
};
|
58
58
|
} | (() => React.ReactNode);
|
59
|
-
export type WalletDetailsModalScreen = "main" | "export" | "send" | "receive" | "buy" | "network-switcher" | "pending-tx" | "view-funds" | "private-key" | "manage-wallet" | "wallet-connect-receiver";
|
59
|
+
export type WalletDetailsModalScreen = "main" | "export" | "send" | "receive" | "buy" | "network-switcher" | "pending-tx" | "view-funds" | "private-key" | "manage-wallet" | "wallet-connect-receiver" | "wallet-manager";
|
60
60
|
//# sourceMappingURL=types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/ConnectWallet/screens/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,MAAM,aAAa,GACrB;IACE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE;QACJ;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QACZ;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,GACD,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;AAE5B,MAAM,MAAM,wBAAwB,GAChC,MAAM,GACN,QAAQ,GACR,MAAM,GACN,SAAS,GACT,KAAK,GACL,kBAAkB,GAClB,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,eAAe,GACf,yBAAyB,CAAC"}
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/ConnectWallet/screens/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,MAAM,aAAa,GACrB;IACE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE;QACJ;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QACZ;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,GACD,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;AAE5B,MAAM,MAAM,wBAAwB,GAChC,MAAM,GACN,QAAQ,GACR,MAAM,GACN,SAAS,GACT,KAAK,GACL,kBAAkB,GAClB,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,eAAe,GACf,yBAAyB,GACzB,gBAAgB,CAAC"}
|
@@ -3,7 +3,7 @@ import type { ThirdwebClient } from "../../../client/client.js";
|
|
3
3
|
import type { Wallet } from "../../../wallets/interfaces/wallet.js";
|
4
4
|
import type { SmartWalletOptions } from "../../../wallets/smart/types.js";
|
5
5
|
import type { AppMetadata } from "../../../wallets/types.js";
|
6
|
-
import {
|
6
|
+
import type { Theme } from "../../core/design-system/index.js";
|
7
7
|
import type { SiweAuthOptions } from "../../core/hooks/auth/useSiweAuth.js";
|
8
8
|
import type { ConnectButton_connectModalOptions, PayUIOptions } from "../../core/hooks/connection/ConnectButtonProps.js";
|
9
9
|
import type { SupportedTokens } from "../../core/utils/defaultTokens.js";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PayEmbed.d.ts","sourceRoot":"","sources":["../../../../../src/react/web/ui/PayEmbed.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,EAAE,KAAK,
|
1
|
+
{"version":3,"file":"PayEmbed.d.ts","sourceRoot":"","sources":["../../../../../src/react/web/ui/PayEmbed.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EACV,iCAAiC,EACjC,YAAY,EACb,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAOzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;;;;;;;;;;;;OAcG;IACH,MAAM,EAAE,cAAc,CAAC;IACvB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC;IAE1B;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;IAEjC;;;;OAIG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAC;IAExC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,8CAoE5C;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;OAGG;IACH,YAAY,CAAC,EAAE,iCAAiC,CAAC;IAEjD;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;;;;;;;;OASG;IACH,WAAW,CAAC,EACR;QACE,OAAO,EAAE,MAAM,CAAC;KACjB,GACD,OAAO,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IAEjB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CopyIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/CopyIcon.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,
|
1
|
+
{"version":3,"file":"CopyIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/CopyIcon.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CA+BA,CAAC"}
|
@@ -23,7 +23,8 @@ export declare const DrawerOverlay: import("@emotion/styled").StyledComponent<{
|
|
23
23
|
export declare function useDrawer(): {
|
24
24
|
drawerRef: import("react").RefObject<HTMLDivElement>;
|
25
25
|
drawerOverlayRef: import("react").RefObject<HTMLDivElement>;
|
26
|
-
|
26
|
+
setIsOpen: (value: boolean) => Promise<void>;
|
27
|
+
isOpen: boolean;
|
27
28
|
};
|
28
29
|
export {};
|
29
30
|
//# sourceMappingURL=Drawer.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/Drawer.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/Drawer.tsx"],"names":[],"mappings":"AAmBA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,MAAM,wGA4BlB,CAAC;AAEF,eAAO,MAAM,eAAe;;SA1Cf,MAAO,WAAW;yGAwD7B,CAAC;AAEH,eAAO,MAAM,mBAAmB,oCAS/B,CAAC;AAEF,eAAO,MAAM,aAAa;;eArEN,WAAW;yGA8E7B,CAAC;AAEH;;;GAGG;AACH,wBAAgB,SAAS;;;uBA4BP,OAAO;;EA2CxB"}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import type { Chain } from "../../../../chains/types.js";
|
2
1
|
import { type ButtonProps } from "./buttons.js";
|
3
2
|
export declare function SwitchNetworkButton(props: ButtonProps & {
|
4
|
-
chain: Chain;
|
5
3
|
fullWidth?: boolean;
|
4
|
+
switchChain: () => Promise<void>;
|
6
5
|
}): import("react/jsx-runtime.js").JSX.Element;
|
7
6
|
//# sourceMappingURL=SwitchNetwork.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SwitchNetwork.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/SwitchNetwork.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SwitchNetwork.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/SwitchNetwork.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAExD,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,WAAW,GAAG;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAClC,8CA0BF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WalletImage.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/WalletImage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAKnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAkBpE;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE;IACjC,EAAE,EAAE,QAAQ,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"WalletImage.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/WalletImage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAKnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAkBpE;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE;IACjC,EAAE,EAAE,QAAQ,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,8CAiFA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/buttons.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,KAAK,EAGV,OAAO,EACR,MAAM,sCAAsC,CAAC;AAG9C,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,OAAO,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,MAAM;;SAAsD,MACtE,WAAW;
|
1
|
+
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/buttons.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,KAAK,EAGV,OAAO,EACR,MAAM,sCAAsC,CAAC;AAG9C,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,OAAO,OAAO,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,MAAM;;SAAsD,MACtE,WAAW;mIAgHZ,CAAC;AAEH,eAAO,MAAM,UAAU;;eAlHpB,WAAW;mIAkH+D,CAAC;AAE9E,eAAO,MAAM,UAAU;;eApHpB,WAAW;qHAyIZ,CAAC;AAEH,eAAO,MAAM,WAAW;;eA3IrB,WAAW;qHA8JZ,CAAC"}
|
@@ -3,7 +3,6 @@ import type { ThirdwebClient } from "../../../../client/client.js";
|
|
3
3
|
import type { Wallet } from "../../../../wallets/interfaces/wallet.js";
|
4
4
|
import type { EcosystemWalletId } from "../../../../wallets/wallet-types.js";
|
5
5
|
import type { ConnectLocale } from "../../ui/ConnectWallet/locale/types.js";
|
6
|
-
import type { LocaleId } from "../../ui/types.js";
|
7
6
|
/**
|
8
7
|
*
|
9
8
|
* @internal
|
@@ -14,7 +13,6 @@ declare function EcosystemWalletConnectUI(props: {
|
|
14
13
|
goBack?: () => void;
|
15
14
|
client: ThirdwebClient;
|
16
15
|
chain: Chain | undefined;
|
17
|
-
localeId: LocaleId;
|
18
16
|
connectLocale: ConnectLocale;
|
19
17
|
size: "compact" | "wide";
|
20
18
|
meta: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EcosystemWalletConnectUI.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/wallets/ecosystem/EcosystemWalletConnectUI.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAK7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;
|
1
|
+
{"version":3,"file":"EcosystemWalletConnectUI.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/wallets/ecosystem/EcosystemWalletConnectUI.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAK7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAS5E;;;GAGG;AACH,iBAAS,wBAAwB,CAAC,KAAK,EAAE;IACvC,MAAM,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAClC,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;IACzB,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B,CAAC;CACH,8CAkFA;AAED,eAAe,wBAAwB,CAAC"}
|
@@ -2,7 +2,6 @@ import type { Chain } from "../../../../chains/types.js";
|
|
2
2
|
import type { ThirdwebClient } from "../../../../client/client.js";
|
3
3
|
import type { Wallet } from "../../../../wallets/interfaces/wallet.js";
|
4
4
|
import type { ConnectLocale } from "../../ui/ConnectWallet/locale/types.js";
|
5
|
-
import type { LocaleId } from "../../ui/types.js";
|
6
5
|
/**
|
7
6
|
*
|
8
7
|
* @internal
|
@@ -21,7 +20,6 @@ declare function InAppWalletConnectUI(props: {
|
|
21
20
|
};
|
22
21
|
client: ThirdwebClient;
|
23
22
|
chain: Chain | undefined;
|
24
|
-
localeId: LocaleId;
|
25
23
|
connectLocale: ConnectLocale;
|
26
24
|
}): import("react/jsx-runtime.js").JSX.Element;
|
27
25
|
export default InAppWalletConnectUI;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InAppWalletConnectUI.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/wallets/in-app/InAppWalletConnectUI.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAMvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;
|
1
|
+
{"version":3,"file":"InAppWalletConnectUI.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/wallets/in-app/InAppWalletConnectUI.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAMvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAS5E;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,KAAK,EAAE;IACnC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACxB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;IACzB,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B,CAAC;IACF,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;CAC9B,8CAqFA;AAED,eAAe,oBAAoB,CAAC"}
|
@@ -2,7 +2,6 @@ import type { Chain } from "../../../../chains/types.js";
|
|
2
2
|
import type { ThirdwebClient } from "../../../../client/client.js";
|
3
3
|
import type { Wallet } from "../../../../wallets/interfaces/wallet.js";
|
4
4
|
import type { ConnectLocale } from "../../ui/ConnectWallet/locale/types.js";
|
5
|
-
import type { LocaleId } from "../../ui/types.js";
|
6
5
|
/**
|
7
6
|
*
|
8
7
|
* @internal
|
@@ -16,7 +15,6 @@ declare function InAppWalletSelectionUI(props: {
|
|
16
15
|
client: ThirdwebClient;
|
17
16
|
recommendedWallets: Wallet[] | undefined;
|
18
17
|
chain: Chain | undefined;
|
19
|
-
localeId: LocaleId;
|
20
18
|
size: "compact" | "wide";
|
21
19
|
}): import("react/jsx-runtime.js").JSX.Element;
|
22
20
|
export default InAppWalletSelectionUI;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InAppWalletSelectionUI.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/wallets/in-app/InAppWalletSelectionUI.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAKvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;
|
1
|
+
{"version":3,"file":"InAppWalletSelectionUI.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/wallets/in-app/InAppWalletSelectionUI.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAKvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAK5E;;;GAGG;AACH,iBAAS,sBAAsB,CAAC,KAAK,EAAE;IACrC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACxB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAC;IACvB,kBAAkB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IACzC,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;CAC1B,8CA4CA;AAED,eAAe,sBAAsB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"formatNumber.d.ts","sourceRoot":"","sources":["../../../src/utils/formatNumber.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"formatNumber.d.ts","sourceRoot":"","sources":["../../../src/utils/formatNumber.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAKhE"}
|
package/dist/types/version.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "5.32.2
|
1
|
+
export declare const version = "5.32.2";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/package.json
CHANGED
package/src/gas/fee-data.ts
CHANGED
@@ -26,6 +26,11 @@ type FeeDataParams =
|
|
26
26
|
maxPriorityFeePerGas?: never;
|
27
27
|
};
|
28
28
|
|
29
|
+
// for these chains - always force pre eip1559 transactions
|
30
|
+
const FORCE_GAS_PRICE_CHAIN_IDS = [
|
31
|
+
78600, // vanguard
|
32
|
+
];
|
33
|
+
|
29
34
|
/**
|
30
35
|
*
|
31
36
|
* @internal
|
@@ -98,12 +103,15 @@ export async function getDefaultGasOverrides(
|
|
98
103
|
client: ThirdwebClient,
|
99
104
|
chain: Chain,
|
100
105
|
) {
|
101
|
-
|
102
|
-
if (
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
106
|
+
// if chain is in the force gas price list, always use gas price
|
107
|
+
if (!FORCE_GAS_PRICE_CHAIN_IDS.includes(chain.id)) {
|
108
|
+
const feeData = await getDynamicFeeData(client, chain);
|
109
|
+
if (feeData.maxFeePerGas && feeData.maxPriorityFeePerGas) {
|
110
|
+
return {
|
111
|
+
maxFeePerGas: feeData.maxFeePerGas,
|
112
|
+
maxPriorityFeePerGas: feeData.maxPriorityFeePerGas,
|
113
|
+
};
|
114
|
+
}
|
107
115
|
}
|
108
116
|
return {
|
109
117
|
gasPrice: await getGasPrice({ client, chain, percentMultiplier: 10 }),
|
@@ -11,8 +11,6 @@ import type { BaseTransactionOptions } from "../../transaction/types.js";
|
|
11
11
|
import { getClientFetch } from "../../utils/fetch.js";
|
12
12
|
import { getPayBuyWithCryptoQuoteEndpoint } from "../utils/definitions.js";
|
13
13
|
|
14
|
-
// TODO: add JSDoc description for all properties
|
15
|
-
|
16
14
|
/**
|
17
15
|
* The parameters for [`getBuyWithCryptoQuote`](https://portal.thirdweb.com/references/typescript/v5/getBuyWithCryptoQuote) function
|
18
16
|
* It includes information about which tokens to swap, the amount of tokens to swap, slippage, etc.
|
@@ -37,10 +35,15 @@ export type GetBuyWithCryptoQuoteParams = {
|
|
37
35
|
intentId?: string;
|
38
36
|
|
39
37
|
/**
|
40
|
-
* The address of
|
38
|
+
* The address of wallet that pays for the tokens.
|
41
39
|
*/
|
42
40
|
fromAddress: string;
|
43
41
|
|
42
|
+
/**
|
43
|
+
* The address of the wallet where the tokens are sent
|
44
|
+
*/
|
45
|
+
toAddress: string;
|
46
|
+
|
44
47
|
// source token
|
45
48
|
|
46
49
|
/**
|
@@ -246,6 +249,7 @@ export async function getBuyWithCryptoQuote(
|
|
246
249
|
},
|
247
250
|
body: JSON.stringify({
|
248
251
|
fromAddress: params.fromAddress,
|
252
|
+
toAddress: params.toAddress,
|
249
253
|
fromChainId: params.fromChainId.toString(),
|
250
254
|
fromTokenAddress: params.fromTokenAddress,
|
251
255
|
toChainId: params.toChainId.toString(),
|
@@ -67,7 +67,12 @@ export async function getPostOnRampQuote({
|
|
67
67
|
return getBuyWithCryptoQuote({
|
68
68
|
client,
|
69
69
|
intentId: buyWithFiatStatus.intentId,
|
70
|
+
// setting the fromAddress and toAddress same - because post onramp swap can only be done if payer wallet is same as the receiver wallet
|
71
|
+
// TODO: in future - if fromAddress and toAddress are different, we will onramp to payer wallet and then swap to receiver wallet
|
72
|
+
// fiat endpoint should assume this flow and return the quote/status/history accordingly
|
73
|
+
// but for now - we will just not allow doing a fiat flow in Pay UI if payer and receiver wallets are different + requires a swap
|
70
74
|
fromAddress: buyWithFiatStatus.toAddress,
|
75
|
+
toAddress: buyWithFiatStatus.toAddress,
|
71
76
|
fromChainId: buyWithFiatStatus.quote.onRampToken.chainId,
|
72
77
|
fromTokenAddress: buyWithFiatStatus.quote.onRampToken.tokenAddress,
|
73
78
|
toChainId: buyWithFiatStatus.quote.toToken.chainId,
|
@@ -143,6 +143,10 @@ export type BuyWithFiatQuote = {
|
|
143
143
|
* Address of the wallet to which the tokens will be sent.
|
144
144
|
*/
|
145
145
|
toAddress: string;
|
146
|
+
/**
|
147
|
+
* Address of the wallet used for buying the token.
|
148
|
+
*/
|
149
|
+
fromAddress: string;
|
146
150
|
/**
|
147
151
|
* The maximum slippage in basis points (bps) allowed for the transaction.
|
148
152
|
*/
|
@@ -66,10 +66,12 @@ export function useSiweAuth(
|
|
66
66
|
}
|
67
67
|
return authOptions.isLoggedIn(activeAccount.address);
|
68
68
|
},
|
69
|
+
placeholderData: false,
|
69
70
|
refetchOnWindowFocus: false,
|
70
71
|
});
|
71
72
|
|
72
73
|
const loginMutation = useMutation({
|
74
|
+
mutationKey: ["siwe_auth", "login"],
|
73
75
|
mutationFn: async () => {
|
74
76
|
if (!authOptions) {
|
75
77
|
throw new Error("No auth options provided");
|
@@ -109,6 +111,7 @@ export function useSiweAuth(
|
|
109
111
|
});
|
110
112
|
|
111
113
|
const logoutMutation = useMutation({
|
114
|
+
mutationKey: ["siwe_auth", "logout"],
|
112
115
|
mutationFn: async () => {
|
113
116
|
if (!authOptions) {
|
114
117
|
throw new Error("No auth options provided");
|
@@ -137,6 +140,6 @@ export function useSiweAuth(
|
|
137
140
|
|
138
141
|
// checking if logged in
|
139
142
|
isLoggedIn: isLoggedInQuery.data,
|
140
|
-
isLoading: isLoggedInQuery.
|
143
|
+
isLoading: isLoggedInQuery.isFetching,
|
141
144
|
};
|
142
145
|
}
|
@@ -15,7 +15,7 @@ export function Header({
|
|
15
15
|
containerType,
|
16
16
|
}: {
|
17
17
|
theme: Theme;
|
18
|
-
title
|
18
|
+
title: string;
|
19
19
|
onClose?: () => void;
|
20
20
|
onBack?: () => void;
|
21
21
|
containerType: ContainerType;
|
@@ -57,7 +57,7 @@ export function Header({
|
|
57
57
|
</TouchableOpacity>
|
58
58
|
)}
|
59
59
|
<ThemedText theme={theme} type="title">
|
60
|
-
{title
|
60
|
+
{title}
|
61
61
|
</ThemedText>
|
62
62
|
{onClose && (
|
63
63
|
<TouchableOpacity onPress={onClose}>
|
@@ -60,7 +60,12 @@ export function ThemedButtonWithIcon(
|
|
60
60
|
width: "100%",
|
61
61
|
}}
|
62
62
|
>
|
63
|
-
<RNImage
|
63
|
+
<RNImage
|
64
|
+
theme={theme}
|
65
|
+
size={24}
|
66
|
+
data={icon}
|
67
|
+
color={theme.colors.accentButtonBg}
|
68
|
+
/>
|
64
69
|
<ThemedText theme={theme}>{title}</ThemedText>
|
65
70
|
</View>
|
66
71
|
</ThemedButton>
|
@@ -107,7 +107,7 @@ export function ConnectButton(props: ConnectButtonProps) {
|
|
107
107
|
type="defaultSemiBold"
|
108
108
|
style={{ color: theme.colors.primaryButtonText }}
|
109
109
|
>
|
110
|
-
Connect Wallet
|
110
|
+
{props.connectButton?.label || "Connect Wallet"}
|
111
111
|
</ThemedText>
|
112
112
|
)}
|
113
113
|
</ThemedButton>
|