@funkit/connect 0.1.10 → 0.1.12
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/__private__/index.d.ts +8 -0
- package/dist/chunk-7BFJCGW2.js +24994 -0
- package/dist/{chunk-X25RSAGB.js → chunk-JC32QCLG.js} +8608 -8461
- package/dist/{chunk-W7RO4DCA.js → chunk-Q73FKLU4.js} +1 -0
- package/dist/{chunk-ZKI6VFDD.js → chunk-UOUEGWLS.js} +1 -0
- package/dist/components/AccountModal/AccountModal.d.ts +6 -0
- package/dist/components/AsyncImage/AsyncImage.d.ts +19 -0
- package/dist/components/AsyncImage/useAsyncImage.d.ts +3 -0
- package/dist/components/Avatar/Avatar.d.ts +9 -0
- package/dist/components/Avatar/EmojiAvatar.d.ts +2 -0
- package/dist/components/Avatar/emojiAvatarForAddress.d.ts +106 -0
- package/dist/components/Box/Box.d.ts +86 -0
- package/dist/components/Button/ActionButton.d.ts +14 -0
- package/dist/components/ChainModal/ChainModal.css.d.ts +2 -0
- package/dist/components/ChainModal/ChainModal.d.ts +6 -0
- package/dist/components/CloseButton/CloseButton.d.ts +5 -0
- package/dist/components/ConnectButton/ConnectButton.d.ts +28 -0
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +39 -0
- package/dist/components/ConnectButton/abbreviateETHBalance.d.ts +2 -0
- package/dist/components/ConnectButton/formatAddress.d.ts +1 -0
- package/dist/components/ConnectButton/formatENS.d.ts +1 -0
- package/dist/components/ConnectOptions/ConnectDetails.d.ts +36 -0
- package/dist/components/ConnectOptions/DesktopOptions.css.d.ts +4 -0
- package/dist/components/ConnectOptions/DesktopOptions.d.ts +15 -0
- package/dist/components/ConnectOptions/FunConnectOptions.d.ts +11 -0
- package/dist/components/ConnectOptions/MobileOptions.css.d.ts +1 -0
- package/dist/components/ConnectOptions/MobileOptions.d.ts +4 -0
- package/dist/components/Dialog/Dialog.css.d.ts +5 -0
- package/dist/components/Dialog/Dialog.d.ts +12 -0
- package/dist/components/Dialog/DialogContent.css.d.ts +6 -0
- package/dist/components/Dialog/DialogContent.d.ts +12 -0
- package/dist/components/Dialog/FocusTrap.d.ts +2 -0
- package/dist/components/Disclaimer/DisclaimerLink.d.ts +5 -0
- package/dist/components/Disclaimer/DisclaimerText.d.ts +4 -0
- package/dist/components/FunButton/FunBackButton.d.ts +4 -0
- package/dist/components/FunButton/FunButton.css.d.ts +3 -0
- package/dist/components/FunButton/FunButton.d.ts +18 -0
- package/dist/components/FunButton/FunIconButton.d.ts +16 -0
- package/dist/components/FunButton/FunLinkButton.d.ts +9 -0
- package/dist/components/FunButton/FunViewTxButton.d.ts +4 -0
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +7 -0
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +8 -0
- package/dist/components/FunCheckoutModal/FunCheckoutConfirmation.css.d.ts +7 -0
- package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +9 -0
- package/dist/components/FunCheckoutModal/FunCheckoutModal.d.ts +15 -0
- package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +9 -0
- package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.css.d.ts +7 -0
- package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +12 -0
- package/dist/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +6 -0
- package/dist/components/FunConfirmDialog/FunConfirmDialog.d.ts +12 -0
- package/dist/components/FunConnectModal/FunConnectModal.d.ts +6 -0
- package/dist/components/FunContainer/FunContainer.d.ts +11 -0
- package/dist/components/FunDevTestModal/FunDevTestModal.d.ts +6 -0
- package/dist/components/FunDivider/FunDivider.d.ts +7 -0
- package/dist/components/FunInput/FunInput.css.d.ts +2 -0
- package/dist/components/FunInput/FunInput.d.ts +28 -0
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +24 -0
- package/dist/components/FunMeshTwoFactorStep/FunMeshTwoFactorStep.d.ts +9 -0
- package/dist/components/FunModalTitleSection/FunModalTitleSection.css.d.ts +7 -0
- package/dist/components/FunModalTitleSection/FunModalTitleSection.d.ts +12 -0
- package/dist/components/FunNotification/FunCheckoutNotification.d.ts +6 -0
- package/dist/components/FunNotification/FunNotification.d.ts +12 -0
- package/dist/components/FunOnramp/FunOnramp.css.d.ts +7 -0
- package/dist/components/FunOnramp/FunOnrampConfirmation.css.d.ts +7 -0
- package/dist/components/FunOnramp/FunOnrampConfirmationStep.d.ts +17 -0
- package/dist/components/FunOnramp/FunOnrampInputStep.d.ts +8 -0
- package/dist/components/FunOnramp/FunOnrampPrimaryItem.d.ts +5 -0
- package/dist/components/FunOnramp/FunOnrampProcessingStep.d.ts +6 -0
- package/dist/components/FunPayments/FunPaymentMeshType.css.d.ts +7 -0
- package/dist/components/FunPayments/FunPaymentMeshType.d.ts +10 -0
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +52 -0
- package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +10 -0
- package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +13 -0
- package/dist/components/FunPayments/FunPaymentSetup.d.ts +18 -0
- package/dist/components/FunPayments/FunPaymentTransferType.css.d.ts +7 -0
- package/dist/components/FunPayments/FunPaymentTransferType.d.ts +6 -0
- package/dist/components/FunPayments/FunPayments.css.d.ts +7 -0
- package/dist/components/FunProgressBar/FunHorizontalStepper.d.ts +7 -0
- package/dist/components/FunProgressBar/FunProgressBar.d.ts +6 -0
- package/dist/components/FunProgressBar/FunVerticalProgressBar.d.ts +14 -0
- package/dist/components/FunSelect/FunClickOutside.d.ts +8 -0
- package/dist/components/FunSelect/FunSelect.d.ts +24 -0
- package/dist/components/FunSignInFlow/FunSignInStep.css.d.ts +2 -0
- package/dist/components/FunSignInFlow/FunSignInStep.d.ts +14 -0
- package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.css.d.ts +7 -0
- package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.d.ts +9 -0
- package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.css.d.ts +7 -0
- package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.d.ts +9 -0
- package/dist/components/FunStates/FunErrorContent.d.ts +10 -0
- package/dist/components/FunTermsAndConditionsTextButton/FunTermsAndConditionsTextButton.d.ts +2 -0
- package/dist/components/FunToast/FunShortToast.css.d.ts +10 -0
- package/dist/components/FunToast/FunShortToast.d.ts +3 -0
- package/dist/components/FunToast/FunToast.d.ts +18 -0
- package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +13 -0
- package/dist/components/FunkitProvider/AuthenticationContext.d.ts +35 -0
- package/dist/components/FunkitProvider/AvatarContext.d.ts +9 -0
- package/dist/components/FunkitProvider/CoolModeContext.d.ts +2 -0
- package/dist/components/FunkitProvider/FunToastContext.d.ts +11 -0
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +130 -0
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +18 -0
- package/dist/components/FunkitProvider/FunkitConnectChainContext.d.ts +19 -0
- package/dist/components/FunkitProvider/FunkitProvider.d.ts +18 -0
- package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +347 -0
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +19 -0
- package/dist/components/FunkitProvider/I18nContext.d.ts +9 -0
- package/dist/components/FunkitProvider/ModalContext.d.ts +41 -0
- package/dist/components/FunkitProvider/ModalSizeContext.d.ts +7 -0
- package/dist/components/FunkitProvider/provideFunkitConnectChains.d.ts +3 -0
- package/dist/components/FunkitProvider/useCoolMode.d.ts +2 -0
- package/dist/components/FunkitProvider/useFingerprint.d.ts +1 -0
- package/dist/components/FunkitProvider/usePreloadImages.d.ts +1 -0
- package/dist/components/FunkitProvider/walletConnectDeepLink.d.ts +5 -0
- package/dist/components/FunkitWeb2Provider/FunkitWeb2Provider.d.ts +67 -0
- package/dist/components/Icons/AcornsIcon.d.ts +2 -0
- package/dist/components/Icons/AlpacaIcon.d.ts +2 -0
- package/dist/components/Icons/Assets.d.ts +3 -0
- package/dist/components/Icons/Back.d.ts +2 -0
- package/dist/components/Icons/BinanceIcon.d.ts +2 -0
- package/dist/components/Icons/BitFlyerIcon.d.ts +2 -0
- package/dist/components/Icons/BitstampIcon.d.ts +2 -0
- package/dist/components/Icons/BridgeIcon.d.ts +2 -0
- package/dist/components/Icons/BybitIcon.d.ts +2 -0
- package/dist/components/Icons/Cancel.d.ts +2 -0
- package/dist/components/Icons/CexloIcon.d.ts +2 -0
- package/dist/components/Icons/ClockIcon.d.ts +2 -0
- package/dist/components/Icons/Close.d.ts +2 -0
- package/dist/components/Icons/CoinIcon.d.ts +4 -0
- package/dist/components/Icons/Coinbase.d.ts +2 -0
- package/dist/components/Icons/CoinlistIcon.d.ts +2 -0
- package/dist/components/Icons/Connect.d.ts +3 -0
- package/dist/components/Icons/Copied.d.ts +2 -0
- package/dist/components/Icons/Copy.d.ts +2 -0
- package/dist/components/Icons/Create.d.ts +3 -0
- package/dist/components/Icons/CreditCardDots.d.ts +2 -0
- package/dist/components/Icons/CryptoComIcon.d.ts +2 -0
- package/dist/components/Icons/Disconnect.d.ts +2 -0
- package/dist/components/Icons/DisconnectSq.d.ts +4 -0
- package/dist/components/Icons/Dropdown.d.ts +2 -0
- package/dist/components/Icons/EthereumIcon.d.ts +4 -0
- package/dist/components/Icons/EtoroIcon.d.ts +2 -0
- package/dist/components/Icons/EtradeIcon.d.ts +2 -0
- package/dist/components/Icons/Explore.d.ts +2 -0
- package/dist/components/Icons/ExternalLink.d.ts +2 -0
- package/dist/components/Icons/FunArrows.d.ts +5 -0
- package/dist/components/Icons/FunBackIcon.d.ts +2 -0
- package/dist/components/Icons/GateIo.d.ts +2 -0
- package/dist/components/Icons/GeminiIcon.d.ts +2 -0
- package/dist/components/Icons/HuobiIcon.d.ts +2 -0
- package/dist/components/Icons/Icons.css.d.ts +3 -0
- package/dist/components/Icons/Info.d.ts +3 -0
- package/dist/components/Icons/KrakenIcon.d.ts +2 -0
- package/dist/components/Icons/KucoinIcon.d.ts +2 -0
- package/dist/components/Icons/LightningIcon.d.ts +2 -0
- package/dist/components/Icons/LinkIcon.d.ts +2 -0
- package/dist/components/Icons/Login.d.ts +3 -0
- package/dist/components/Icons/LogoutIcon.d.ts +2 -0
- package/dist/components/Icons/MastercardIcon.d.ts +2 -0
- package/dist/components/Icons/MmFox.d.ts +2 -0
- package/dist/components/Icons/NoAssetsFoundIcon.d.ts +4 -0
- package/dist/components/Icons/OkcoinIcon.d.ts +2 -0
- package/dist/components/Icons/OkxIcon.d.ts +2 -0
- package/dist/components/Icons/PasskeyIcon.d.ts +2 -0
- package/dist/components/Icons/PaymentMethodIcons.d.ts +5 -0
- package/dist/components/Icons/PlusIcon.d.ts +2 -0
- package/dist/components/Icons/ProfileIcon.d.ts +2 -0
- package/dist/components/Icons/PublicIcon.d.ts +2 -0
- package/dist/components/Icons/ReceiptIcon.d.ts +2 -0
- package/dist/components/Icons/Refresh.d.ts +3 -0
- package/dist/components/Icons/RobinhoodIcon.d.ts +2 -0
- package/dist/components/Icons/Scan.d.ts +3 -0
- package/dist/components/Icons/SearchIcon.d.ts +4 -0
- package/dist/components/Icons/SettingsIcon.d.ts +2 -0
- package/dist/components/Icons/SocialMediaIcons.d.ts +4 -0
- package/dist/components/Icons/Spinner.d.ts +5 -0
- package/dist/components/Icons/StEthIcon.d.ts +2 -0
- package/dist/components/Icons/StashIcon.d.ts +2 -0
- package/dist/components/Icons/Success.d.ts +2 -0
- package/dist/components/Icons/SuccessNoBorder.d.ts +2 -0
- package/dist/components/Icons/SwapIcon.d.ts +2 -0
- package/dist/components/Icons/SwitchAccount.d.ts +2 -0
- package/dist/components/Icons/TransferIcon.d.ts +2 -0
- package/dist/components/Icons/USDCIcon.d.ts +2 -0
- package/dist/components/Icons/WalletIcon.d.ts +3 -0
- package/dist/components/Icons/WeBullIcon.d.ts +2 -0
- package/dist/components/Icons/WhiteDotIcon.d.ts +2 -0
- package/dist/components/InfoButton/InfoButton.d.ts +5 -0
- package/dist/components/MenuButton/MenuButton.css.d.ts +1 -0
- package/dist/components/MenuButton/MenuButton.d.ts +9 -0
- package/dist/components/ModalSelection/ModalSelection.css.d.ts +1 -0
- package/dist/components/ModalSelection/ModalSelection.d.ts +17 -0
- package/dist/components/ProfileDetails/EoaProfileDetails.d.ts +15 -0
- package/dist/components/ProfileDetails/FunWalletProfileDetails.d.ts +19 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.css.d.ts +7 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.d.ts +5 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWBridge.d.ts +9 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWDeposit.d.ts +11 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHome.css.d.ts +17 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeCheckoutSection.d.ts +4 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeTokenDisplayRow.d.ts +4 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/index.d.ts +6 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.css.d.ts +7 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.d.ts +10 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSwap.d.ts +5 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FunArrowItem.d.ts +4 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FunSelectionSection.d.ts +11 -0
- package/dist/components/ProfileDetails/ProfileDetailsAction.d.ts +10 -0
- package/dist/components/QRCode/QRCode.d.ts +13 -0
- package/dist/components/SignIn/SignIn.d.ts +5 -0
- package/dist/components/SkeletalLoader/SkeletalLoader.css.d.ts +1 -0
- package/dist/components/SkeletalLoader/SkeletalLoader.d.ts +2 -0
- package/dist/components/Text/Text.d.ts +18 -0
- package/dist/components/TwoFaInputField/FunTwoFaInput.d.ts +10 -0
- package/dist/components/Txs/TxItem.d.ts +7 -0
- package/dist/components/Txs/TxList.d.ts +7 -0
- package/dist/components/Txs/Txs.css.d.ts +2 -0
- package/dist/components/index.css +1584 -513
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +3 -3
- package/dist/consts/assets.d.ts +26 -0
- package/dist/consts/funkit.d.ts +9 -0
- package/dist/css/animations.css.d.ts +9 -0
- package/dist/css/atoms.d.ts +6 -0
- package/dist/css/cssObjectFromTheme.d.ts +6 -0
- package/dist/css/cssStringFromTheme.d.ts +4 -0
- package/dist/css/reset.css.d.ts +14 -0
- package/dist/css/sprinkles.css.d.ts +3492 -0
- package/dist/css/touchableStyles.css.d.ts +4 -0
- package/dist/css/touchableStyles.d.ts +8 -0
- package/dist/hooks/useChainId.d.ts +1 -0
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +31 -0
- package/dist/hooks/useCheckoutStateBooleans.d.ts +9 -0
- package/dist/hooks/useConnectionStatus.d.ts +7 -0
- package/dist/hooks/useDebouncedCallback.d.ts +1 -0
- package/dist/hooks/useFunListeners.d.ts +8 -0
- package/dist/hooks/useIsMounted.d.ts +1 -0
- package/dist/hooks/useMainnet.d.ts +4 -0
- package/dist/hooks/useMainnetEnsAvatar.d.ts +1 -0
- package/dist/hooks/useMainnetEnsName.d.ts +1 -0
- package/dist/hooks/useMesh.d.ts +32 -0
- package/dist/hooks/useSymbolRefresh.d.ts +7 -0
- package/dist/hooks/useWindowSize.d.ts +4 -0
- package/dist/index.css +1584 -513
- package/dist/index.d.ts +18 -0
- package/dist/index.js +3 -3
- package/dist/locales/index.d.ts +3 -0
- package/dist/themes/baseTheme.d.ts +25 -0
- package/dist/themes/darkTheme.d.ts +85 -0
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.d.ts +85 -0
- package/dist/themes/lightTheme.js +1 -1
- package/dist/transactions/TransactionStoreContext.d.ts +151 -0
- package/dist/transactions/transactionStore.d.ts +21 -0
- package/dist/transactions/useAddRecentTransaction.d.ts +2 -0
- package/dist/transactions/useClearRecentTransactions.d.ts +1 -0
- package/dist/transactions/useRecentTransactions.d.ts +2 -0
- package/dist/types.d.ts +4 -0
- package/dist/utils/Logger.d.ts +25 -0
- package/dist/utils/browsers.d.ts +13 -0
- package/dist/utils/chainToExplorerUrl.d.ts +2 -0
- package/dist/utils/checkout.d.ts +99 -0
- package/dist/utils/colors.d.ts +3 -0
- package/dist/utils/emailandPhoneValidator.d.ts +5 -0
- package/dist/utils/flatten.d.ts +1 -0
- package/dist/utils/formatNumber.d.ts +53 -0
- package/dist/utils/formatTimestamp.d.ts +1 -0
- package/dist/utils/funkitProvider.d.ts +6 -0
- package/dist/utils/funwallet.d.ts +1 -0
- package/dist/utils/getWalletConnectUri.d.ts +2 -0
- package/dist/utils/groupBy.d.ts +1 -0
- package/dist/utils/indexBy.d.ts +1 -0
- package/dist/utils/isMobile.d.ts +5 -0
- package/dist/utils/isNotNullish.d.ts +1 -0
- package/dist/utils/locale.d.ts +1 -0
- package/dist/utils/mesh.d.ts +57 -0
- package/dist/utils/moonpay.d.ts +1 -0
- package/dist/utils/omitUndefinedValues.d.ts +1 -0
- package/dist/utils/platforms.d.ts +10 -0
- package/dist/wallets/Wallet.d.ts +86 -0
- package/dist/wallets/connectorsForWallets.d.ts +2 -0
- package/dist/wallets/downloadUrls.d.ts +4 -0
- package/dist/wallets/getDefaultWallets.d.ts +11 -0
- package/dist/wallets/getInjectedConnector.d.ts +10 -0
- package/dist/wallets/getWalletConnectConnector.d.ts +26 -0
- package/dist/wallets/recentWalletIds.d.ts +2 -0
- package/dist/wallets/useWalletConnectors.d.ts +13 -0
- package/dist/wallets/walletConnectors/@funkitConnectWallet/funkitConnectWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +18 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +39 -0
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/{chunk-AFMQLXY2.js → chunk-363R4ANA.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-4FQ2OCM4.js → chunk-3AGSQ2RN.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-PATI3A3F.js → chunk-3DY3HAMM.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-DS2NHYCT.js → chunk-3EHPYNDW.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-Y4EWYKDM.js → chunk-5FDGJMHJ.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-TBZII4VB.js → chunk-AM2WFIQL.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-G2HR4ZFS.js → chunk-API5X5WH.js} +4 -4
- package/dist/wallets/walletConnectors/chunk-BBUYSZBE.js +52 -0
- package/dist/wallets/walletConnectors/{chunk-OV2JRO7A.js → chunk-BBVH7CPS.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-EXTKISYU.js → chunk-BG2VHSGN.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-2T67SC63.js → chunk-BUX4O2MX.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-4LHUAGGQ.js → chunk-CJA6ERXY.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-BYGJDC6Y.js → chunk-EHO5SY4G.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-FCZN3LHW.js +71 -0
- package/dist/wallets/walletConnectors/chunk-FEDNFTC5.js +71 -0
- package/dist/wallets/walletConnectors/{chunk-OH3HGTQV.js → chunk-G62ST53R.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-GAP7NFIO.js +84 -0
- package/dist/wallets/walletConnectors/{chunk-4CGDJKUJ.js → chunk-J3HOIBZW.js} +4 -4
- package/dist/wallets/walletConnectors/chunk-JEPFSTAY.js +71 -0
- package/dist/wallets/walletConnectors/{chunk-M5VGZ2QW.js → chunk-JEVYZEBJ.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-JZNHIWCA.js +114 -0
- package/dist/wallets/walletConnectors/chunk-K5J2FLUB.js +226 -0
- package/dist/wallets/walletConnectors/{chunk-JC5DQVHX.js → chunk-KQ3NBNAM.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-EUSM6MRB.js → chunk-OJAMLRYU.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-ZGVEVXA7.js → chunk-PX5UW3Z2.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-QEJK5CFP.js +102 -0
- package/dist/wallets/walletConnectors/{chunk-TT2SHVBF.js → chunk-QOK4O2YL.js} +4 -4
- package/dist/wallets/walletConnectors/chunk-RZE4WHVP.js +112 -0
- package/dist/wallets/walletConnectors/{chunk-THH76QKN.js → chunk-SMDKR4XA.js} +4 -4
- package/dist/wallets/walletConnectors/chunk-SMEQQ574.js +117 -0
- package/dist/wallets/walletConnectors/{chunk-7HTS7H5B.js → chunk-TOIRQMDJ.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-VSCNQC5L.js +105 -0
- package/dist/wallets/walletConnectors/chunk-WQ5A5VAG.js +113 -0
- package/dist/wallets/walletConnectors/{chunk-237HEA4B.js → chunk-WSYSB5XX.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-YK74CZ2K.js +110 -0
- package/dist/wallets/walletConnectors/{chunk-IVIQBLOK.js → chunk-YUE47K7K.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-ZXXXGTCN.js +81 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +15 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +22 -0
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +24 -0
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +11 -0
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +22 -0
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.d.ts +41 -0
- package/dist/wallets/walletConnectors/index.js +59 -59
- package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
- package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +11 -0
- package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +12 -0
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +22 -0
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +12 -0
- package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +12 -0
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +22 -0
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.js +2 -2
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.js +2 -2
- package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +12 -0
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -5
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector,
|
|
4
|
+
getWalletConnectUri
|
|
5
|
+
} from "./chunk-OJAMLRYU.js";
|
|
6
|
+
import {
|
|
7
|
+
isAndroid
|
|
8
|
+
} from "./chunk-ZOLACFTK.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/ledgerWallet/ledgerWallet.ts
|
|
11
|
+
var ledgerWallet = ({
|
|
12
|
+
chains,
|
|
13
|
+
projectId,
|
|
14
|
+
walletConnectOptions,
|
|
15
|
+
walletConnectVersion = "2"
|
|
16
|
+
}) => ({
|
|
17
|
+
id: "ledger",
|
|
18
|
+
iconBackground: "#000",
|
|
19
|
+
iconAccent: "#000",
|
|
20
|
+
name: "Ledger",
|
|
21
|
+
iconUrl: async () => (await import("./ledgerWallet-DIS4VM6H.js")).default,
|
|
22
|
+
downloadUrls: {
|
|
23
|
+
android: "https://play.google.com/store/apps/details?id=com.ledger.live",
|
|
24
|
+
ios: "https://apps.apple.com/us/app/ledger-live-web3-wallet/id1361671700",
|
|
25
|
+
mobile: "https://www.ledger.com/ledger-live",
|
|
26
|
+
qrCode: "https://r354.adj.st/?adj_t=t2esmlk",
|
|
27
|
+
windows: "https://www.ledger.com/ledger-live/download",
|
|
28
|
+
macos: "https://www.ledger.com/ledger-live/download",
|
|
29
|
+
linux: "https://www.ledger.com/ledger-live/download",
|
|
30
|
+
desktop: "https://www.ledger.com/ledger-live"
|
|
31
|
+
},
|
|
32
|
+
createConnector: () => {
|
|
33
|
+
const connector = getWalletConnectConnector({
|
|
34
|
+
projectId,
|
|
35
|
+
chains,
|
|
36
|
+
version: walletConnectVersion,
|
|
37
|
+
options: walletConnectOptions
|
|
38
|
+
});
|
|
39
|
+
return {
|
|
40
|
+
connector,
|
|
41
|
+
mobile: {
|
|
42
|
+
getUri: async () => {
|
|
43
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
44
|
+
return isAndroid() ? uri : `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
desktop: {
|
|
48
|
+
getUri: async () => {
|
|
49
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
50
|
+
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
51
|
+
},
|
|
52
|
+
instructions: {
|
|
53
|
+
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
54
|
+
steps: [
|
|
55
|
+
{
|
|
56
|
+
description: "wallet_connectors.ledger.desktop.step1.description",
|
|
57
|
+
step: "install",
|
|
58
|
+
title: "wallet_connectors.ledger.desktop.step1.title"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
description: "wallet_connectors.ledger.desktop.step2.description",
|
|
62
|
+
step: "create",
|
|
63
|
+
title: "wallet_connectors.ledger.desktop.step2.title"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
description: "wallet_connectors.ledger.desktop.step3.description",
|
|
67
|
+
step: "connect",
|
|
68
|
+
title: "wallet_connectors.ledger.desktop.step3.title"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
qrCode: {
|
|
74
|
+
getUri: async () => {
|
|
75
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
76
|
+
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
77
|
+
},
|
|
78
|
+
instructions: {
|
|
79
|
+
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
80
|
+
steps: [
|
|
81
|
+
{
|
|
82
|
+
description: "wallet_connectors.ledger.qr_code.step1.description",
|
|
83
|
+
step: "install",
|
|
84
|
+
title: "wallet_connectors.ledger.qr_code.step1.title"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
description: "wallet_connectors.ledger.qr_code.step2.description",
|
|
88
|
+
step: "create",
|
|
89
|
+
title: "wallet_connectors.ledger.qr_code.step2.title"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
description: "wallet_connectors.ledger.qr_code.step3.description",
|
|
93
|
+
step: "scan",
|
|
94
|
+
title: "wallet_connectors.ledger.qr_code.step3.title"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
export {
|
|
104
|
+
ledgerWallet
|
|
105
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector,
|
|
4
|
+
getWalletConnectUri
|
|
5
|
+
} from "./chunk-OJAMLRYU.js";
|
|
6
|
+
import {
|
|
7
|
+
isAndroid
|
|
8
|
+
} from "./chunk-ZOLACFTK.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/okxWallet/okxWallet.ts
|
|
11
|
+
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
12
|
+
var okxWallet = ({
|
|
13
|
+
chains,
|
|
14
|
+
projectId,
|
|
15
|
+
walletConnectOptions,
|
|
16
|
+
walletConnectVersion = "2",
|
|
17
|
+
...options
|
|
18
|
+
}) => {
|
|
19
|
+
const isOKXInjected = typeof window !== "undefined" && typeof window.okxwallet !== "undefined";
|
|
20
|
+
const shouldUseWalletConnect = !isOKXInjected;
|
|
21
|
+
return {
|
|
22
|
+
id: "okx",
|
|
23
|
+
name: "OKX Wallet",
|
|
24
|
+
iconUrl: async () => (await import("./okxWallet-GKYMI2XW.js")).default,
|
|
25
|
+
iconAccent: "#000",
|
|
26
|
+
iconBackground: "#000",
|
|
27
|
+
downloadUrls: {
|
|
28
|
+
android: "https://play.google.com/store/apps/details?id=com.okinc.okex.gp",
|
|
29
|
+
ios: "https://itunes.apple.com/app/id1327268470?mt=8",
|
|
30
|
+
mobile: "https://okx.com/download",
|
|
31
|
+
qrCode: "https://okx.com/download",
|
|
32
|
+
chrome: "https://chrome.google.com/webstore/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge",
|
|
33
|
+
edge: "https://microsoftedge.microsoft.com/addons/detail/okx-wallet/pbpjkcldjiffchgbbndmhojiacbgflha",
|
|
34
|
+
firefox: "https://addons.mozilla.org/firefox/addon/okexwallet/",
|
|
35
|
+
browserExtension: "https://okx.com/download"
|
|
36
|
+
},
|
|
37
|
+
createConnector: () => {
|
|
38
|
+
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
39
|
+
projectId,
|
|
40
|
+
chains,
|
|
41
|
+
version: walletConnectVersion,
|
|
42
|
+
options: walletConnectOptions
|
|
43
|
+
}) : new InjectedConnector({
|
|
44
|
+
chains,
|
|
45
|
+
options: {
|
|
46
|
+
getProvider: () => window.okxwallet,
|
|
47
|
+
...options
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
return {
|
|
51
|
+
connector,
|
|
52
|
+
mobile: {
|
|
53
|
+
getUri: shouldUseWalletConnect ? async () => {
|
|
54
|
+
const uri = await getWalletConnectUri(
|
|
55
|
+
connector,
|
|
56
|
+
walletConnectVersion
|
|
57
|
+
);
|
|
58
|
+
return isAndroid() ? uri : `okex://main/wc?uri=${encodeURIComponent(uri)}`;
|
|
59
|
+
} : void 0
|
|
60
|
+
},
|
|
61
|
+
qrCode: shouldUseWalletConnect ? {
|
|
62
|
+
getUri: async () => getWalletConnectUri(connector, walletConnectVersion),
|
|
63
|
+
instructions: {
|
|
64
|
+
learnMoreUrl: "https://okx.com/web3/",
|
|
65
|
+
steps: [
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.okx.qr_code.step1.description",
|
|
68
|
+
step: "install",
|
|
69
|
+
title: "wallet_connectors.okx.qr_code.step1.title"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "wallet_connectors.okx.qr_code.step2.description",
|
|
73
|
+
step: "create",
|
|
74
|
+
title: "wallet_connectors.okx.qr_code.step2.title"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
description: "wallet_connectors.okx.qr_code.step3.description",
|
|
78
|
+
step: "scan",
|
|
79
|
+
title: "wallet_connectors.okx.qr_code.step3.title"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
} : void 0,
|
|
84
|
+
extension: {
|
|
85
|
+
instructions: {
|
|
86
|
+
learnMoreUrl: "https://okx.com/web3/",
|
|
87
|
+
steps: [
|
|
88
|
+
{
|
|
89
|
+
description: "wallet_connectors.okx.extension.step1.description",
|
|
90
|
+
step: "install",
|
|
91
|
+
title: "wallet_connectors.okx.extension.step1.title"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
description: "wallet_connectors.okx.extension.step2.description",
|
|
95
|
+
step: "create",
|
|
96
|
+
title: "wallet_connectors.okx.extension.step2.title"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
description: "wallet_connectors.okx.extension.step3.description",
|
|
100
|
+
step: "refresh",
|
|
101
|
+
title: "wallet_connectors.okx.extension.step3.title"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export {
|
|
112
|
+
okxWallet
|
|
113
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector,
|
|
4
|
+
getWalletConnectUri
|
|
5
|
+
} from "./chunk-OJAMLRYU.js";
|
|
6
|
+
import {
|
|
7
|
+
isIOS
|
|
8
|
+
} from "./chunk-ZOLACFTK.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
|
|
11
|
+
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
12
|
+
var zerionWallet = ({
|
|
13
|
+
chains,
|
|
14
|
+
projectId,
|
|
15
|
+
walletConnectOptions,
|
|
16
|
+
walletConnectVersion = "2",
|
|
17
|
+
...options
|
|
18
|
+
}) => {
|
|
19
|
+
const isZerionInjected = typeof window !== "undefined" && (typeof window.ethereum !== "undefined" && window.ethereum.isZerion || typeof window.zerionWallet !== "undefined");
|
|
20
|
+
const shouldUseWalletConnect = !isZerionInjected;
|
|
21
|
+
return {
|
|
22
|
+
id: "zerion",
|
|
23
|
+
name: "Zerion",
|
|
24
|
+
iconUrl: async () => (await import("./zerionWallet-35GMAYN4.js")).default,
|
|
25
|
+
iconAccent: "#2962ef",
|
|
26
|
+
iconBackground: "#2962ef",
|
|
27
|
+
installed: !shouldUseWalletConnect ? isZerionInjected : void 0,
|
|
28
|
+
downloadUrls: {
|
|
29
|
+
android: "https://play.google.com/store/apps/details?id=io.zerion.android",
|
|
30
|
+
ios: "https://apps.apple.com/app/apple-store/id1456732565",
|
|
31
|
+
mobile: "https://link.zerion.io/pt3gdRP0njb",
|
|
32
|
+
qrCode: "https://link.zerion.io/pt3gdRP0njb",
|
|
33
|
+
chrome: "https://chrome.google.com/webstore/detail/klghhnkeealcohjjanjjdaeeggmfmlpl",
|
|
34
|
+
browserExtension: "https://zerion.io/extension"
|
|
35
|
+
},
|
|
36
|
+
createConnector: () => {
|
|
37
|
+
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
38
|
+
projectId,
|
|
39
|
+
chains,
|
|
40
|
+
version: walletConnectVersion,
|
|
41
|
+
options: walletConnectOptions
|
|
42
|
+
}) : new InjectedConnector({
|
|
43
|
+
chains,
|
|
44
|
+
options: {
|
|
45
|
+
getProvider: () => typeof window !== "undefined" ? window.zerionWallet || window.ethereum : void 0,
|
|
46
|
+
...options
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
const getUri = async () => {
|
|
50
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
51
|
+
return isIOS() ? `zerion://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
52
|
+
};
|
|
53
|
+
return {
|
|
54
|
+
connector,
|
|
55
|
+
mobile: {
|
|
56
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
57
|
+
},
|
|
58
|
+
qrCode: shouldUseWalletConnect ? {
|
|
59
|
+
getUri,
|
|
60
|
+
instructions: {
|
|
61
|
+
learnMoreUrl: "https://zerion.io/blog/announcing-the-zerion-smart-wallet/",
|
|
62
|
+
steps: [
|
|
63
|
+
{
|
|
64
|
+
description: "wallet_connectors.zerion.qr_code.step1.description",
|
|
65
|
+
step: "install",
|
|
66
|
+
title: "wallet_connectors.zerion.qr_code.step1.title"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
description: "wallet_connectors.zerion.qr_code.step2.description",
|
|
70
|
+
step: "create",
|
|
71
|
+
title: "wallet_connectors.zerion.qr_code.step2.title"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
description: "wallet_connectors.zerion.qr_code.step3.description",
|
|
75
|
+
step: "scan",
|
|
76
|
+
title: "wallet_connectors.zerion.qr_code.step3.title"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
} : void 0,
|
|
81
|
+
extension: {
|
|
82
|
+
instructions: {
|
|
83
|
+
learnMoreUrl: "https://help.zerion.io/en/",
|
|
84
|
+
steps: [
|
|
85
|
+
{
|
|
86
|
+
description: "wallet_connectors.zerion.extension.step1.description",
|
|
87
|
+
step: "install",
|
|
88
|
+
title: "wallet_connectors.zerion.extension.step1.title"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
description: "wallet_connectors.zerion.extension.step2.description",
|
|
92
|
+
step: "create",
|
|
93
|
+
title: "wallet_connectors.zerion.extension.step2.title"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
description: "wallet_connectors.zerion.extension.step3.description",
|
|
97
|
+
step: "refresh",
|
|
98
|
+
title: "wallet_connectors.zerion.extension.step3.title"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export {
|
|
109
|
+
zerionWallet
|
|
110
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
5
|
+
import {
|
|
6
|
+
getWalletConnectConnector,
|
|
7
|
+
getWalletConnectUri
|
|
8
|
+
} from "./chunk-OJAMLRYU.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
|
|
11
|
+
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
12
|
+
var bifrostWallet = ({
|
|
13
|
+
chains,
|
|
14
|
+
projectId,
|
|
15
|
+
walletConnectOptions,
|
|
16
|
+
walletConnectVersion = "2",
|
|
17
|
+
...options
|
|
18
|
+
}) => {
|
|
19
|
+
const isBifrostInjected = typeof window !== "undefined" && typeof window.ethereum !== "undefined" && window.ethereum.isBifrost;
|
|
20
|
+
const shouldUseWalletConnect = !isBifrostInjected;
|
|
21
|
+
return {
|
|
22
|
+
id: "bifrostWallet",
|
|
23
|
+
name: "Bifrost Wallet",
|
|
24
|
+
iconUrl: async () => (await import("./bifrostWallet-5VPKXMCJ.js")).default,
|
|
25
|
+
iconBackground: "#fff",
|
|
26
|
+
installed: !shouldUseWalletConnect ? isBifrostInjected : void 0,
|
|
27
|
+
downloadUrls: {
|
|
28
|
+
android: "https://play.google.com/store/apps/details?id=com.bifrostwallet.app",
|
|
29
|
+
ios: "https://apps.apple.com/us/app/bifrost-wallet/id1577198351",
|
|
30
|
+
qrCode: "https://bifrostwallet.com/#download-app"
|
|
31
|
+
},
|
|
32
|
+
createConnector: () => {
|
|
33
|
+
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
34
|
+
chains,
|
|
35
|
+
projectId,
|
|
36
|
+
options: walletConnectOptions,
|
|
37
|
+
version: walletConnectVersion
|
|
38
|
+
}) : new InjectedConnector({
|
|
39
|
+
chains,
|
|
40
|
+
options
|
|
41
|
+
});
|
|
42
|
+
const getUri = async () => {
|
|
43
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
44
|
+
return isAndroid() ? uri : `https://app.bifrostwallet.com/wc?uri=${encodeURIComponent(uri)}`;
|
|
45
|
+
};
|
|
46
|
+
return {
|
|
47
|
+
connector,
|
|
48
|
+
mobile: {
|
|
49
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
50
|
+
},
|
|
51
|
+
qrCode: shouldUseWalletConnect ? {
|
|
52
|
+
getUri: async () => getWalletConnectUri(connector, walletConnectVersion),
|
|
53
|
+
instructions: {
|
|
54
|
+
learnMoreUrl: "https://support.bifrostwallet.com/en/articles/6886814-how-to-use-walletconnect",
|
|
55
|
+
steps: [
|
|
56
|
+
{
|
|
57
|
+
description: "wallet_connectors.bifrost.qr_code.step1.description",
|
|
58
|
+
step: "install",
|
|
59
|
+
title: "wallet_connectors.bifrost.qr_code.step1.title"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
description: "wallet_connectors.bifrost.qr_code.step2.description",
|
|
63
|
+
step: "create",
|
|
64
|
+
title: "wallet_connectors.bifrost.qr_code.step2.title"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.bifrost.qr_code.step3.description",
|
|
68
|
+
step: "scan",
|
|
69
|
+
title: "wallet_connectors.bifrost.qr_code.step3.title"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
} : void 0
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export {
|
|
80
|
+
bifrostWallet
|
|
81
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
2
|
+
import { WalletConnectConnectorOptions } from '../../getWalletConnectConnector';
|
|
3
|
+
import { Wallet } from '../../Wallet';
|
|
4
|
+
export interface CLVWalletOptions {
|
|
5
|
+
projectId: string;
|
|
6
|
+
chains: Chain[];
|
|
7
|
+
walletConnectVersion?: '2';
|
|
8
|
+
walletConnectOptions?: WalletConnectConnectorOptions;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface Window {
|
|
12
|
+
clover: any;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export declare const clvWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, }: CLVWalletOptions) => Wallet;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
|
|
2
|
+
import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
3
|
+
import { WalletConnectConnectorOptions, WalletConnectLegacyConnectorOptions } from '../../getWalletConnectConnector';
|
|
4
|
+
import { Wallet } from '../../Wallet';
|
|
5
|
+
declare global {
|
|
6
|
+
interface Window {
|
|
7
|
+
coin98Wallet: Window['ethereum'];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export interface Coin98WalletLegacyOptions {
|
|
11
|
+
projectId?: string;
|
|
12
|
+
chains: Chain[];
|
|
13
|
+
walletConnectVersion: '1';
|
|
14
|
+
walletConnectOptions?: WalletConnectLegacyConnectorOptions;
|
|
15
|
+
}
|
|
16
|
+
export interface Coin98WalletOptions {
|
|
17
|
+
projectId: string;
|
|
18
|
+
chains: Chain[];
|
|
19
|
+
walletConnectVersion?: '2';
|
|
20
|
+
walletConnectOptions?: WalletConnectConnectorOptions;
|
|
21
|
+
}
|
|
22
|
+
export declare const coin98Wallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, ...options }: (Coin98WalletLegacyOptions | Coin98WalletOptions) & InjectedConnectorOptions) => Wallet;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
2
|
+
import { Wallet } from '../../Wallet';
|
|
3
|
+
export interface CoinbaseWalletOptions {
|
|
4
|
+
appName: string;
|
|
5
|
+
chains: Chain[];
|
|
6
|
+
}
|
|
7
|
+
export declare const coinbaseWallet: ({ appName, chains, ...options }: CoinbaseWalletOptions) => Wallet;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
|
|
2
|
+
import { WindowProvider } from 'wagmi';
|
|
3
|
+
import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
4
|
+
import { WalletConnectConnectorOptions, WalletConnectLegacyConnectorOptions } from '../../getWalletConnectConnector';
|
|
5
|
+
import { Wallet } from '../../Wallet';
|
|
6
|
+
declare global {
|
|
7
|
+
interface Window {
|
|
8
|
+
evmproviders?: Record<string, WindowProvider>;
|
|
9
|
+
avalanche?: WindowProvider;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export interface CoreWalletLegacyOptions {
|
|
13
|
+
projectId?: string;
|
|
14
|
+
chains: Chain[];
|
|
15
|
+
walletConnectVersion: '1';
|
|
16
|
+
walletConnectOptions?: WalletConnectLegacyConnectorOptions;
|
|
17
|
+
}
|
|
18
|
+
export interface CoreWalletOptions {
|
|
19
|
+
projectId: string;
|
|
20
|
+
chains: Chain[];
|
|
21
|
+
walletConnectVersion?: '2';
|
|
22
|
+
walletConnectOptions?: WalletConnectConnectorOptions;
|
|
23
|
+
}
|
|
24
|
+
export declare const coreWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, ...options }: (CoreWalletLegacyOptions | CoreWalletOptions) & InjectedConnectorOptions) => Wallet;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
|
|
2
|
+
import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
3
|
+
import { Wallet } from '../../Wallet';
|
|
4
|
+
export interface DawnWalletOptions {
|
|
5
|
+
chains: Chain[];
|
|
6
|
+
}
|
|
7
|
+
export declare const dawnWallet: ({ chains, ...options }: DawnWalletOptions & InjectedConnectorOptions) => Wallet;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
|
|
2
|
+
import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
3
|
+
import { Wallet } from '../../Wallet';
|
|
4
|
+
export interface DesigWalletOptions {
|
|
5
|
+
chains: Chain[];
|
|
6
|
+
}
|
|
7
|
+
export declare const desigWallet: ({ chains, ...options }: DesigWalletOptions & InjectedConnectorOptions) => Wallet;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { InjectedConnectorOptions } from '@wagmi/core';
|
|
2
|
+
import type { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
3
|
+
import type { Wallet } from '../../Wallet';
|
|
4
|
+
declare global {
|
|
5
|
+
interface Window {
|
|
6
|
+
enkrypt: {
|
|
7
|
+
providers: {
|
|
8
|
+
ethereum: any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export interface EnkryptWalletOptions {
|
|
14
|
+
chains: Chain[];
|
|
15
|
+
}
|
|
16
|
+
export declare const enkryptWallet: ({ chains, ...options }: EnkryptWalletOptions & InjectedConnectorOptions) => Wallet;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
|
|
2
|
+
import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
3
|
+
import type { WalletConnectConnectorOptions } from '../../getWalletConnectConnector';
|
|
4
|
+
import { Wallet } from '../../Wallet';
|
|
5
|
+
export interface FoxWalletOptions {
|
|
6
|
+
projectId: string;
|
|
7
|
+
chains: Chain[];
|
|
8
|
+
walletConnectVersion?: '2';
|
|
9
|
+
walletConnectOptions?: WalletConnectConnectorOptions;
|
|
10
|
+
}
|
|
11
|
+
export declare const foxWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, ...options }: FoxWalletOptions & InjectedConnectorOptions) => Wallet;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { InjectedConnectorOptions } from '@wagmi/core';
|
|
2
|
+
import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
3
|
+
import { Wallet } from '../../Wallet';
|
|
4
|
+
export interface FrameWalletOptions {
|
|
5
|
+
chains: Chain[];
|
|
6
|
+
}
|
|
7
|
+
export declare const frameWallet: ({ chains, ...options }: FrameWalletOptions & InjectedConnectorOptions) => Wallet;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InjectedConnectorOptions } from '@wagmi/core';
|
|
2
|
+
import type { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
3
|
+
import type { WalletConnectConnectorOptions, WalletConnectLegacyConnectorOptions } from '../../getWalletConnectConnector';
|
|
4
|
+
import type { Wallet } from '../../Wallet';
|
|
5
|
+
declare global {
|
|
6
|
+
interface Window {
|
|
7
|
+
frontier: any;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export interface FrontierWalletLegacyOptions {
|
|
11
|
+
projectId?: string;
|
|
12
|
+
chains: Chain[];
|
|
13
|
+
walletConnectVersion: '1';
|
|
14
|
+
walletConnectOptions?: WalletConnectLegacyConnectorOptions;
|
|
15
|
+
}
|
|
16
|
+
export interface FrontierWalletOptions {
|
|
17
|
+
projectId: string;
|
|
18
|
+
chains: Chain[];
|
|
19
|
+
walletConnectVersion?: '2';
|
|
20
|
+
walletConnectOptions?: WalletConnectConnectorOptions;
|
|
21
|
+
}
|
|
22
|
+
export declare const frontierWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, ...options }: (FrontierWalletLegacyOptions | FrontierWalletOptions) & InjectedConnectorOptions) => Wallet;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
|
|
2
|
+
import type { WalletConnectConnectorOptions, WalletConnectLegacyConnectorOptions } from '../../getWalletConnectConnector';
|
|
3
|
+
import { Wallet } from '../../Wallet';
|
|
4
|
+
export interface ImTokenWalletLegacyOptions {
|
|
5
|
+
projectId?: string;
|
|
6
|
+
chains: Chain[];
|
|
7
|
+
walletConnectVersion: '1';
|
|
8
|
+
walletConnectOptions?: WalletConnectLegacyConnectorOptions;
|
|
9
|
+
}
|
|
10
|
+
export interface ImTokenWalletOptions {
|
|
11
|
+
projectId: string;
|
|
12
|
+
chains: Chain[];
|
|
13
|
+
walletConnectVersion?: '2';
|
|
14
|
+
walletConnectOptions?: WalletConnectConnectorOptions;
|
|
15
|
+
}
|
|
16
|
+
export declare const imTokenWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, }: ImTokenWalletLegacyOptions | ImTokenWalletOptions) => Wallet;
|