@funkit/connect 3.5.0 → 4.0.0
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/CHANGELOG.md +35 -0
- package/dist/{chunk-77C753LI.js → chunk-3F3EYDDR.js} +2 -1
- package/dist/{chunk-XWW5QOD4.js → chunk-LTOE4GIY.js} +2 -1
- package/dist/{chunk-BY224HGT.js → chunk-OMAXDH7G.js} +2 -1
- package/dist/components/AsyncImage/AsyncImage.d.ts +3 -3
- package/dist/components/AsyncImage/useAsyncImage.d.ts +1 -1
- package/dist/components/Avatar/EmojiAvatar.d.ts +1 -1
- package/dist/components/Box/Box.d.ts +8 -8
- package/dist/components/CloseButton/CloseButton.d.ts +1 -1
- package/dist/components/ConnectButton/ConnectButton.d.ts +1 -1
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +2 -2
- package/dist/components/ConnectButton/formatENS.d.ts +1 -1
- package/dist/components/CopyAddress/CopyAddress.d.ts +1 -1
- package/dist/components/Dialog/Dialog.d.ts +4 -4
- package/dist/components/Dropdown/BaseDropdown.d.ts +1 -1
- package/dist/components/Dropdown/ChainDropdown.d.ts +1 -1
- package/dist/components/Dropdown/TokenDropdown.d.ts +1 -1
- package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/dist/components/FunAlert/FunAlert.d.ts +2 -2
- package/dist/components/FunAsset/FunAssetBadge.d.ts +1 -1
- package/dist/components/FunAsset/FunAssetItem.d.ts +1 -1
- package/dist/components/FunAssetAvatar/FunAssetAvatar.d.ts +1 -1
- package/dist/components/FunBadge/FunBadge.d.ts +1 -1
- package/dist/components/FunBottomBar/FunBottomBar.d.ts +1 -1
- package/dist/components/FunButton/FunBackButton.d.ts +1 -1
- package/dist/components/FunButton/FunButton.d.ts +1 -1
- package/dist/components/FunButton/FunIconButton.d.ts +1 -1
- package/dist/components/FunButton/FunLinkButton.d.ts +1 -1
- package/dist/components/FunButton/FunRedirectButton.d.ts +1 -1
- package/dist/components/FunButton/FunSignInButton.d.ts +1 -1
- package/dist/components/FunConnectOptions/ConnectDetails.d.ts +1 -1
- package/dist/components/FunConnectOptions/FunConnectResultStep.d.ts +1 -1
- package/dist/components/FunConnectOptions/FunSignInStep.d.ts +2 -2
- package/dist/components/FunConnectOptions/FunWeb3ConnectingStep.d.ts +1 -1
- package/dist/components/FunCountdown/FunCountdown.d.ts +1 -1
- package/dist/components/FunDivider/FunDivider.d.ts +1 -1
- package/dist/components/FunGuarantees/FunGuarantees.d.ts +3 -3
- package/dist/components/FunInput/FunInput.d.ts +2 -2
- package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +3 -3
- package/dist/components/FunMessage/FunMessage.d.ts +1 -1
- package/dist/components/FunNoResults/FunNoResults.d.ts +1 -1
- package/dist/components/FunNotification/FunCheckoutNotification.d.ts +1 -1
- package/dist/components/FunNotification/FunNotification.d.ts +2 -2
- package/dist/components/FunOptionBox/FunOptionBox.d.ts +2 -2
- package/dist/components/FunPaymentMethodItem/FunPaymentMethodItem.d.ts +1 -1
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -2
- package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +1 -1
- package/dist/components/FunSelect/FunClickOutside.d.ts +1 -1
- package/dist/components/FunSelect/FunSelect.d.ts +1 -1
- package/dist/components/FunSelectBrokerage/FunBrokerageItem.d.ts +2 -2
- package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +4 -4
- package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +1 -1
- package/dist/components/FunSkeletonLoader/FunSkeletonCircle.d.ts +1 -1
- package/dist/components/FunSocials/FunSocials.d.ts +2 -2
- package/dist/components/FunTooltip/FunTooltip.css.d.ts +3 -0
- package/dist/components/FunTooltip/FunTooltip.d.ts +7 -0
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +2 -2
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +1 -1
- package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +3 -3
- package/dist/components/Icons/FunkitPaymentsIconLine.d.ts +1 -1
- package/dist/components/QRCode/QRCode.d.ts +1 -1
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/config/getDefaultConfig.d.ts +3 -3
- package/dist/consts/funkit.d.ts +3 -3
- package/dist/consts/mesh.d.ts +45 -4
- package/dist/css/atoms.d.ts +1 -1
- package/dist/css/cssObjectFromTheme.d.ts +1 -1
- package/dist/css/cssStringFromTheme.d.ts +1 -1
- package/dist/css/sprinkles.css.d.ts +10 -8
- package/dist/domains/asset.d.ts +2 -2
- package/dist/domains/checkoutFees.d.ts +3 -3
- package/dist/domains/clientMetadata.d.ts +3 -2
- package/dist/domains/paymentMethods.d.ts +9 -6
- package/dist/domains/quote.d.ts +9 -14
- package/dist/hooks/useCheckoutModalTitle.d.ts +1 -1
- package/dist/hooks/useCheckoutTransferDepositAddress.d.ts +2 -2
- package/dist/hooks/useCheckoutType.d.ts +1 -1
- package/dist/hooks/useCountdown.d.ts +2 -2
- package/dist/hooks/useEnabledTokenTransferChainTokens.d.ts +1 -1
- package/dist/hooks/useFunListeners.d.ts +1 -1
- package/dist/hooks/useIsCheckoutRisky.d.ts +1 -1
- package/dist/hooks/useMainnetEnsAvatar.d.ts +1 -1
- package/dist/hooks/useMainnetEnsName.d.ts +1 -1
- package/dist/hooks/useMesh.d.ts +4 -8
- package/dist/hooks/usePaymentMethodIcon.d.ts +2 -2
- package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +1 -4
- package/dist/hooks/useWalletAssets.d.ts +1 -1
- package/dist/index.css +484 -463
- package/dist/index.d.ts +4 -1
- package/dist/index.js +9121 -9272
- package/dist/modals/AccountModal/AccountModal.d.ts +1 -1
- package/dist/modals/ChainModal/Chain.d.ts +2 -2
- package/dist/modals/CheckoutModal/{CheckoutComplete.d.ts → CheckoutComplete/CheckoutComplete.d.ts} +2 -2
- package/dist/modals/CheckoutModal/{useRedirectToCheckoutHistory.d.ts → CheckoutComplete/useRedirectToCheckoutHistory.d.ts} +2 -2
- package/dist/modals/CheckoutModal/{ConfirmationStep.d.ts → ConfirmationStep/ConfirmationStep.d.ts} +3 -3
- package/dist/modals/CheckoutModal/{useAccountBalancePostCheckout.d.ts → ConfirmationStep/useAccountBalanceTransfer.d.ts} +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +2 -2
- package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +3 -3
- package/dist/modals/CheckoutModal/ConfirmationStep/useQuoteRefresh.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConnectExchange.d.ts +4 -4
- package/dist/modals/CheckoutModal/InputAmount/AvailableBalance.d.ts +1 -1
- package/dist/modals/CheckoutModal/{InputAmount.d.ts → InputAmount/InputAmount.d.ts} +3 -3
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLayout.d.ts +3 -3
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +5 -5
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +4 -4
- package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -1
- package/dist/modals/CheckoutModal/{useAssetPrice.d.ts → InputAmount/useAssetPrice.d.ts} +1 -1
- package/dist/modals/CheckoutModal/{useAvailableBalanceForCheckout.d.ts → InputAmount/useAvailableBalanceForCheckout.d.ts} +3 -3
- package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +0 -9
- package/dist/modals/CheckoutModal/LoadingAccount.d.ts +2 -2
- package/dist/modals/CheckoutModal/MeshVerification.d.ts +4 -4
- package/dist/modals/CheckoutModal/MoonpaySetup.d.ts +2 -2
- package/dist/modals/CheckoutModal/SelectAsset.d.ts +2 -2
- package/dist/modals/CheckoutModal/SelectBrokerage.d.ts +4 -4
- package/dist/modals/CheckoutModal/{SourceChange.d.ts → SourceChange/SourceChange.d.ts} +2 -2
- package/dist/modals/CheckoutModal/TransferToken.d.ts +2 -2
- package/dist/modals/CheckoutModal/stepTransition.d.ts +14 -14
- package/dist/modals/CheckoutModal/useCheckoutQuote.d.ts +2 -2
- package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +3 -3
- package/dist/modals/CheckoutModal/useWalletAssetHoldings.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +1 -1
- package/dist/modals/ProfileDetails/ActivityTraversalContext.d.ts +2 -2
- package/dist/modals/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +1 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +1 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/index.d.ts +1 -1
- package/dist/providers/AppContext.d.ts +1 -1
- package/dist/providers/AuthenticationContext.d.ts +1 -1
- package/dist/providers/FunkitCheckoutContext.d.ts +25 -35
- package/dist/providers/FunkitConfigContext.d.ts +3 -2
- package/dist/providers/FunkitConnectChainContext.d.ts +1 -1
- package/dist/providers/FunkitFlagsProvider.d.ts +3 -3
- package/dist/providers/FunkitHistoryContext.d.ts +5 -5
- package/dist/providers/FunkitMeshProvider.d.ts +9 -9
- package/dist/providers/FunkitMoonpayProvider.d.ts +2 -2
- package/dist/providers/FunkitProvider.d.ts +9 -13
- package/dist/providers/FunkitThemeProvider.d.ts +27 -156
- package/dist/providers/FunkitWeb2Provider.d.ts +3 -3
- package/dist/providers/GeneralWalletProvider.d.ts +3 -3
- package/dist/providers/I18nContext.d.ts +2 -2
- package/dist/providers/ModalContext.d.ts +2 -2
- package/dist/providers/ModalSizeContext.d.ts +1 -1
- package/dist/providers/ShowBalanceContext.d.ts +2 -2
- package/dist/providers/provideFunkitConnectChains.d.ts +1 -1
- package/dist/themes/baseTheme.d.ts +3 -1
- package/dist/themes/baseTheme.js +5 -3
- package/dist/themes/darkTheme.d.ts +3 -144
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.d.ts +3 -144
- package/dist/themes/lightTheme.js +2 -2
- package/dist/types/utils.d.ts +1 -1
- package/dist/utils/address.d.ts +1 -3
- package/dist/utils/assets.d.ts +5 -4
- package/dist/utils/checkout.d.ts +10 -6
- package/dist/utils/flags/config.d.ts +7 -1
- package/dist/utils/funkitProvider.d.ts +1 -1
- package/dist/utils/isMainnetUsdt.d.ts +1 -1
- package/dist/utils/mesh.d.ts +8 -8
- package/dist/utils/payment.d.ts +1 -1
- package/dist/utils/purifyCheckoutHistoryItem.d.ts +1 -1
- package/dist/wallets/Wallet.d.ts +4 -4
- package/dist/wallets/computeWalletConnectMetaData.d.ts +1 -1
- package/dist/wallets/downloadUrls.d.ts +1 -1
- package/dist/wallets/getDefaultWallets.d.ts +1 -1
- package/dist/wallets/getInjectedConnector.d.ts +2 -2
- package/dist/wallets/groupedWallets.d.ts +1 -1
- package/dist/wallets/useWalletConnectors.d.ts +3 -3
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +1 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +1 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -3
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -3
- package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bitverseWallet/bitverseWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +1 -2
- package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/{chunk-DWOWRRNZ.js → chunk-2UCNRD7H.js} +3 -6
- package/dist/wallets/walletConnectors/{chunk-E2VPHAWU.js → chunk-3S2U24BJ.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-5HXH52SO.js → chunk-4WEHDI4Y.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-24OBTKSN.js → chunk-7CUY5G6R.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-PFRM52PK.js → chunk-A5APNTGL.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-UJVBNAKM.js → chunk-ADIXAKUL.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-KN5BJYWQ.js → chunk-AXWP3GD4.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-GDXRZB7A.js → chunk-BRBKM4PW.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-FGLYJDAL.js → chunk-G73C6P5P.js} +1 -4
- package/dist/wallets/walletConnectors/{chunk-C7PUODSS.js → chunk-GSOYKKIS.js} +3 -5
- package/dist/wallets/walletConnectors/{chunk-BDI5G6GA.js → chunk-H4IRCEZN.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-EHDKQOCG.js → chunk-IDKVN5CF.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-NMB62FCH.js → chunk-ISIBREBO.js} +3 -5
- package/dist/wallets/walletConnectors/{chunk-IKPUD375.js → chunk-LN7OD5EC.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-CV5FY7VL.js → chunk-S27IADFU.js} +1 -3
- package/dist/wallets/walletConnectors/{chunk-7GGVFQBD.js → chunk-SLOIIJGP.js} +1 -5
- package/dist/wallets/walletConnectors/{chunk-HA5KAB4M.js → chunk-W6N74MS3.js} +3 -5
- package/dist/wallets/walletConnectors/{chunk-HRDRUWYF.js → chunk-WSQ2YJO2.js} +1 -3
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +1 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +1 -2
- package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +1 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -3
- package/dist/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -3
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.d.ts +2 -2
- package/dist/wallets/walletConnectors/index.js +79 -80
- package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/kresusWallet/kresusWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +1 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -3
- package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +1 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -3
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +1 -2
- package/dist/wallets/walletConnectors/oneInchWallet/oneInchWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -3
- package/dist/wallets/walletConnectors/ramperWallet/ramperWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -3
- package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.js +1 -1
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -3
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +2 -2
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +1 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -3
- package/package.json +17 -17
- package/dist/assets-36PRD6ZI.js +0 -7
- package/dist/components/FunPayments/FunPaymentTransferType.d.ts +0 -5
- package/dist/components/Icons/Assets.d.ts +0 -3
- package/dist/components/Icons/BridgeIcon.d.ts +0 -2
- package/dist/components/Icons/Cancel.d.ts +0 -2
- package/dist/components/Icons/ClockIcon.d.ts +0 -4
- package/dist/components/Icons/CoinIcon.d.ts +0 -4
- package/dist/components/Icons/Connect.d.ts +0 -3
- 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/Disconnect.d.ts +0 -2
- package/dist/components/Icons/Dropdown.d.ts +0 -2
- package/dist/components/Icons/EditIcon.d.ts +0 -4
- package/dist/components/Icons/EthereumIcon.d.ts +0 -4
- 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 -3
- package/dist/components/Icons/LightningIcon.d.ts +0 -4
- package/dist/components/Icons/LinkIcon.d.ts +0 -2
- package/dist/components/Icons/Login.d.ts +0 -3
- package/dist/components/Icons/MmFox.d.ts +0 -2
- package/dist/components/Icons/MoonPayLogoIcon.d.ts +0 -2
- package/dist/components/Icons/PasskeyIcon.d.ts +0 -2
- package/dist/components/Icons/PhoneIcon.d.ts +0 -2
- package/dist/components/Icons/PlusIcon.d.ts +0 -2
- package/dist/components/Icons/ProfileIcon.d.ts +0 -2
- package/dist/components/Icons/ReceiptIcon.d.ts +0 -4
- package/dist/components/Icons/Refresh.d.ts +0 -3
- package/dist/components/Icons/Scan.d.ts +0 -3
- package/dist/components/Icons/StEthIcon.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/WhiteDotIcon.d.ts +0 -2
- package/dist/login-XDVWJKUQ.js +0 -7
- package/dist/utils/browsers.d.ts +0 -13
- package/dist/utils/colors.d.ts +0 -3
- package/dist/utils/debounce.d.ts +0 -1
- package/dist/utils/deepMerge.d.ts +0 -5
- package/dist/utils/exhaustiveCheck.d.ts +0 -1
- package/dist/utils/formatFees.d.ts +0 -12
- package/dist/utils/formatNumber.d.ts +0 -57
- package/dist/utils/formatTimestamp.d.ts +0 -28
- 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/mobile.d.ts +0 -1
- package/dist/utils/noop.d.ts +0 -1
- package/dist/utils/omitUndefinedValues.d.ts +0 -1
- package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
- package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +0 -103
- package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +0 -110
- package/dist/wallets/walletConnectors/chunk-CTBFNNME.js +0 -94
- package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +0 -95
- package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +0 -96
- package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +0 -87
- package/dist/wallets/walletConnectors/chunk-LVBXKMWP.js +0 -71
- package/dist/wallets/walletConnectors/chunk-MATWQVQM.js +0 -73
- package/dist/wallets/walletConnectors/chunk-N2UFM6FI.js +0 -95
- package/dist/wallets/walletConnectors/chunk-QQEO4YQS.js +0 -149
- package/dist/wallets/walletConnectors/chunk-R6TLOQL3.js +0 -98
- package/dist/wallets/walletConnectors/chunk-RETKWSKD.js +0 -24
- package/dist/wallets/walletConnectors/chunk-RMNN2RIV.js +0 -102
- package/dist/wallets/walletConnectors/chunk-SIPHIY4F.js +0 -101
- package/dist/wallets/walletConnectors/chunk-UQAC373E.js +0 -108
- package/dist/wallets/walletConnectors/chunk-VU6B3HMD.js +0 -96
- package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +0 -98
- package/dist/wallets/walletConnectors/chunk-XYBEMO3C.js +0 -66
- /package/dist/components/Icons/{Coinbase.d.ts → CoinbaseIcon.d.ts} +0 -0
- /package/dist/components/Icons/{DisconnectSq.d.ts → DisconnectSqIcon.d.ts} +0 -0
- /package/dist/components/Icons/{Info.d.ts → FunInfoIcon.d.ts} +0 -0
- /package/dist/components/Icons/{Gas.d.ts → GasIcon.d.ts} +0 -0
- /package/dist/components/Icons/{GateIo.d.ts → GateIoIcon.d.ts} +0 -0
- /package/dist/components/Icons/{Spinner.d.ts → SpinnerIcon.d.ts} +0 -0
- /package/dist/components/Icons/{TwoFactor.d.ts → TwoFactorIcon.d.ts} +0 -0
- /package/dist/modals/CheckoutModal/{CheckoutPrimaryInfo.d.ts → ConfirmationStep/CheckoutPrimaryInfo.d.ts} +0 -0
- /package/dist/modals/CheckoutModal/{useUpdateSourceAssetForCard.d.ts → SourceChange/useUpdateSourceAssetForCard.d.ts} +0 -0
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-23WIEY36.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
|
|
11
|
-
var coin98Wallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isCoin98WalletInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "coin98.provider",
|
|
17
|
-
flag: "isCoin98"
|
|
18
|
-
});
|
|
19
|
-
const shouldUseWalletConnect = !isCoin98WalletInjected;
|
|
20
|
-
return {
|
|
21
|
-
id: "coin98",
|
|
22
|
-
name: "Coin98 Wallet",
|
|
23
|
-
iconUrl: async () => (await import("./coin98Wallet-I5CP5KYZ.js")).default,
|
|
24
|
-
installed: isCoin98WalletInjected,
|
|
25
|
-
iconAccent: "#CDA349",
|
|
26
|
-
iconBackground: "#fff",
|
|
27
|
-
rdns: "coin98.com",
|
|
28
|
-
downloadUrls: {
|
|
29
|
-
android: "https://play.google.com/store/apps/details?id=coin98.crypto.finance.media",
|
|
30
|
-
ios: "https://apps.apple.com/vn/app/coin98-super-app/id1561969966",
|
|
31
|
-
mobile: "https://coin98.com/wallet",
|
|
32
|
-
qrCode: "https://coin98.com/wallet",
|
|
33
|
-
chrome: "https://chrome.google.com/webstore/detail/coin98-wallet/aeachknmefphepccionboohckonoeemg",
|
|
34
|
-
browserExtension: "https://coin98.com/wallet"
|
|
35
|
-
},
|
|
36
|
-
mobile: {
|
|
37
|
-
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
38
|
-
},
|
|
39
|
-
qrCode: shouldUseWalletConnect ? {
|
|
40
|
-
getUri: (uri) => uri,
|
|
41
|
-
instructions: {
|
|
42
|
-
learnMoreUrl: "https://coin98.com/wallet",
|
|
43
|
-
steps: [
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.coin98.qr_code.step1.description",
|
|
46
|
-
step: "install",
|
|
47
|
-
title: "wallet_connectors.coin98.qr_code.step1.title"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.coin98.qr_code.step2.description",
|
|
51
|
-
step: "create",
|
|
52
|
-
title: "wallet_connectors.coin98.qr_code.step2.title"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
description: "wallet_connectors.coin98.qr_code.step3.description",
|
|
56
|
-
step: "scan",
|
|
57
|
-
title: "wallet_connectors.coin98.qr_code.step3.title"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
} : void 0,
|
|
62
|
-
extension: {
|
|
63
|
-
instructions: {
|
|
64
|
-
learnMoreUrl: "https://coin98.com/wallet",
|
|
65
|
-
steps: [
|
|
66
|
-
{
|
|
67
|
-
description: "wallet_connectors.coin98.extension.step1.description",
|
|
68
|
-
step: "install",
|
|
69
|
-
title: "wallet_connectors.coin98.extension.step1.title"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.coin98.extension.step2.description",
|
|
73
|
-
step: "create",
|
|
74
|
-
title: "wallet_connectors.coin98.extension.step2.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.coin98.extension.step3.description",
|
|
78
|
-
step: "refresh",
|
|
79
|
-
title: "wallet_connectors.coin98.extension.step3.title"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
85
|
-
projectId,
|
|
86
|
-
walletConnectParameters
|
|
87
|
-
}) : getInjectedConnector({
|
|
88
|
-
namespace: "coin98Wallet",
|
|
89
|
-
flag: "isCoin98"
|
|
90
|
-
})
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
export {
|
|
95
|
-
coin98Wallet
|
|
96
|
-
};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-23WIEY36.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/clvWallet/clvWallet.ts
|
|
11
|
-
var clvWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isCLVInjected = hasInjectedProvider({ namespace: "clover" });
|
|
16
|
-
const shouldUseWalletConnect = !isCLVInjected;
|
|
17
|
-
return {
|
|
18
|
-
id: "clv",
|
|
19
|
-
name: "CLV",
|
|
20
|
-
iconUrl: async () => (await import("./clvWallet-VVMLP7BK.js")).default,
|
|
21
|
-
iconBackground: "#fff",
|
|
22
|
-
iconAccent: "#BDFDE2",
|
|
23
|
-
installed: isCLVInjected,
|
|
24
|
-
downloadUrls: {
|
|
25
|
-
chrome: "https://chrome.google.com/webstore/detail/clv-wallet/nhnkbkgjikgcigadomkphalanndcapjk",
|
|
26
|
-
ios: "https://apps.apple.com/app/clover-wallet/id1570072858",
|
|
27
|
-
mobile: "https://apps.apple.com/app/clover-wallet/id1570072858",
|
|
28
|
-
qrCode: "https://clv.org/"
|
|
29
|
-
},
|
|
30
|
-
extension: {
|
|
31
|
-
instructions: {
|
|
32
|
-
learnMoreUrl: "https://clv.org/",
|
|
33
|
-
steps: [
|
|
34
|
-
{
|
|
35
|
-
description: "wallet_connectors.clv.extension.step1.description",
|
|
36
|
-
step: "install",
|
|
37
|
-
title: "wallet_connectors.clv.extension.step1.title"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
description: "wallet_connectors.clv.extension.step2.description",
|
|
41
|
-
step: "create",
|
|
42
|
-
title: "wallet_connectors.clv.extension.step2.title"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.clv.extension.step3.description",
|
|
46
|
-
step: "refresh",
|
|
47
|
-
title: "wallet_connectors.clv.extension.step3.title"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
mobile: {
|
|
53
|
-
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
54
|
-
},
|
|
55
|
-
qrCode: shouldUseWalletConnect ? {
|
|
56
|
-
getUri: (uri) => uri,
|
|
57
|
-
instructions: {
|
|
58
|
-
learnMoreUrl: "https://clv.org/",
|
|
59
|
-
steps: [
|
|
60
|
-
{
|
|
61
|
-
description: "wallet_connectors.clv.qr_code.step1.description",
|
|
62
|
-
step: "install",
|
|
63
|
-
title: "wallet_connectors.clv.qr_code.step1.title"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.clv.qr_code.step2.description",
|
|
67
|
-
step: "create",
|
|
68
|
-
title: "wallet_connectors.clv.qr_code.step2.title"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.clv.qr_code.step3.description",
|
|
72
|
-
step: "scan",
|
|
73
|
-
title: "wallet_connectors.clv.qr_code.step3.title"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
} : void 0,
|
|
78
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
79
|
-
projectId,
|
|
80
|
-
walletConnectParameters
|
|
81
|
-
}) : getInjectedConnector({ namespace: "clover" })
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export {
|
|
86
|
-
clvWallet
|
|
87
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isAndroid
|
|
4
|
-
} from "./chunk-RETKWSKD.js";
|
|
5
|
-
import {
|
|
6
|
-
getWalletConnectConnector
|
|
7
|
-
} from "./chunk-23WIEY36.js";
|
|
8
|
-
import {
|
|
9
|
-
getInjectedConnector,
|
|
10
|
-
hasInjectedProvider
|
|
11
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
|
|
14
|
-
var bifrostWallet = ({
|
|
15
|
-
projectId,
|
|
16
|
-
walletConnectParameters
|
|
17
|
-
}) => {
|
|
18
|
-
const isBifrostInjected = hasInjectedProvider({ flag: "isBifrost" });
|
|
19
|
-
const shouldUseWalletConnect = !isBifrostInjected;
|
|
20
|
-
const getUri = (uri) => {
|
|
21
|
-
return isAndroid() ? uri : `https://app.bifrostwallet.com/wc?uri=${encodeURIComponent(uri)}`;
|
|
22
|
-
};
|
|
23
|
-
return {
|
|
24
|
-
id: "bifrostWallet",
|
|
25
|
-
name: "Bifrost Wallet",
|
|
26
|
-
iconUrl: async () => (await import("./bifrostWallet-5NQVDZ5P.js")).default,
|
|
27
|
-
iconBackground: "#fff",
|
|
28
|
-
installed: !shouldUseWalletConnect ? isBifrostInjected : void 0,
|
|
29
|
-
downloadUrls: {
|
|
30
|
-
android: "https://play.google.com/store/apps/details?id=com.bifrostwallet.app",
|
|
31
|
-
ios: "https://apps.apple.com/us/app/bifrost-wallet/id1577198351",
|
|
32
|
-
qrCode: "https://bifrostwallet.com/#download-app"
|
|
33
|
-
},
|
|
34
|
-
mobile: {
|
|
35
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
36
|
-
},
|
|
37
|
-
qrCode: shouldUseWalletConnect ? {
|
|
38
|
-
getUri: (uri) => uri,
|
|
39
|
-
instructions: {
|
|
40
|
-
learnMoreUrl: "https://support.bifrostwallet.com/en/articles/6886814-how-to-use-walletconnect",
|
|
41
|
-
steps: [
|
|
42
|
-
{
|
|
43
|
-
description: "wallet_connectors.bifrost.qr_code.step1.description",
|
|
44
|
-
step: "install",
|
|
45
|
-
title: "wallet_connectors.bifrost.qr_code.step1.title"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
description: "wallet_connectors.bifrost.qr_code.step2.description",
|
|
49
|
-
step: "create",
|
|
50
|
-
title: "wallet_connectors.bifrost.qr_code.step2.title"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: "wallet_connectors.bifrost.qr_code.step3.description",
|
|
54
|
-
step: "scan",
|
|
55
|
-
title: "wallet_connectors.bifrost.qr_code.step3.title"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
} : void 0,
|
|
60
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
61
|
-
projectId,
|
|
62
|
-
walletConnectParameters
|
|
63
|
-
}) : getInjectedConnector({
|
|
64
|
-
flag: "isBifrost"
|
|
65
|
-
})
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export {
|
|
70
|
-
bifrostWallet
|
|
71
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isAndroid,
|
|
4
|
-
isIOS
|
|
5
|
-
} from "./chunk-RETKWSKD.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-23WIEY36.js";
|
|
9
|
-
import {
|
|
10
|
-
getInjectedConnector,
|
|
11
|
-
hasInjectedProvider
|
|
12
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
13
|
-
|
|
14
|
-
// src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
|
|
15
|
-
var rainbowWallet = ({
|
|
16
|
-
projectId,
|
|
17
|
-
walletConnectParameters
|
|
18
|
-
}) => {
|
|
19
|
-
const isRainbowInjected = hasInjectedProvider({ flag: "isRainbow" });
|
|
20
|
-
const shouldUseWalletConnect = !isRainbowInjected;
|
|
21
|
-
const getUri = (uri) => {
|
|
22
|
-
return isAndroid() ? uri : isIOS() ? `rainbow://wc?uri=${encodeURIComponent(uri)}&connector=rainbowkit` : `https://rnbwapp.com/wc?uri=${encodeURIComponent(
|
|
23
|
-
uri
|
|
24
|
-
)}&connector=rainbowkit`;
|
|
25
|
-
};
|
|
26
|
-
return {
|
|
27
|
-
id: "rainbow",
|
|
28
|
-
name: "Rainbow",
|
|
29
|
-
rdns: "me.rainbow",
|
|
30
|
-
iconUrl: async () => (await import("./rainbowWallet-MFJQCICF.js")).default,
|
|
31
|
-
iconBackground: "#0c2f78",
|
|
32
|
-
installed: !shouldUseWalletConnect ? isRainbowInjected : void 0,
|
|
33
|
-
downloadUrls: {
|
|
34
|
-
android: "https://play.google.com/store/apps/details?id=me.rainbow&referrer=utm_source%3Drainbowkit&utm_source=rainbowkit",
|
|
35
|
-
ios: "https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=rainbowkit&mt=8",
|
|
36
|
-
mobile: "https://rainbow.download?utm_source=rainbowkit",
|
|
37
|
-
qrCode: "https://rainbow.download?utm_source=rainbowkit&utm_medium=qrcode",
|
|
38
|
-
browserExtension: "https://rainbow.me/extension?utm_source=rainbowkit"
|
|
39
|
-
},
|
|
40
|
-
mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
|
|
41
|
-
qrCode: shouldUseWalletConnect ? {
|
|
42
|
-
getUri,
|
|
43
|
-
instructions: {
|
|
44
|
-
learnMoreUrl: "https://learn.rainbow.me/connect-to-a-website-or-app?utm_source=rainbowkit&utm_medium=connector&utm_campaign=learnmore",
|
|
45
|
-
steps: [
|
|
46
|
-
{
|
|
47
|
-
description: "wallet_connectors.rainbow.qr_code.step1.description",
|
|
48
|
-
step: "install",
|
|
49
|
-
title: "wallet_connectors.rainbow.qr_code.step1.title"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
description: "wallet_connectors.rainbow.qr_code.step2.description",
|
|
53
|
-
step: "create",
|
|
54
|
-
title: "wallet_connectors.rainbow.qr_code.step2.title"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
description: "wallet_connectors.rainbow.qr_code.step3.description",
|
|
58
|
-
step: "scan",
|
|
59
|
-
title: "wallet_connectors.rainbow.qr_code.step3.title"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
} : void 0,
|
|
64
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
65
|
-
projectId,
|
|
66
|
-
walletConnectParameters
|
|
67
|
-
}) : getInjectedConnector({ flag: "isRainbow" })
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
export {
|
|
72
|
-
rainbowWallet
|
|
73
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isMobile
|
|
4
|
-
} from "./chunk-RETKWSKD.js";
|
|
5
|
-
import {
|
|
6
|
-
getInjectedConnector,
|
|
7
|
-
hasInjectedProvider
|
|
8
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
9
|
-
import {
|
|
10
|
-
getWalletConnectConnector
|
|
11
|
-
} from "./chunk-23WIEY36.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
|
|
14
|
-
var tokenPocketWallet = ({
|
|
15
|
-
projectId,
|
|
16
|
-
walletConnectParameters
|
|
17
|
-
}) => {
|
|
18
|
-
const isTokenPocketInjected = hasInjectedProvider({ flag: "isTokenPocket" });
|
|
19
|
-
const shouldUseWalletConnect = !isTokenPocketInjected;
|
|
20
|
-
const getUri = (uri) => {
|
|
21
|
-
return isMobile() ? `tpoutside://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
22
|
-
};
|
|
23
|
-
return {
|
|
24
|
-
id: "tokenPocket",
|
|
25
|
-
name: "TokenPocket",
|
|
26
|
-
rdns: "pro.tokenpocket",
|
|
27
|
-
iconUrl: async () => (await import("./tokenPocketWallet-FLFG3JUQ.js")).default,
|
|
28
|
-
iconBackground: "#2980FE",
|
|
29
|
-
installed: !shouldUseWalletConnect ? isTokenPocketInjected : void 0,
|
|
30
|
-
downloadUrls: {
|
|
31
|
-
chrome: "https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii",
|
|
32
|
-
browserExtension: "https://extension.tokenpocket.pro/",
|
|
33
|
-
android: "https://play.google.com/store/apps/details?id=vip.mytokenpocket",
|
|
34
|
-
ios: "https://apps.apple.com/us/app/tp-global-wallet/id6444625622",
|
|
35
|
-
qrCode: "https://tokenpocket.pro/en/download/app",
|
|
36
|
-
mobile: "https://tokenpocket.pro/en/download/app"
|
|
37
|
-
},
|
|
38
|
-
mobile: {
|
|
39
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
40
|
-
},
|
|
41
|
-
qrCode: shouldUseWalletConnect ? {
|
|
42
|
-
getUri,
|
|
43
|
-
instructions: {
|
|
44
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/",
|
|
45
|
-
steps: [
|
|
46
|
-
{
|
|
47
|
-
description: "wallet_connectors.token_pocket.qr_code.step1.description",
|
|
48
|
-
step: "install",
|
|
49
|
-
title: "wallet_connectors.token_pocket.qr_code.step1.title"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
description: "wallet_connectors.token_pocket.qr_code.step2.description",
|
|
53
|
-
step: "create",
|
|
54
|
-
title: "wallet_connectors.token_pocket.qr_code.step2.title"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
description: "wallet_connectors.token_pocket.qr_code.step3.description",
|
|
58
|
-
step: "scan",
|
|
59
|
-
title: "wallet_connectors.token_pocket.qr_code.step3.title"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
} : void 0,
|
|
64
|
-
extension: {
|
|
65
|
-
instructions: {
|
|
66
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/extension-wallet/faq/installation-tutorial",
|
|
67
|
-
steps: [
|
|
68
|
-
{
|
|
69
|
-
description: "wallet_connectors.token_pocket.extension.step1.description",
|
|
70
|
-
step: "install",
|
|
71
|
-
title: "wallet_connectors.token_pocket.extension.step1.title"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
description: "wallet_connectors.token_pocket.extension.step2.description",
|
|
75
|
-
step: "create",
|
|
76
|
-
title: "wallet_connectors.token_pocket.extension.step2.title"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
description: "wallet_connectors.token_pocket.extension.step3.description",
|
|
80
|
-
step: "refresh",
|
|
81
|
-
title: "wallet_connectors.token_pocket.extension.step3.title"
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
87
|
-
projectId,
|
|
88
|
-
walletConnectParameters
|
|
89
|
-
}) : getInjectedConnector({ flag: "isTokenPocket" })
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export {
|
|
94
|
-
tokenPocketWallet
|
|
95
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isAndroid,
|
|
4
|
-
isIOS
|
|
5
|
-
} from "./chunk-RETKWSKD.js";
|
|
6
|
-
import {
|
|
7
|
-
getInjectedConnector,
|
|
8
|
-
hasInjectedProvider
|
|
9
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
10
|
-
import {
|
|
11
|
-
getWalletConnectConnector
|
|
12
|
-
} from "./chunk-23WIEY36.js";
|
|
13
|
-
|
|
14
|
-
// src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
|
|
15
|
-
function isMetaMask(ethereum) {
|
|
16
|
-
if (!ethereum?.isMetaMask) return false;
|
|
17
|
-
if (ethereum.isBraveWallet && !ethereum._events && !ethereum._state)
|
|
18
|
-
return false;
|
|
19
|
-
if (ethereum.isApexWallet) return false;
|
|
20
|
-
if (ethereum.isAvalanche) return false;
|
|
21
|
-
if (ethereum.isBackpack) return false;
|
|
22
|
-
if (ethereum.isBifrost) return false;
|
|
23
|
-
if (ethereum.isBitKeep) return false;
|
|
24
|
-
if (ethereum.isBitski) return false;
|
|
25
|
-
if (ethereum.isBlockWallet) return false;
|
|
26
|
-
if (ethereum.isCoinbaseWallet) return false;
|
|
27
|
-
if (ethereum.isDawn) return false;
|
|
28
|
-
if (ethereum.isEnkrypt) return false;
|
|
29
|
-
if (ethereum.isExodus) return false;
|
|
30
|
-
if (ethereum.isFrame) return false;
|
|
31
|
-
if (ethereum.isFrontier) return false;
|
|
32
|
-
if (ethereum.isGamestop) return false;
|
|
33
|
-
if (ethereum.isHyperPay) return false;
|
|
34
|
-
if (ethereum.isImToken) return false;
|
|
35
|
-
if (ethereum.isKuCoinWallet) return false;
|
|
36
|
-
if (ethereum.isMathWallet) return false;
|
|
37
|
-
if (ethereum.isNestWallet) return false;
|
|
38
|
-
if (ethereum.isOkxWallet || ethereum.isOKExWallet) return false;
|
|
39
|
-
if (ethereum.isOneInchIOSWallet || ethereum.isOneInchAndroidWallet)
|
|
40
|
-
return false;
|
|
41
|
-
if (ethereum.isOpera) return false;
|
|
42
|
-
if (ethereum.isPhantom) return false;
|
|
43
|
-
if (ethereum.isPortal) return false;
|
|
44
|
-
if (ethereum.isRabby) return false;
|
|
45
|
-
if (ethereum.isRainbow) return false;
|
|
46
|
-
if (ethereum.isStatus) return false;
|
|
47
|
-
if (ethereum.isTalisman) return false;
|
|
48
|
-
if (ethereum.isTally) return false;
|
|
49
|
-
if (ethereum.isTokenPocket) return false;
|
|
50
|
-
if (ethereum.isTokenary) return false;
|
|
51
|
-
if (ethereum.isTrust || ethereum.isTrustWallet) return false;
|
|
52
|
-
if (ethereum.isXDEFI) return false;
|
|
53
|
-
if (ethereum.isZeal) return false;
|
|
54
|
-
if (ethereum.isZerion) return false;
|
|
55
|
-
return true;
|
|
56
|
-
}
|
|
57
|
-
var metaMaskWallet = ({
|
|
58
|
-
projectId,
|
|
59
|
-
walletConnectParameters
|
|
60
|
-
}) => {
|
|
61
|
-
const isMetaMaskInjected = hasInjectedProvider({ flag: "isMetaMask" });
|
|
62
|
-
const shouldUseWalletConnect = !isMetaMaskInjected;
|
|
63
|
-
const getUri = (uri) => {
|
|
64
|
-
return isAndroid() ? uri : isIOS() ? (
|
|
65
|
-
// currently broken in MetaMask v6.5.0 https://github.com/MetaMask/metamask-mobile/issues/6457
|
|
66
|
-
`metamask://wc?uri=${encodeURIComponent(uri)}`
|
|
67
|
-
) : `https://metamask.app.link/wc?uri=${encodeURIComponent(uri)}`;
|
|
68
|
-
};
|
|
69
|
-
return {
|
|
70
|
-
id: "metaMask",
|
|
71
|
-
name: "MetaMask",
|
|
72
|
-
rdns: "io.metamask",
|
|
73
|
-
iconUrl: async () => (await import("./metaMaskWallet-RMHEKBDR.js")).default,
|
|
74
|
-
iconAccent: "#f6851a",
|
|
75
|
-
iconBackground: "#fff",
|
|
76
|
-
installed: !shouldUseWalletConnect ? isMetaMaskInjected : void 0,
|
|
77
|
-
downloadUrls: {
|
|
78
|
-
android: "https://play.google.com/store/apps/details?id=io.metamask",
|
|
79
|
-
ios: "https://apps.apple.com/us/app/metamask/id1438144202",
|
|
80
|
-
mobile: "https://metamask.io/download",
|
|
81
|
-
qrCode: "https://metamask.io/download",
|
|
82
|
-
chrome: "https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",
|
|
83
|
-
edge: "https://microsoftedge.microsoft.com/addons/detail/metamask/ejbalbakoplchlghecdalmeeeajnimhm",
|
|
84
|
-
firefox: "https://addons.mozilla.org/firefox/addon/ether-metamask",
|
|
85
|
-
opera: "https://addons.opera.com/extensions/details/metamask-10",
|
|
86
|
-
browserExtension: "https://metamask.io/download"
|
|
87
|
-
},
|
|
88
|
-
mobile: {
|
|
89
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
90
|
-
},
|
|
91
|
-
qrCode: shouldUseWalletConnect ? {
|
|
92
|
-
getUri,
|
|
93
|
-
instructions: {
|
|
94
|
-
learnMoreUrl: "https://metamask.io/faqs/",
|
|
95
|
-
steps: [
|
|
96
|
-
{
|
|
97
|
-
description: "wallet_connectors.metamask.qr_code.step1.description",
|
|
98
|
-
step: "install",
|
|
99
|
-
title: "wallet_connectors.metamask.qr_code.step1.title"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
description: "wallet_connectors.metamask.qr_code.step2.description",
|
|
103
|
-
step: "create",
|
|
104
|
-
title: "wallet_connectors.metamask.qr_code.step2.title"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
description: "wallet_connectors.metamask.qr_code.step3.description",
|
|
108
|
-
step: "refresh",
|
|
109
|
-
title: "wallet_connectors.metamask.qr_code.step3.title"
|
|
110
|
-
}
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
} : void 0,
|
|
114
|
-
extension: {
|
|
115
|
-
instructions: {
|
|
116
|
-
learnMoreUrl: "https://metamask.io/faqs/",
|
|
117
|
-
steps: [
|
|
118
|
-
{
|
|
119
|
-
description: "wallet_connectors.metamask.extension.step1.description",
|
|
120
|
-
step: "install",
|
|
121
|
-
title: "wallet_connectors.metamask.extension.step1.title"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
description: "wallet_connectors.metamask.extension.step2.description",
|
|
125
|
-
step: "create",
|
|
126
|
-
title: "wallet_connectors.metamask.extension.step2.title"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
description: "wallet_connectors.metamask.extension.step3.description",
|
|
130
|
-
step: "refresh",
|
|
131
|
-
title: "wallet_connectors.metamask.extension.step3.title"
|
|
132
|
-
}
|
|
133
|
-
]
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
137
|
-
projectId,
|
|
138
|
-
walletConnectParameters
|
|
139
|
-
}) : getInjectedConnector({
|
|
140
|
-
target: typeof window !== "undefined" ? window.ethereum?.providers?.find(
|
|
141
|
-
isMetaMask
|
|
142
|
-
) ?? window.ethereum : void 0
|
|
143
|
-
})
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
export {
|
|
148
|
-
metaMaskWallet
|
|
149
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isAndroid
|
|
4
|
-
} from "./chunk-RETKWSKD.js";
|
|
5
|
-
import {
|
|
6
|
-
getInjectedConnector,
|
|
7
|
-
hasInjectedProvider
|
|
8
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
9
|
-
import {
|
|
10
|
-
getWalletConnectConnector
|
|
11
|
-
} from "./chunk-23WIEY36.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
|
|
14
|
-
var frontierWallet = ({
|
|
15
|
-
projectId,
|
|
16
|
-
walletConnectParameters
|
|
17
|
-
}) => {
|
|
18
|
-
const isFrontierInjected = hasInjectedProvider({
|
|
19
|
-
namespace: "frontier.ethereum",
|
|
20
|
-
flag: "isFrontier"
|
|
21
|
-
});
|
|
22
|
-
const shouldUseWalletConnect = !isFrontierInjected;
|
|
23
|
-
return {
|
|
24
|
-
id: "frontier",
|
|
25
|
-
name: "Frontier Wallet",
|
|
26
|
-
rdns: "xyz.frontier.wallet",
|
|
27
|
-
installed: isFrontierInjected,
|
|
28
|
-
iconUrl: async () => (await import("./frontierWallet-5QV7ZACT.js")).default,
|
|
29
|
-
iconBackground: "#CC703C",
|
|
30
|
-
downloadUrls: {
|
|
31
|
-
android: "https://play.google.com/store/apps/details?id=com.frontierwallet",
|
|
32
|
-
ios: "https://apps.apple.com/us/app/frontier-crypto-defi-wallet/id1482380988",
|
|
33
|
-
qrCode: "https://www.frontier.xyz/download",
|
|
34
|
-
chrome: "https://chrome.google.com/webstore/detail/frontier-wallet/kppfdiipphfccemcignhifpjkapfbihd",
|
|
35
|
-
browserExtension: "https://www.frontier.xyz/download"
|
|
36
|
-
},
|
|
37
|
-
mobile: {
|
|
38
|
-
getUri: shouldUseWalletConnect ? (uri) => {
|
|
39
|
-
return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
40
|
-
} : void 0
|
|
41
|
-
},
|
|
42
|
-
qrCode: shouldUseWalletConnect ? {
|
|
43
|
-
getUri: (uri) => {
|
|
44
|
-
return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
45
|
-
},
|
|
46
|
-
instructions: {
|
|
47
|
-
learnMoreUrl: "https://help.frontier.xyz/en/",
|
|
48
|
-
steps: [
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.im_token.qr_code.step1.description",
|
|
51
|
-
step: "install",
|
|
52
|
-
title: "wallet_connectors.im_token.qr_code.step1.title"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
description: "wallet_connectors.im_token.qr_code.step2.description",
|
|
56
|
-
step: "create",
|
|
57
|
-
title: "wallet_connectors.im_token.qr_code.step2.title"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
description: "wallet_connectors.im_token.qr_code.step3.description",
|
|
61
|
-
step: "scan",
|
|
62
|
-
title: "wallet_connectors.im_token.qr_code.step3.title"
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
} : void 0,
|
|
67
|
-
extension: {
|
|
68
|
-
instructions: {
|
|
69
|
-
learnMoreUrl: "https://help.frontier.xyz/en/articles/6967236-setting-up-frontier-on-your-device",
|
|
70
|
-
steps: [
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.frontier.extension.step1.description",
|
|
73
|
-
step: "install",
|
|
74
|
-
title: "wallet_connectors.frontier.extension.step1.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.frontier.extension.step2.description",
|
|
78
|
-
step: "create",
|
|
79
|
-
title: "wallet_connectors.frontier.extension.step2.title"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
description: "wallet_connectors.frontier.extension.step3.description",
|
|
83
|
-
step: "refresh",
|
|
84
|
-
title: "wallet_connectors.frontier.extension.step3.title"
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({ projectId, walletConnectParameters }) : getInjectedConnector({
|
|
90
|
-
namespace: "frontier.ethereum",
|
|
91
|
-
flag: "isFrontier"
|
|
92
|
-
})
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
export {
|
|
97
|
-
frontierWallet
|
|
98
|
-
};
|