@funkit/connect 0.1.7 → 0.1.9
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/{chunk-X5YTL45L.js → chunk-6NU6GSSJ.js} +6988 -6584
- package/dist/{chunk-3A7E2IPT.js → chunk-W7RO4DCA.js} +33 -14
- package/dist/{chunk-PKSFBURG.js → chunk-ZKI6VFDD.js} +24 -5
- package/dist/components/index.css +861 -341
- package/dist/components/index.js +3 -2
- package/dist/index.css +848 -328
- package/dist/index.js +65 -118
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.js +1 -1
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/{chunk-4TBAMXD2.js → chunk-237HEA4B.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-7Q7X4HIR.js → chunk-3YVOYNPH.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-4HP4HVWX.js → chunk-74BR2RAM.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-C6BBHBY3.js → chunk-7HTS7H5B.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-TM5A4D5D.js → chunk-D76EMZT2.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-WPGD3FGN.js → chunk-EBNKDT5H.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-TFHNF64Z.js → chunk-ECNJY6H5.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-EUSM6MRB.js +158 -0
- package/dist/wallets/walletConnectors/{chunk-WCZ37NN2.js → chunk-IVIQBLOK.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-VDUTD5UR.js → chunk-JARWK7S5.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-PVTJW4KE.js → chunk-JC5DQVHX.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-QVJQ2MU7.js → chunk-JVF24YQM.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-T2DNUVKD.js → chunk-K4AO45B3.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-EINKDQQW.js → chunk-KGIRU665.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-JU27WJ7W.js → chunk-M5VGZ2QW.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-32KC4FTG.js → chunk-NJGDUFM2.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-C3X4W5P4.js → chunk-OH3HGTQV.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-K342MEBF.js → chunk-PATI3A3F.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-HHEZNZRR.js → chunk-RLZP75FI.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-HKBLG5YG.js → chunk-W4DY35PZ.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-M4KIVTE3.js → chunk-WXWQQHAQ.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-CESIYSTD.js → chunk-YJR5S7NP.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-RMJYZWKN.js → chunk-ZGVEVXA7.js} +1 -1
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +57 -57
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.js +2 -2
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +9 -6
- package/dist/__private__/index.d.ts +0 -8
- package/dist/chunk-VVHY6TFA.js +0 -24443
- package/dist/components/AccountModal/AccountModal.d.ts +0 -6
- package/dist/components/AsyncImage/AsyncImage.d.ts +0 -19
- package/dist/components/AsyncImage/useAsyncImage.d.ts +0 -3
- package/dist/components/Avatar/Avatar.d.ts +0 -9
- package/dist/components/Avatar/EmojiAvatar.d.ts +0 -2
- package/dist/components/Avatar/emojiAvatarForAddress.d.ts +0 -106
- package/dist/components/Box/Box.d.ts +0 -82
- package/dist/components/Button/ActionButton.d.ts +0 -14
- package/dist/components/ChainModal/ChainModal.css.d.ts +0 -2
- package/dist/components/ChainModal/ChainModal.d.ts +0 -6
- package/dist/components/CloseButton/CloseButton.d.ts +0 -5
- package/dist/components/ConnectButton/ConnectButton.d.ts +0 -28
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +0 -39
- package/dist/components/ConnectButton/abbreviateETHBalance.d.ts +0 -2
- package/dist/components/ConnectButton/formatAddress.d.ts +0 -1
- package/dist/components/ConnectButton/formatENS.d.ts +0 -1
- package/dist/components/ConnectModal/ConnectModalIntro.d.ts +0 -5
- package/dist/components/ConnectOptions/ConnectDetails.d.ts +0 -36
- package/dist/components/ConnectOptions/DesktopOptions.css.d.ts +0 -4
- package/dist/components/ConnectOptions/DesktopOptions.d.ts +0 -15
- package/dist/components/ConnectOptions/FunConnectOptions.d.ts +0 -11
- package/dist/components/ConnectOptions/MobileOptions.css.d.ts +0 -1
- package/dist/components/ConnectOptions/MobileOptions.d.ts +0 -4
- package/dist/components/Dialog/Dialog.css.d.ts +0 -5
- package/dist/components/Dialog/Dialog.d.ts +0 -12
- package/dist/components/Dialog/DialogContent.css.d.ts +0 -6
- package/dist/components/Dialog/DialogContent.d.ts +0 -12
- package/dist/components/Dialog/FocusTrap.d.ts +0 -2
- package/dist/components/Disclaimer/DisclaimerLink.d.ts +0 -5
- package/dist/components/Disclaimer/DisclaimerText.d.ts +0 -4
- package/dist/components/FunButton/FunBackButton.d.ts +0 -4
- package/dist/components/FunButton/FunButton.css.d.ts +0 -3
- package/dist/components/FunButton/FunButton.d.ts +0 -17
- package/dist/components/FunButton/FunIconButton.d.ts +0 -16
- package/dist/components/FunButton/FunLinkButton.d.ts +0 -8
- package/dist/components/FunButton/FunViewTxButton.d.ts +0 -4
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +0 -7
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +0 -8
- package/dist/components/FunCheckoutModal/FunCheckoutConfirmation.css.d.ts +0 -7
- package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +0 -9
- package/dist/components/FunCheckoutModal/FunCheckoutModal.d.ts +0 -15
- package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +0 -9
- package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.css.d.ts +0 -7
- package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +0 -12
- package/dist/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +0 -6
- package/dist/components/FunConfirmDialog/FunConfirmDialog.d.ts +0 -12
- package/dist/components/FunConnectModal/FunConnectModal.d.ts +0 -6
- package/dist/components/FunContainer/FunContainer.d.ts +0 -11
- package/dist/components/FunDevTestModal/FunDevTestModal.d.ts +0 -6
- package/dist/components/FunDivider/FunDivider.d.ts +0 -6
- package/dist/components/FunInput/FunInput.d.ts +0 -29
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +0 -24
- package/dist/components/FunMeshTwoFactorStep/FunMeshTwoFactorStep.d.ts +0 -9
- package/dist/components/FunModalTitleSection/FunModalTitleSection.css.d.ts +0 -7
- package/dist/components/FunModalTitleSection/FunModalTitleSection.d.ts +0 -12
- package/dist/components/FunNotification/FunCheckoutNotification.d.ts +0 -6
- package/dist/components/FunNotification/FunNotification.d.ts +0 -12
- package/dist/components/FunOnramp/FunOnramp.css.d.ts +0 -7
- package/dist/components/FunOnramp/FunOnrampConfirmation.css.d.ts +0 -7
- package/dist/components/FunOnramp/FunOnrampConfirmationStep.d.ts +0 -17
- package/dist/components/FunOnramp/FunOnrampInputStep.d.ts +0 -8
- package/dist/components/FunOnramp/FunOnrampPrimaryItem.d.ts +0 -5
- package/dist/components/FunOnramp/FunOnrampProcessingStep.d.ts +0 -6
- package/dist/components/FunPayments/FunPaymentMeshType.css.d.ts +0 -7
- package/dist/components/FunPayments/FunPaymentMeshType.d.ts +0 -10
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +0 -52
- package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +0 -10
- package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +0 -13
- package/dist/components/FunPayments/FunPaymentSetup.d.ts +0 -18
- package/dist/components/FunPayments/FunPaymentTransferType.css.d.ts +0 -7
- package/dist/components/FunPayments/FunPaymentTransferType.d.ts +0 -6
- package/dist/components/FunPayments/FunPayments.css.d.ts +0 -7
- package/dist/components/FunProgressBar/FunHorizontalStepper.d.ts +0 -7
- package/dist/components/FunProgressBar/FunProgressBar.d.ts +0 -6
- package/dist/components/FunProgressBar/FunVerticalProgressBar.d.ts +0 -14
- package/dist/components/FunSelect/FunClickOutside.d.ts +0 -8
- package/dist/components/FunSelect/FunSelect.d.ts +0 -24
- package/dist/components/FunSignInFlow/FunSignInStep.css.d.ts +0 -2
- package/dist/components/FunSignInFlow/FunSignInStep.d.ts +0 -14
- package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.css.d.ts +0 -7
- package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.d.ts +0 -9
- package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.css.d.ts +0 -7
- package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.d.ts +0 -9
- package/dist/components/FunStates/FunErrorContent.d.ts +0 -10
- package/dist/components/FunTermsAndConditionsTextButton/FunTermsAndConditionsTextButton.d.ts +0 -2
- package/dist/components/FunToast/FunShortToast.css.d.ts +0 -10
- package/dist/components/FunToast/FunShortToast.d.ts +0 -3
- package/dist/components/FunToast/FunToast.d.ts +0 -18
- package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +0 -12
- package/dist/components/FunkitProvider/AppContext.d.ts +0 -25
- package/dist/components/FunkitProvider/AuthenticationContext.d.ts +0 -35
- package/dist/components/FunkitProvider/AvatarContext.d.ts +0 -9
- package/dist/components/FunkitProvider/CoolModeContext.d.ts +0 -2
- package/dist/components/FunkitProvider/FunToastContext.d.ts +0 -11
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +0 -130
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +0 -13
- package/dist/components/FunkitProvider/FunkitProvider.d.ts +0 -37
- package/dist/components/FunkitProvider/FunkitWalletProvider.d.ts +0 -17
- package/dist/components/FunkitProvider/I18nContext.d.ts +0 -9
- package/dist/components/FunkitProvider/ModalContext.d.ts +0 -41
- package/dist/components/FunkitProvider/ModalSizeContext.d.ts +0 -7
- package/dist/components/FunkitProvider/RainbowKitChainContext.d.ts +0 -19
- package/dist/components/FunkitProvider/ShowRecentTransactionsContext.d.ts +0 -2
- package/dist/components/FunkitProvider/provideRainbowKitChains.d.ts +0 -3
- package/dist/components/FunkitProvider/useCoolMode.d.ts +0 -2
- package/dist/components/FunkitProvider/useFingerprint.d.ts +0 -1
- package/dist/components/FunkitProvider/usePreloadImages.d.ts +0 -1
- package/dist/components/FunkitProvider/walletConnectDeepLink.d.ts +0 -5
- package/dist/components/FunkitWeb2Provider/FunkitWeb2Provider.d.ts +0 -58
- package/dist/components/Icons/AcornsIcon.d.ts +0 -2
- package/dist/components/Icons/AlpacaIcon.d.ts +0 -2
- package/dist/components/Icons/Assets.d.ts +0 -3
- package/dist/components/Icons/Back.d.ts +0 -2
- package/dist/components/Icons/BinanceIcon.d.ts +0 -2
- package/dist/components/Icons/BitFlyerIcon.d.ts +0 -2
- package/dist/components/Icons/BitstampIcon.d.ts +0 -2
- package/dist/components/Icons/BridgeIcon.d.ts +0 -2
- package/dist/components/Icons/BybitIcon.d.ts +0 -2
- package/dist/components/Icons/Cancel.d.ts +0 -2
- package/dist/components/Icons/CexloIcon.d.ts +0 -2
- package/dist/components/Icons/ClockIcon.d.ts +0 -2
- package/dist/components/Icons/Close.d.ts +0 -2
- package/dist/components/Icons/Coinbase.d.ts +0 -2
- package/dist/components/Icons/CoinlistIcon.d.ts +0 -2
- package/dist/components/Icons/Connect.d.ts +0 -3
- package/dist/components/Icons/Copied.d.ts +0 -2
- package/dist/components/Icons/Copy.d.ts +0 -2
- package/dist/components/Icons/Create.d.ts +0 -3
- package/dist/components/Icons/CreditCardDots.d.ts +0 -2
- package/dist/components/Icons/CryptoComIcon.d.ts +0 -2
- package/dist/components/Icons/Disconnect.d.ts +0 -2
- package/dist/components/Icons/DisconnectSq.d.ts +0 -4
- package/dist/components/Icons/Dropdown.d.ts +0 -2
- package/dist/components/Icons/EthereumIcon.d.ts +0 -2
- package/dist/components/Icons/EtoroIcon.d.ts +0 -2
- package/dist/components/Icons/EtradeIcon.d.ts +0 -2
- package/dist/components/Icons/Explore.d.ts +0 -2
- package/dist/components/Icons/ExternalLink.d.ts +0 -2
- package/dist/components/Icons/FunArrows.d.ts +0 -5
- package/dist/components/Icons/FunBackIcon.d.ts +0 -2
- package/dist/components/Icons/GateIo.d.ts +0 -2
- package/dist/components/Icons/GeminiIcon.d.ts +0 -2
- package/dist/components/Icons/HuobiIcon.d.ts +0 -2
- package/dist/components/Icons/Icons.css.d.ts +0 -3
- package/dist/components/Icons/Info.d.ts +0 -3
- package/dist/components/Icons/KrakenIcon.d.ts +0 -2
- package/dist/components/Icons/KucoinIcon.d.ts +0 -2
- package/dist/components/Icons/LightningIcon.d.ts +0 -2
- package/dist/components/Icons/LinkIcon.d.ts +0 -2
- package/dist/components/Icons/Login.d.ts +0 -3
- package/dist/components/Icons/LogoutIcon.d.ts +0 -2
- package/dist/components/Icons/MastercardIcon.d.ts +0 -2
- package/dist/components/Icons/MmFox.d.ts +0 -2
- package/dist/components/Icons/NoAssetsFoundIcon.d.ts +0 -4
- package/dist/components/Icons/OkcoinIcon.d.ts +0 -2
- package/dist/components/Icons/OkxIcon.d.ts +0 -2
- package/dist/components/Icons/PasskeyIcon.d.ts +0 -2
- package/dist/components/Icons/PaymentMethodIcons.d.ts +0 -5
- package/dist/components/Icons/PlusIcon.d.ts +0 -2
- package/dist/components/Icons/ProfileIcon.d.ts +0 -2
- package/dist/components/Icons/PublicIcon.d.ts +0 -2
- package/dist/components/Icons/ReceiptIcon.d.ts +0 -2
- package/dist/components/Icons/Refresh.d.ts +0 -3
- package/dist/components/Icons/RobinhoodIcon.d.ts +0 -2
- package/dist/components/Icons/Scan.d.ts +0 -3
- package/dist/components/Icons/SearchIcon.d.ts +0 -4
- package/dist/components/Icons/SettingsIcon.d.ts +0 -2
- package/dist/components/Icons/SocialMediaIcons.d.ts +0 -4
- package/dist/components/Icons/Spinner.d.ts +0 -5
- package/dist/components/Icons/StEthIcon.d.ts +0 -2
- package/dist/components/Icons/StashIcon.d.ts +0 -2
- package/dist/components/Icons/Success.d.ts +0 -2
- package/dist/components/Icons/SuccessNoBorder.d.ts +0 -2
- package/dist/components/Icons/SwapIcon.d.ts +0 -2
- package/dist/components/Icons/SwitchAccount.d.ts +0 -2
- package/dist/components/Icons/TransferIcon.d.ts +0 -2
- package/dist/components/Icons/USDCIcon.d.ts +0 -2
- package/dist/components/Icons/WalletIcon.d.ts +0 -3
- package/dist/components/Icons/WeBullIcon.d.ts +0 -2
- package/dist/components/Icons/WhiteDotIcon.d.ts +0 -2
- package/dist/components/InfoButton/InfoButton.d.ts +0 -5
- package/dist/components/MenuButton/MenuButton.css.d.ts +0 -1
- package/dist/components/MenuButton/MenuButton.d.ts +0 -9
- package/dist/components/ModalSelection/ModalSelection.css.d.ts +0 -1
- package/dist/components/ModalSelection/ModalSelection.d.ts +0 -17
- package/dist/components/ProfileDetails/EoaProfileDetails.d.ts +0 -15
- package/dist/components/ProfileDetails/FunWalletProfileDetails.d.ts +0 -19
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.css.d.ts +0 -7
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.d.ts +0 -5
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWBridge.d.ts +0 -9
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWDeposit.d.ts +0 -11
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHome.css.d.ts +0 -17
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeCheckoutSection.d.ts +0 -4
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeTokenDisplayRow.d.ts +0 -4
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/index.d.ts +0 -6
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.css.d.ts +0 -7
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.d.ts +0 -10
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSwap.d.ts +0 -5
- package/dist/components/ProfileDetails/FunWalletProfileViews/FunArrowItem.d.ts +0 -4
- package/dist/components/ProfileDetails/FunWalletProfileViews/FunSelectionSection.d.ts +0 -11
- package/dist/components/ProfileDetails/ProfileDetailsAction.d.ts +0 -10
- package/dist/components/QRCode/QRCode.d.ts +0 -13
- package/dist/components/SignIn/SignIn.d.ts +0 -5
- package/dist/components/SkeletalLoader/SkeletalLoader.css.d.ts +0 -1
- package/dist/components/SkeletalLoader/SkeletalLoader.d.ts +0 -2
- package/dist/components/Text/Text.d.ts +0 -18
- package/dist/components/TwoFaInputField/FunTwoFaInput.d.ts +0 -10
- package/dist/components/Txs/TxItem.d.ts +0 -7
- package/dist/components/Txs/TxList.d.ts +0 -7
- package/dist/components/Txs/Txs.css.d.ts +0 -2
- package/dist/components/index.d.ts +0 -4
- package/dist/consts/funkit.d.ts +0 -7
- package/dist/css/animations.css.d.ts +0 -9
- package/dist/css/atoms.d.ts +0 -6
- package/dist/css/cssObjectFromTheme.d.ts +0 -6
- package/dist/css/cssStringFromTheme.d.ts +0 -4
- package/dist/css/reset.css.d.ts +0 -14
- package/dist/css/sprinkles.css.d.ts +0 -2798
- package/dist/css/touchableStyles.css.d.ts +0 -4
- package/dist/css/touchableStyles.d.ts +0 -8
- package/dist/hooks/useChainId.d.ts +0 -1
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +0 -31
- package/dist/hooks/useCheckoutStateBooleans.d.ts +0 -9
- package/dist/hooks/useConnectionStatus.d.ts +0 -7
- package/dist/hooks/useDebouncedCallback.d.ts +0 -1
- package/dist/hooks/useFunListeners.d.ts +0 -8
- package/dist/hooks/useIsMounted.d.ts +0 -1
- package/dist/hooks/useMainnet.d.ts +0 -4
- package/dist/hooks/useMainnetEnsAvatar.d.ts +0 -1
- package/dist/hooks/useMainnetEnsName.d.ts +0 -1
- package/dist/hooks/useMesh.d.ts +0 -25
- package/dist/hooks/useSymbolRefresh.d.ts +0 -7
- package/dist/hooks/useWindowSize.d.ts +0 -4
- package/dist/index.d.ts +0 -19
- package/dist/locales/index.d.ts +0 -3
- package/dist/themes/baseTheme.d.ts +0 -25
- package/dist/themes/darkTheme.d.ts +0 -65
- package/dist/themes/lightTheme.d.ts +0 -65
- package/dist/transactions/TransactionStoreContext.d.ts +0 -151
- package/dist/transactions/transactionStore.d.ts +0 -21
- package/dist/transactions/useAddRecentTransaction.d.ts +0 -2
- package/dist/transactions/useClearRecentTransactions.d.ts +0 -1
- package/dist/transactions/useRecentTransactions.d.ts +0 -2
- package/dist/types.d.ts +0 -4
- package/dist/utils/browsers.d.ts +0 -13
- package/dist/utils/chainToExplorerUrl.d.ts +0 -2
- package/dist/utils/checkout.d.ts +0 -94
- package/dist/utils/colors.d.ts +0 -3
- package/dist/utils/emailandPhoneValidator.d.ts +0 -5
- package/dist/utils/flatten.d.ts +0 -1
- package/dist/utils/formatNumber.d.ts +0 -53
- package/dist/utils/formatTimestamp.d.ts +0 -1
- package/dist/utils/funwallet.d.ts +0 -1
- package/dist/utils/getWalletConnectUri.d.ts +0 -2
- package/dist/utils/groupBy.d.ts +0 -1
- package/dist/utils/indexBy.d.ts +0 -1
- package/dist/utils/isMobile.d.ts +0 -5
- package/dist/utils/isNotNullish.d.ts +0 -1
- package/dist/utils/locale.d.ts +0 -1
- package/dist/utils/mesh.d.ts +0 -53
- package/dist/utils/miniAbi/balanceOf.d.ts +0 -16
- package/dist/utils/moonpay.d.ts +0 -1
- package/dist/utils/omitUndefinedValues.d.ts +0 -1
- package/dist/utils/platforms.d.ts +0 -10
- package/dist/wallets/Wallet.d.ts +0 -86
- package/dist/wallets/connectorsForWallets.d.ts +0 -2
- package/dist/wallets/downloadUrls.d.ts +0 -4
- package/dist/wallets/getDefaultWallets.d.ts +0 -11
- package/dist/wallets/getInjectedConnector.d.ts +0 -10
- package/dist/wallets/getWalletConnectConnector.d.ts +0 -26
- package/dist/wallets/recentWalletIds.d.ts +0 -2
- package/dist/wallets/useWalletConnectors.d.ts +0 -13
- package/dist/wallets/walletConnectors/@funkitConnectWallet/funkitConnectWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +0 -16
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +0 -18
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +0 -39
- package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/chunk-2T3BP5YM.js +0 -71
- package/dist/wallets/walletConnectors/chunk-3JTRMKJN.js +0 -71
- package/dist/wallets/walletConnectors/chunk-4ACOCJJZ.js +0 -54
- package/dist/wallets/walletConnectors/chunk-4AGSKVK4.js +0 -105
- package/dist/wallets/walletConnectors/chunk-4VG2VEG2.js +0 -114
- package/dist/wallets/walletConnectors/chunk-6GAD4OSN.js +0 -102
- package/dist/wallets/walletConnectors/chunk-BZWTTESU.js +0 -110
- package/dist/wallets/walletConnectors/chunk-DINSZSEC.js +0 -71
- package/dist/wallets/walletConnectors/chunk-DTCZLIMY.js +0 -112
- package/dist/wallets/walletConnectors/chunk-LU3HYLHT.js +0 -117
- package/dist/wallets/walletConnectors/chunk-MPVMJW2X.js +0 -113
- package/dist/wallets/walletConnectors/chunk-RAKDFYVF.js +0 -81
- package/dist/wallets/walletConnectors/chunk-TTTMI2Z2.js +0 -84
- package/dist/wallets/walletConnectors/chunk-UM7QXLQE.js +0 -226
- package/dist/wallets/walletConnectors/chunk-Z47L7SO3.js +0 -52
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +0 -15
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +0 -22
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +0 -24
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.d.ts +0 -16
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +0 -11
- package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +0 -22
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +0 -16
- package/dist/wallets/walletConnectors/index.d.ts +0 -41
- package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +0 -16
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +0 -17
- package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +0 -16
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +0 -17
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +0 -16
- package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +0 -11
- package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +0 -17
- package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +0 -12
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +0 -22
- package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +0 -16
- package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +0 -12
- package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +0 -12
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.d.ts +0 -17
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +0 -22
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +0 -16
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +0 -16
- package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +0 -12
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +0 -17
package/dist/index.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
lightTheme
|
|
4
|
-
} from "./chunk-3A7E2IPT.js";
|
|
5
2
|
import {
|
|
6
3
|
ActionButton,
|
|
7
|
-
AppContext,
|
|
8
4
|
AsyncImage,
|
|
9
5
|
Box,
|
|
10
6
|
CloseButton,
|
|
@@ -23,59 +19,39 @@ import {
|
|
|
23
19
|
dialogContentMobile,
|
|
24
20
|
isAndroid,
|
|
25
21
|
isIOS,
|
|
22
|
+
logger,
|
|
26
23
|
setWalletConnectDeepLink,
|
|
27
24
|
touchableStyles,
|
|
28
25
|
useAccountModal,
|
|
29
|
-
|
|
26
|
+
useActiveTheme,
|
|
30
27
|
useChainModal,
|
|
31
28
|
useConnectModal,
|
|
32
29
|
useCoolMode,
|
|
30
|
+
useFunCheckoutHistoryModal,
|
|
31
|
+
useFunCheckoutModal,
|
|
33
32
|
useFunkitCheckout,
|
|
34
|
-
useTransactionStore,
|
|
35
33
|
useWalletConnectors
|
|
36
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6NU6GSSJ.js";
|
|
37
35
|
import {
|
|
38
36
|
darkTheme
|
|
39
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-ZKI6VFDD.js";
|
|
38
|
+
import {
|
|
39
|
+
lightTheme
|
|
40
|
+
} from "./chunk-W7RO4DCA.js";
|
|
40
41
|
import "./chunk-VP4CAK4A.js";
|
|
41
42
|
|
|
42
43
|
// src/components/ConnectOptions/MobileOptions.tsx
|
|
43
|
-
import
|
|
44
|
-
|
|
45
|
-
// src/components/Disclaimer/DisclaimerLink.tsx
|
|
46
|
-
import React from "react";
|
|
47
|
-
var DisclaimerLink = ({
|
|
48
|
-
children,
|
|
49
|
-
href
|
|
50
|
-
}) => {
|
|
51
|
-
return /* @__PURE__ */ React.createElement(Box, {
|
|
52
|
-
as: "a",
|
|
53
|
-
color: "accentColor",
|
|
54
|
-
href,
|
|
55
|
-
rel: "noreferrer",
|
|
56
|
-
target: "_blank"
|
|
57
|
-
}, children);
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
// src/components/Disclaimer/DisclaimerText.tsx
|
|
61
|
-
import React2 from "react";
|
|
62
|
-
var DisclaimerText = ({ children }) => {
|
|
63
|
-
return /* @__PURE__ */ React2.createElement(Text, {
|
|
64
|
-
color: "modalTextSecondary",
|
|
65
|
-
size: "12",
|
|
66
|
-
weight: "medium"
|
|
67
|
-
}, children);
|
|
68
|
-
};
|
|
44
|
+
import React2, { useCallback, useContext, useState } from "react";
|
|
69
45
|
|
|
70
46
|
// src/components/Icons/Back.tsx
|
|
71
|
-
import
|
|
72
|
-
var BackIcon = () => /* @__PURE__ */
|
|
47
|
+
import React from "react";
|
|
48
|
+
var BackIcon = () => /* @__PURE__ */ React.createElement("svg", {
|
|
73
49
|
fill: "none",
|
|
74
50
|
height: "17",
|
|
75
51
|
viewBox: "0 0 11 17",
|
|
76
52
|
width: "11",
|
|
77
53
|
xmlns: "http://www.w3.org/2000/svg"
|
|
78
|
-
}, /* @__PURE__ */
|
|
54
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
79
55
|
d: "M0.99707 8.6543C0.99707 9.08496 1.15527 9.44531 1.51562 9.79688L8.16016 16.3096C8.43262 16.5732 8.74902 16.7051 9.13574 16.7051C9.90918 16.7051 10.5508 16.0811 10.5508 15.3076C10.5508 14.9121 10.3838 14.5605 10.0938 14.2705L4.30176 8.64551L10.0938 3.0293C10.3838 2.74805 10.5508 2.3877 10.5508 2.00098C10.5508 1.23633 9.90918 0.603516 9.13574 0.603516C8.74902 0.603516 8.43262 0.735352 8.16016 0.999023L1.51562 7.51172C1.15527 7.85449 1.00586 8.21484 0.99707 8.6543Z",
|
|
80
56
|
fill: "currentColor"
|
|
81
57
|
}));
|
|
@@ -103,7 +79,7 @@ function WalletButton({
|
|
|
103
79
|
const getMobileUri = mobile?.getUri;
|
|
104
80
|
const coolModeRef = useCoolMode(iconUrl);
|
|
105
81
|
const i18n = useContext(I18nContext);
|
|
106
|
-
return /* @__PURE__ */
|
|
82
|
+
return /* @__PURE__ */ React2.createElement(Box, {
|
|
107
83
|
as: "button",
|
|
108
84
|
color: ready ? "modalText" : "modalTextSecondary",
|
|
109
85
|
disabled: !ready,
|
|
@@ -142,34 +118,34 @@ function WalletButton({
|
|
|
142
118
|
testId: `wallet-option-${id}`,
|
|
143
119
|
type: "button",
|
|
144
120
|
width: "full"
|
|
145
|
-
}, /* @__PURE__ */
|
|
121
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
146
122
|
alignItems: "center",
|
|
147
123
|
display: "flex",
|
|
148
124
|
flexDirection: "column",
|
|
149
125
|
justifyContent: "center"
|
|
150
|
-
}, /* @__PURE__ */
|
|
126
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
151
127
|
paddingBottom: "8",
|
|
152
128
|
paddingTop: "10"
|
|
153
|
-
}, /* @__PURE__ */
|
|
129
|
+
}, /* @__PURE__ */ React2.createElement(AsyncImage, {
|
|
154
130
|
background: iconBackground,
|
|
155
131
|
borderRadius: "13",
|
|
156
132
|
boxShadow: "walletLogo",
|
|
157
133
|
height: "60",
|
|
158
134
|
src: iconUrl,
|
|
159
135
|
width: "60"
|
|
160
|
-
})), /* @__PURE__ */
|
|
136
|
+
})), /* @__PURE__ */ React2.createElement(Box, {
|
|
161
137
|
display: "flex",
|
|
162
138
|
flexDirection: "column",
|
|
163
139
|
textAlign: "center"
|
|
164
|
-
}, /* @__PURE__ */
|
|
140
|
+
}, /* @__PURE__ */ React2.createElement(Text, {
|
|
165
141
|
as: "h2",
|
|
166
142
|
color: wallet.ready ? "modalText" : "modalTextSecondary",
|
|
167
143
|
size: "13",
|
|
168
144
|
weight: "medium"
|
|
169
|
-
}, /* @__PURE__ */
|
|
145
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
170
146
|
as: "span",
|
|
171
147
|
position: "relative"
|
|
172
|
-
}, shortName ?? name, !wallet.ready && " (unsupported)")), wallet.recent && /* @__PURE__ */
|
|
148
|
+
}, shortName ?? name, !wallet.ready && " (unsupported)")), wallet.recent && /* @__PURE__ */ React2.createElement(Text, {
|
|
173
149
|
color: "accentColor",
|
|
174
150
|
size: "12",
|
|
175
151
|
weight: "medium"
|
|
@@ -178,7 +154,6 @@ function WalletButton({
|
|
|
178
154
|
function MobileOptions({ onClose }) {
|
|
179
155
|
const titleId = "rk_connect_title";
|
|
180
156
|
const wallets = useWalletConnectors();
|
|
181
|
-
const { disclaimer: Disclaimer, learnMoreUrl } = useContext(AppContext);
|
|
182
157
|
let headerLabel = null;
|
|
183
158
|
let walletContent = null;
|
|
184
159
|
let headerBackgroundContrast = false;
|
|
@@ -192,74 +167,62 @@ function MobileOptions({ onClose }) {
|
|
|
192
167
|
case "CONNECT" /* Connect */: {
|
|
193
168
|
headerLabel = i18n.t("connect.title");
|
|
194
169
|
headerBackgroundContrast = true;
|
|
195
|
-
walletContent = /* @__PURE__ */
|
|
170
|
+
walletContent = /* @__PURE__ */ React2.createElement(Box, null, /* @__PURE__ */ React2.createElement(Box, {
|
|
196
171
|
background: "profileForeground",
|
|
197
172
|
className: scroll,
|
|
198
173
|
display: "flex",
|
|
199
174
|
paddingBottom: "20",
|
|
200
175
|
paddingTop: "6"
|
|
201
|
-
}, /* @__PURE__ */
|
|
176
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
202
177
|
display: "flex",
|
|
203
178
|
style: { margin: "0 auto" }
|
|
204
179
|
}, wallets.filter((wallet) => wallet.ready).map((wallet) => {
|
|
205
|
-
return /* @__PURE__ */
|
|
180
|
+
return /* @__PURE__ */ React2.createElement(Box, {
|
|
206
181
|
key: wallet.id,
|
|
207
182
|
paddingX: "20"
|
|
208
|
-
}, /* @__PURE__ */
|
|
183
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
209
184
|
width: "60"
|
|
210
|
-
}, /* @__PURE__ */
|
|
185
|
+
}, /* @__PURE__ */ React2.createElement(WalletButton, {
|
|
211
186
|
onClose,
|
|
212
187
|
wallet
|
|
213
188
|
})));
|
|
214
|
-
}))), /* @__PURE__ */
|
|
189
|
+
}))), /* @__PURE__ */ React2.createElement(Box, {
|
|
215
190
|
background: "generalBorder",
|
|
216
191
|
height: "1",
|
|
217
192
|
marginBottom: "32",
|
|
218
193
|
marginTop: "-1"
|
|
219
|
-
}), /* @__PURE__ */
|
|
194
|
+
}), /* @__PURE__ */ React2.createElement(Box, {
|
|
220
195
|
alignItems: "center",
|
|
221
196
|
display: "flex",
|
|
222
197
|
flexDirection: "column",
|
|
223
198
|
gap: "32",
|
|
224
199
|
paddingX: "32",
|
|
225
200
|
style: { textAlign: "center" }
|
|
226
|
-
}, /* @__PURE__ */
|
|
201
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
227
202
|
display: "flex",
|
|
228
203
|
flexDirection: "column",
|
|
229
204
|
gap: "8",
|
|
230
205
|
textAlign: "center"
|
|
231
|
-
}, /* @__PURE__ */
|
|
206
|
+
}, /* @__PURE__ */ React2.createElement(Text, {
|
|
232
207
|
color: "modalText",
|
|
233
208
|
size: "16",
|
|
234
209
|
weight: "bold"
|
|
235
|
-
}, i18n.t("intro.title")), /* @__PURE__ */
|
|
210
|
+
}, i18n.t("intro.title")), /* @__PURE__ */ React2.createElement(Text, {
|
|
236
211
|
color: "modalTextSecondary",
|
|
237
212
|
size: "16"
|
|
238
|
-
}, i18n.t("intro.description")))), /* @__PURE__ */
|
|
213
|
+
}, i18n.t("intro.description")))), /* @__PURE__ */ React2.createElement(Box, {
|
|
239
214
|
paddingTop: "32",
|
|
240
215
|
paddingX: "20"
|
|
241
|
-
}, /* @__PURE__ */
|
|
216
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
242
217
|
display: "flex",
|
|
243
218
|
gap: "14",
|
|
244
219
|
justifyContent: "center"
|
|
245
|
-
}, /* @__PURE__ */
|
|
220
|
+
}, /* @__PURE__ */ React2.createElement(ActionButton, {
|
|
246
221
|
label: i18n.t("intro.get.label"),
|
|
247
222
|
onClick: () => setWalletStep("GET" /* Get */),
|
|
248
223
|
size: "large",
|
|
249
224
|
type: "secondary"
|
|
250
|
-
})
|
|
251
|
-
href: learnMoreUrl,
|
|
252
|
-
label: i18n.t("intro.learn_more.label"),
|
|
253
|
-
size: "large",
|
|
254
|
-
type: "secondary"
|
|
255
|
-
}))), Disclaimer && /* @__PURE__ */ React4.createElement(Box, {
|
|
256
|
-
marginTop: "28",
|
|
257
|
-
marginX: "32",
|
|
258
|
-
textAlign: "center"
|
|
259
|
-
}, /* @__PURE__ */ React4.createElement(Disclaimer, {
|
|
260
|
-
Link: DisclaimerLink,
|
|
261
|
-
Text: DisclaimerText
|
|
262
|
-
})));
|
|
225
|
+
}))));
|
|
263
226
|
break;
|
|
264
227
|
}
|
|
265
228
|
case "GET" /* Get */: {
|
|
@@ -268,7 +231,7 @@ function MobileOptions({ onClose }) {
|
|
|
268
231
|
const mobileWallets = wallets?.filter(
|
|
269
232
|
(wallet) => wallet.downloadUrls?.ios || wallet.downloadUrls?.android || wallet.downloadUrls?.mobile
|
|
270
233
|
)?.splice(0, 3);
|
|
271
|
-
walletContent = /* @__PURE__ */
|
|
234
|
+
walletContent = /* @__PURE__ */ React2.createElement(Box, null, /* @__PURE__ */ React2.createElement(Box, {
|
|
272
235
|
alignItems: "center",
|
|
273
236
|
display: "flex",
|
|
274
237
|
flexDirection: "column",
|
|
@@ -282,88 +245,88 @@ function MobileOptions({ onClose }) {
|
|
|
282
245
|
if (!downloadUrls?.ios && !downloadUrls?.android && !downloadUrls?.mobile) {
|
|
283
246
|
return null;
|
|
284
247
|
}
|
|
285
|
-
return /* @__PURE__ */
|
|
248
|
+
return /* @__PURE__ */ React2.createElement(Box, {
|
|
286
249
|
display: "flex",
|
|
287
250
|
gap: "16",
|
|
288
251
|
key: wallet.id,
|
|
289
252
|
paddingX: "20",
|
|
290
253
|
width: "full"
|
|
291
|
-
}, /* @__PURE__ */
|
|
254
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
292
255
|
style: { minHeight: 48, minWidth: 48 }
|
|
293
|
-
}, /* @__PURE__ */
|
|
256
|
+
}, /* @__PURE__ */ React2.createElement(AsyncImage, {
|
|
294
257
|
background: iconBackground,
|
|
295
258
|
borderColor: "generalBorder",
|
|
296
259
|
borderRadius: "10",
|
|
297
260
|
height: "48",
|
|
298
261
|
src: iconUrl,
|
|
299
262
|
width: "48"
|
|
300
|
-
})), /* @__PURE__ */
|
|
263
|
+
})), /* @__PURE__ */ React2.createElement(Box, {
|
|
301
264
|
display: "flex",
|
|
302
265
|
flexDirection: "column",
|
|
303
266
|
width: "full"
|
|
304
|
-
}, /* @__PURE__ */
|
|
267
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
305
268
|
alignItems: "center",
|
|
306
269
|
display: "flex",
|
|
307
270
|
height: "48"
|
|
308
|
-
}, /* @__PURE__ */
|
|
271
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
309
272
|
width: "full"
|
|
310
|
-
}, /* @__PURE__ */
|
|
273
|
+
}, /* @__PURE__ */ React2.createElement(Text, {
|
|
311
274
|
color: "modalText",
|
|
312
275
|
size: "18",
|
|
313
276
|
weight: "bold"
|
|
314
|
-
}, name)), /* @__PURE__ */
|
|
277
|
+
}, name)), /* @__PURE__ */ React2.createElement(ActionButton, {
|
|
315
278
|
href: (ios ? downloadUrls?.ios : downloadUrls?.android) || downloadUrls?.mobile,
|
|
316
279
|
label: i18n.t("get.action.label"),
|
|
317
280
|
size: "small",
|
|
318
281
|
type: "secondary"
|
|
319
|
-
})), index < mobileWallets.length - 1 && /* @__PURE__ */
|
|
282
|
+
})), index < mobileWallets.length - 1 && /* @__PURE__ */ React2.createElement(Box, {
|
|
320
283
|
background: "generalBorderDim",
|
|
321
284
|
height: "1",
|
|
322
285
|
marginY: "10",
|
|
323
286
|
width: "full"
|
|
324
287
|
})));
|
|
325
|
-
})), /* @__PURE__ */
|
|
288
|
+
})), /* @__PURE__ */ React2.createElement(Box, {
|
|
326
289
|
style: { marginBottom: "42px" }
|
|
327
|
-
}), /* @__PURE__ */
|
|
290
|
+
}), /* @__PURE__ */ React2.createElement(Box, {
|
|
328
291
|
alignItems: "center",
|
|
329
292
|
display: "flex",
|
|
330
293
|
flexDirection: "column",
|
|
331
294
|
gap: "36",
|
|
332
295
|
paddingX: "36",
|
|
333
296
|
style: { textAlign: "center" }
|
|
334
|
-
}, /* @__PURE__ */
|
|
297
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
335
298
|
display: "flex",
|
|
336
299
|
flexDirection: "column",
|
|
337
300
|
gap: "12",
|
|
338
301
|
textAlign: "center"
|
|
339
|
-
}, /* @__PURE__ */
|
|
302
|
+
}, /* @__PURE__ */ React2.createElement(Text, {
|
|
340
303
|
color: "modalText",
|
|
341
304
|
size: "16",
|
|
342
305
|
weight: "bold"
|
|
343
|
-
}, i18n.t("get.looking_for.title")), /* @__PURE__ */
|
|
306
|
+
}, i18n.t("get.looking_for.title")), /* @__PURE__ */ React2.createElement(Text, {
|
|
344
307
|
color: "modalTextSecondary",
|
|
345
308
|
size: "16"
|
|
346
309
|
}, i18n.t("get.looking_for.mobile.description")))));
|
|
347
310
|
break;
|
|
348
311
|
}
|
|
349
312
|
}
|
|
350
|
-
return /* @__PURE__ */
|
|
313
|
+
return /* @__PURE__ */ React2.createElement(Box, {
|
|
351
314
|
display: "flex",
|
|
352
315
|
flexDirection: "column",
|
|
353
316
|
paddingBottom: "36"
|
|
354
|
-
}, /* @__PURE__ */
|
|
317
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
355
318
|
background: headerBackgroundContrast ? "profileForeground" : "modalBackground",
|
|
356
319
|
display: "flex",
|
|
357
320
|
flexDirection: "column",
|
|
358
321
|
paddingBottom: "4",
|
|
359
322
|
paddingTop: "14"
|
|
360
|
-
}, /* @__PURE__ */
|
|
323
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
361
324
|
display: "flex",
|
|
362
325
|
justifyContent: "center",
|
|
363
326
|
paddingBottom: "6",
|
|
364
327
|
paddingX: "20",
|
|
365
328
|
position: "relative"
|
|
366
|
-
}, headerBackButtonLink && /* @__PURE__ */
|
|
329
|
+
}, headerBackButtonLink && /* @__PURE__ */ React2.createElement(Box, {
|
|
367
330
|
display: "flex",
|
|
368
331
|
position: "absolute",
|
|
369
332
|
style: {
|
|
@@ -371,7 +334,7 @@ function MobileOptions({ onClose }) {
|
|
|
371
334
|
marginBottom: -20,
|
|
372
335
|
marginTop: -20
|
|
373
336
|
}
|
|
374
|
-
}, /* @__PURE__ */
|
|
337
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
375
338
|
alignItems: "center",
|
|
376
339
|
as: "button",
|
|
377
340
|
className: touchableStyles({
|
|
@@ -387,28 +350,28 @@ function MobileOptions({ onClose }) {
|
|
|
387
350
|
style: { height: 17, willChange: "transform" },
|
|
388
351
|
transition: "default",
|
|
389
352
|
type: "button"
|
|
390
|
-
}, /* @__PURE__ */
|
|
353
|
+
}, /* @__PURE__ */ React2.createElement(BackIcon, null))), /* @__PURE__ */ React2.createElement(Box, {
|
|
391
354
|
marginTop: "4",
|
|
392
355
|
textAlign: "center",
|
|
393
356
|
width: "full"
|
|
394
|
-
}, /* @__PURE__ */
|
|
357
|
+
}, /* @__PURE__ */ React2.createElement(Text, {
|
|
395
358
|
as: "h1",
|
|
396
359
|
color: "modalText",
|
|
397
360
|
id: titleId,
|
|
398
361
|
size: "20",
|
|
399
362
|
weight: "bold"
|
|
400
|
-
}, headerLabel)), /* @__PURE__ */
|
|
363
|
+
}, headerLabel)), /* @__PURE__ */ React2.createElement(Box, {
|
|
401
364
|
alignItems: "center",
|
|
402
365
|
display: "flex",
|
|
403
366
|
height: "32",
|
|
404
367
|
paddingRight: "14",
|
|
405
368
|
position: "absolute",
|
|
406
369
|
right: "0"
|
|
407
|
-
}, /* @__PURE__ */
|
|
370
|
+
}, /* @__PURE__ */ React2.createElement(Box, {
|
|
408
371
|
style: { marginBottom: -20, marginTop: -20 }
|
|
409
|
-
}, /* @__PURE__ */
|
|
372
|
+
}, /* @__PURE__ */ React2.createElement(CloseButton, {
|
|
410
373
|
onClose
|
|
411
|
-
}))))), /* @__PURE__ */
|
|
374
|
+
}))))), /* @__PURE__ */ React2.createElement(Box, {
|
|
412
375
|
display: "flex",
|
|
413
376
|
flexDirection: "column"
|
|
414
377
|
}, walletContent));
|
|
@@ -422,24 +385,6 @@ var __private__ = {
|
|
|
422
385
|
MobileOptions
|
|
423
386
|
};
|
|
424
387
|
|
|
425
|
-
// src/transactions/useAddRecentTransaction.ts
|
|
426
|
-
import { useCallback as useCallback2 } from "react";
|
|
427
|
-
import { useAccount } from "wagmi";
|
|
428
|
-
function useAddRecentTransaction() {
|
|
429
|
-
const store = useTransactionStore();
|
|
430
|
-
const { address } = useAccount();
|
|
431
|
-
const chainId = useChainId();
|
|
432
|
-
return useCallback2(
|
|
433
|
-
(transaction) => {
|
|
434
|
-
if (!address || !chainId) {
|
|
435
|
-
throw new Error("No address or chain ID found");
|
|
436
|
-
}
|
|
437
|
-
store.addTransaction(address, chainId, transaction);
|
|
438
|
-
},
|
|
439
|
-
[store, address, chainId]
|
|
440
|
-
);
|
|
441
|
-
}
|
|
442
|
-
|
|
443
388
|
// src/wallets/walletConnectors/braveWallet/braveWallet.ts
|
|
444
389
|
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
445
390
|
var braveWallet = ({
|
|
@@ -616,7 +561,7 @@ function getWalletConnectConnector({
|
|
|
616
561
|
"No projectId found. Every dApp must now provide a WalletConnect Cloud projectId to enable WalletConnect v2 https://www.rainbowkit.com/docs/installation#configure"
|
|
617
562
|
);
|
|
618
563
|
} else if (projectId === "YOUR_PROJECT_ID" || projectId === exampleProjectId) {
|
|
619
|
-
|
|
564
|
+
logger.warn(
|
|
620
565
|
"Invalid projectId. Please create a unique WalletConnect Cloud projectId for your dApp https://www.rainbowkit.com/docs/installation#configure"
|
|
621
566
|
);
|
|
622
567
|
}
|
|
@@ -927,8 +872,10 @@ export {
|
|
|
927
872
|
getWalletConnectConnector,
|
|
928
873
|
lightTheme,
|
|
929
874
|
useAccountModal,
|
|
930
|
-
|
|
875
|
+
useActiveTheme,
|
|
931
876
|
useChainModal,
|
|
932
877
|
useConnectModal,
|
|
878
|
+
useFunCheckoutHistoryModal,
|
|
879
|
+
useFunCheckoutModal,
|
|
933
880
|
useFunkitCheckout
|
|
934
881
|
};
|
package/dist/themes/darkTheme.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-4ACOCJJZ.js";
|
|
6
2
|
import {
|
|
7
3
|
isIOS
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
5
|
+
import {
|
|
6
|
+
getWalletConnectConnector,
|
|
7
|
+
getWalletConnectUri
|
|
8
|
+
} from "./chunk-EUSM6MRB.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
|
|
11
11
|
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-4ACOCJJZ.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
5
|
+
import {
|
|
6
|
+
getWalletConnectConnector,
|
|
7
|
+
getWalletConnectUri
|
|
8
|
+
} from "./chunk-EUSM6MRB.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
11
11
|
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-4ACOCJJZ.js";
|
|
6
2
|
import {
|
|
7
3
|
isIOS
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
5
|
+
import {
|
|
6
|
+
getWalletConnectConnector,
|
|
7
|
+
getWalletConnectUri
|
|
8
|
+
} from "./chunk-EUSM6MRB.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.ts
|
|
11
11
|
var walletConnectWallet = ({
|