@funkit/connect 0.1.18 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/README.md +10 -3
- package/dist/ar_AR-2FHIOEAO.js +6 -0
- package/dist/argentWallet-5OEFC7BD.js +6 -0
- package/dist/bifrostWallet-5VPKXMCJ.js +6 -0
- package/dist/bitgetWallet-JVNCB4EB.js +6 -0
- package/dist/bitskiWallet-Y4QTLQPQ.js +6 -0
- package/dist/bitverseWallet-MOK4JHYP.js +6 -0
- package/dist/blast-XJENRUEU.js +6 -0
- package/dist/bloomWallet-LYZWRHBK.js +6 -0
- package/dist/bybitWallet-O6NEYJRP.js +6 -0
- package/dist/chunk-SW6GAS7K.js +1183 -0
- package/dist/{chunk-47OHV4T2.js → chunk-U4FFX2HZ.js} +1 -1
- package/dist/clvWallet-RM4V57ZB.js +6 -0
- package/dist/coin98Wallet-7Q4WNBWR.js +6 -0
- package/dist/components/AccountModal/AccountModal.d.ts +1 -1
- package/dist/components/AsyncImage/AsyncImage.d.ts +2 -1
- package/dist/components/Box/Box.d.ts +58 -58
- package/dist/components/ChainModal/Chain.d.ts +17 -0
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +0 -2
- package/dist/components/ConnectButton/formatENS.d.ts +2 -1
- package/dist/components/ConnectModal/ConnectModal.d.ts +6 -0
- package/dist/components/ConnectModal/ConnectModalIntro.d.ts +5 -0
- package/dist/components/ConnectOptions/ConnectDetails.d.ts +2 -3
- package/dist/components/ConnectOptions/ConnectOptions.d.ts +4 -0
- package/dist/components/ConnectOptions/MobileOptions.css.d.ts +2 -0
- package/dist/components/ConnectOptions/MobileOptions.d.ts +6 -0
- package/dist/components/ConnectOptions/MobileStatus.d.ts +4 -0
- package/dist/components/{ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.d.ts → CopyAddress/CopyAddress.d.ts} +0 -5
- package/dist/components/FunButton/FunTermsAndConditionsTextButton.d.ts +2 -0
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +1 -1
- package/dist/components/{FunStates/FunErrorContent.d.ts → FunConnectOptions/FunConnectErrorStep.d.ts} +1 -1
- package/dist/components/{ConnectOptions → FunConnectOptions}/FunConnectOptions.d.ts +3 -4
- package/dist/components/FunConnectOptions/FunSignInStep.css.d.ts +1 -0
- package/dist/components/{FunSignInFlow → FunConnectOptions}/FunSignInStep.d.ts +4 -2
- package/dist/components/FunConnectOptions/FunWeb2ConnectingStep.d.ts +12 -0
- package/dist/components/{FunSignInFlow → FunConnectOptions}/FunWeb3ConnectingStep.d.ts +1 -1
- package/dist/components/{TwoFaInputField → FunInput}/FunTwoFaInput.d.ts +0 -1
- package/dist/components/FunOnramp/FunOnrampInputStep.d.ts +1 -1
- package/dist/components/FunOnramp/FunOnrampTokenPill.d.ts +1 -1
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +1 -1
- package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +1 -1
- package/dist/components/FunPayments/FunPaymentSetup.d.ts +1 -1
- package/dist/components/FunkitProvider/AppContext.d.ts +20 -0
- package/dist/components/FunkitProvider/AuthenticationContext.d.ts +3 -7
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +9 -1
- package/dist/components/FunkitProvider/FunkitConnectChainContext.d.ts +4 -8
- package/dist/components/FunkitProvider/FunkitProvider.d.ts +34 -11
- package/dist/components/FunkitProvider/FunkitWeb2Provider.d.ts +41 -0
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +2 -3
- package/dist/components/FunkitProvider/I18nContext.d.ts +4 -2
- package/dist/components/FunkitProvider/ModalContext.d.ts +4 -2
- package/dist/components/FunkitProvider/ModalSizeContext.d.ts +8 -2
- package/dist/components/FunkitProvider/ShowBalanceContext.d.ts +12 -0
- package/dist/components/FunkitProvider/ShowRecentTransactionsContext.d.ts +2 -0
- package/dist/components/FunkitProvider/WalletButtonContext.d.ts +12 -0
- package/dist/components/FunkitProvider/provideFunkitConnectChains.d.ts +2 -2
- package/dist/components/FunkitProvider/useFingerprint.d.ts +1 -0
- package/dist/components/Icons/PaymentMethodIcons.d.ts +3 -1
- package/dist/components/ModalSelection/ModalSelection.d.ts +2 -1
- package/dist/components/ProfileDetails/{FunWalletProfileViews/FWSwap.d.ts → FunProfileViews/ActivityHistory/ActivityHistory.d.ts} +1 -1
- package/dist/components/ProfileDetails/{FunWalletProfileViews/FWDeposit.d.ts → FunProfileViews/Deposit/Deposit.d.ts} +1 -5
- package/dist/components/ProfileDetails/{FunWalletProfileViews/FWHome/FWHomeCheckoutSection.d.ts → FunProfileViews/Home/HomeCheckoutSection.d.ts} +1 -1
- package/dist/components/ProfileDetails/{FunWalletProfileViews/FWHome/FWHomeTokenDisplayRow.d.ts → FunProfileViews/Home/HomeTokenDisplayRow.d.ts} +1 -1
- package/dist/components/ProfileDetails/FunProfileViews/Home/index.d.ts +6 -0
- package/dist/components/ProfileDetails/FunProfileViews/Settings/Settings.d.ts +6 -0
- package/dist/components/ProfileDetails/ProfileDetails.d.ts +14 -0
- package/dist/components/SignIn/SignIn.d.ts +2 -1
- package/dist/components/WalletButton/WalletButton.css.d.ts +2 -0
- package/dist/components/WalletButton/WalletButton.d.ts +8 -0
- package/dist/components/WalletButton/WalletButtonRenderer.d.ts +15 -0
- package/dist/components/index.d.ts +1 -2
- package/dist/config/getDefaultConfig.d.ts +20 -0
- package/dist/consts/funkit.d.ts +11 -0
- package/dist/coreWallet-HRVLR2XS.js +6 -0
- package/dist/css/sprinkles.css.d.ts +206 -3293
- package/dist/dawnWallet-MN7QMTX3.js +6 -0
- package/dist/desigWallet-YZ4ZDEYW.js +6 -0
- package/dist/en_US-SZG3SEXV.js +7 -0
- package/dist/enkryptWallet-LVMJVNXI.js +6 -0
- package/dist/es_419-JU5M7ADI.js +6 -0
- package/dist/foxWallet-RFPGZZOK.js +6 -0
- package/dist/fr_FR-MEVFY2S3.js +1056 -0
- package/dist/frameWallet-J2WUL2NQ.js +6 -0
- package/dist/frontierWallet-3CNZ2ST5.js +6 -0
- package/dist/{fun-error-KT4BQTNE.js → fun-error-AZCFCLIM.js} +1 -1
- package/dist/{wallets/walletConnectors/funkitConnectWallet-KPMP7JTB.js → funkitConnectWallet-7M73CH73.js} +1 -1
- package/dist/gateWallet-GFLHFAGG.js +6 -0
- package/dist/hi_IN-QYRORIUD.js +6 -0
- package/dist/hooks/useConnectionStatus.d.ts +1 -6
- package/dist/hooks/useFunkitSwitchChain.d.ts +7 -0
- package/dist/hooks/useIsMainnetConfigured.d.ts +1 -0
- package/dist/hooks/useIsMounted.d.ts +1 -1
- package/dist/hooks/useMainnetEnsAvatar.d.ts +2 -1
- package/dist/hooks/useMainnetEnsName.d.ts +2 -1
- package/dist/id_ID-TUMMBG4U.js +6 -0
- package/dist/imTokenWallet-DMDOIZDQ.js +6 -0
- package/dist/index.css +204 -657
- package/dist/index.d.ts +14 -11
- package/dist/index.js +15241 -623
- package/dist/ja_JP-ZUYW24MT.js +6 -0
- package/dist/ko_KR-6CVQ44HH.js +6 -0
- package/dist/kresusWallet-4JZQPLDF.js +6 -0
- package/dist/ledgerWallet-DIS4VM6H.js +6 -0
- package/dist/locales/I18n.d.ts +23 -0
- package/dist/locales/index.d.ts +4 -3
- package/dist/mewWallet-4ZVF6HCJ.js +6 -0
- package/dist/oktoWallet-3LTNTBG3.js +6 -0
- package/dist/okxWallet-GKYMI2XW.js +6 -0
- package/dist/omniWallet-VF54LPLK.js +6 -0
- package/dist/oneInchWallet-MDCYQPYK.js +6 -0
- package/dist/oneKeyWallet-FEYKOAOJ.js +6 -0
- package/dist/phantomWallet-OLG36S4X.js +6 -0
- package/dist/pt_BR-RZPKMOY4.js +6 -0
- package/dist/rabbyWallet-22VWIFCE.js +6 -0
- package/dist/rainbowWallet-GGU64QEI.js +6 -0
- package/dist/ramperWallet-2K5FICMM.js +6 -0
- package/dist/ronin-EMB5NQ5A.js +6 -0
- package/dist/roninWallet-RYQGWG3X.js +6 -0
- package/dist/ru_RU-6H6D24G6.js +1056 -0
- package/dist/safeWallet-DFMLSLCR.js +6 -0
- package/dist/safeheronWallet-YBMFXEUH.js +6 -0
- package/dist/safepalWallet-FDJRNZUU.js +6 -0
- package/dist/subWallet-ELA2UJOS.js +6 -0
- package/dist/tahoWallet-BYONWLHD.js +6 -0
- package/dist/talismanWallet-W5EQ26N7.js +6 -0
- package/dist/th_TH-V7MI6RLE.js +1056 -0
- package/dist/themes/darkTheme.js +1 -1
- package/dist/tokenPocketWallet-UYD66DEM.js +6 -0
- package/dist/tokenaryWallet-FZ7BMUTO.js +6 -0
- package/dist/tr_TR-5VDGWEXM.js +1056 -0
- package/dist/transactions/TransactionStoreContext.d.ts +2 -147
- package/dist/trustWallet-FST5ID2K.js +6 -0
- package/dist/uk_UA-LQISH4SK.js +1056 -0
- package/dist/uniswapWallet-JYAMZDQK.js +6 -0
- package/dist/utils/assets.d.ts +5 -0
- package/dist/utils/chainToExplorerUrl.d.ts +1 -1
- package/dist/utils/checkout.d.ts +2 -1
- package/dist/utils/debounce.d.ts +1 -0
- package/dist/utils/formatNumber.d.ts +1 -0
- package/dist/utils/{Logger.d.ts → funLogger.d.ts} +2 -1
- package/dist/utils/funkitProvider.d.ts +1 -0
- package/dist/utils/privyHelper.d.ts +3 -0
- package/dist/wallets/Wallet.d.ts +37 -22
- package/dist/wallets/computeWalletConnectMetaData.d.ts +9 -0
- package/dist/wallets/connectorsForWallets.d.ts +13 -2
- package/dist/wallets/getDefaultWallets.d.ts +8 -9
- package/dist/wallets/getInjectedConnector.d.ts +10 -10
- package/dist/wallets/getWalletConnectConnector.d.ts +5 -24
- package/dist/wallets/groupedWallets.d.ts +12 -0
- package/dist/wallets/latestWalletId.d.ts +3 -0
- package/dist/wallets/useWalletConnectors.d.ts +7 -4
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +3 -16
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +3 -17
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +3 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +3 -39
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +3 -4
- package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.js +2 -1
- package/dist/wallets/walletConnectors/bitverseWallet/bitverseWallet.d.ts +3 -0
- package/dist/wallets/walletConnectors/bitverseWallet/bitverseWallet.js +8 -0
- package/dist/wallets/walletConnectors/bitverseWallet-MOK4JHYP.js +6 -0
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.d.ts +2 -0
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +9 -0
- package/dist/wallets/walletConnectors/bloomWallet-LYZWRHBK.js +6 -0
- package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/braveWallet/braveWallet.js +2 -1
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.d.ts +3 -0
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +9 -0
- package/dist/wallets/walletConnectors/bybitWallet-O6NEYJRP.js +6 -0
- package/dist/wallets/walletConnectors/chunk-2UXZAUWT.js +95 -0
- package/dist/wallets/walletConnectors/chunk-3WZRNEZH.js +178 -0
- package/dist/wallets/walletConnectors/chunk-4FQLUQNA.js +96 -0
- package/dist/wallets/walletConnectors/chunk-4WOV4ITL.js +55 -0
- package/dist/wallets/walletConnectors/{chunk-QJNS6IE4.js → chunk-4XQDKOGF.js} +7 -12
- package/dist/wallets/walletConnectors/chunk-5MVV7OVS.js +57 -0
- package/dist/wallets/walletConnectors/chunk-63NPZXAL.js +51 -0
- package/dist/wallets/walletConnectors/chunk-6LTLPR2Q.js +71 -0
- package/dist/wallets/walletConnectors/chunk-7CQPABJG.js +102 -0
- package/dist/wallets/walletConnectors/chunk-ABYQAXUX.js +21 -0
- package/dist/wallets/walletConnectors/chunk-AM4SSLAP.js +98 -0
- package/dist/wallets/walletConnectors/chunk-ASPRR7T3.js +28 -0
- package/dist/wallets/walletConnectors/chunk-C67TQJ6W.js +45 -0
- package/dist/wallets/walletConnectors/chunk-D3DCQ72J.js +23 -0
- package/dist/wallets/walletConnectors/chunk-DPXMP5KS.js +44 -0
- package/dist/wallets/walletConnectors/chunk-ENZLEAG2.js +32 -0
- package/dist/wallets/walletConnectors/chunk-FLY7F4XA.js +55 -0
- package/dist/wallets/walletConnectors/chunk-H273OTQA.js +53 -0
- package/dist/wallets/walletConnectors/chunk-H76YCX2M.js +50 -0
- package/dist/wallets/walletConnectors/chunk-JLQ5HJYV.js +94 -0
- package/dist/wallets/walletConnectors/chunk-KGBLSE7L.js +55 -0
- package/dist/wallets/walletConnectors/chunk-KIHCNUU3.js +17 -0
- package/dist/wallets/walletConnectors/chunk-L734HTUS.js +48 -0
- package/dist/wallets/walletConnectors/chunk-LCPIZUR3.js +55 -0
- package/dist/wallets/walletConnectors/chunk-LVRXH33E.js +92 -0
- package/dist/wallets/walletConnectors/chunk-MIWCKFYE.js +87 -0
- package/dist/wallets/walletConnectors/chunk-NGXIHASN.js +96 -0
- package/dist/wallets/walletConnectors/chunk-NL4I7WOT.js +54 -0
- package/dist/wallets/walletConnectors/chunk-NTGZF5BY.js +81 -0
- package/dist/wallets/walletConnectors/chunk-NZ5G23JP.js +60 -0
- package/dist/wallets/walletConnectors/chunk-O5NKWWEG.js +73 -0
- package/dist/wallets/walletConnectors/chunk-P4JLZ42R.js +52 -0
- package/dist/wallets/walletConnectors/{chunk-BZFEDZQJ.js → chunk-PWYTDYBE.js} +8 -17
- package/dist/wallets/walletConnectors/chunk-Q4RLUJJD.js +66 -0
- package/dist/wallets/walletConnectors/chunk-QII6PY2D.js +83 -0
- package/dist/wallets/walletConnectors/chunk-SVN7OEQR.js +60 -0
- package/dist/wallets/walletConnectors/chunk-SYELB4QO.js +107 -0
- package/dist/wallets/walletConnectors/chunk-V45EXW7A.js +94 -0
- package/dist/wallets/walletConnectors/chunk-WKHTUEF5.js +60 -0
- package/dist/wallets/walletConnectors/chunk-X6T3CICZ.js +54 -0
- package/dist/wallets/walletConnectors/chunk-XBUTWYE4.js +98 -0
- package/dist/wallets/walletConnectors/chunk-XPEBP6XV.js +46 -0
- package/dist/wallets/walletConnectors/chunk-XRSY4JVH.js +56 -0
- package/dist/wallets/walletConnectors/chunk-XXFJVY73.js +44 -0
- package/dist/wallets/walletConnectors/chunk-Y6VY6E3L.js +92 -0
- package/dist/wallets/walletConnectors/chunk-Z2DGDHHZ.js +105 -0
- package/dist/wallets/walletConnectors/chunk-ZBAQFL6G.js +102 -0
- package/dist/wallets/walletConnectors/chunk-ZDU3JFGR.js +64 -0
- package/dist/wallets/walletConnectors/chunk-ZNXQ4V6G.js +100 -0
- package/dist/wallets/walletConnectors/chunk-ZOL6ZMTJ.js +53 -0
- package/dist/wallets/walletConnectors/chunk-ZUAHWUEL.js +98 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +3 -15
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +3 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +3 -22
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +3 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +2 -3
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +3 -24
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +3 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -1
- package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/desigWallet/desigWallet.js +2 -1
- package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.d.ts +1 -15
- package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.js +2 -1
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +3 -11
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +3 -2
- package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/frameWallet/frameWallet.js +2 -1
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +3 -21
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +3 -2
- package/dist/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.d.ts +6 -0
- package/dist/wallets/walletConnectors/{@funkitConnectWallet → funkitConnectWallet}/funkitConnectWallet.js +19 -12
- package/dist/{funkitConnectWallet-KPMP7JTB.js → wallets/walletConnectors/funkitConnectWallet-7M73CH73.js} +1 -1
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.d.ts +3 -0
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +10 -0
- package/dist/wallets/walletConnectors/gateWallet-GFLHFAGG.js +6 -0
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +3 -16
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.d.ts +11 -2
- package/dist/wallets/walletConnectors/index.js +111 -77
- package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.js +2 -1
- package/dist/wallets/walletConnectors/kresusWallet/kresusWallet.d.ts +3 -0
- package/dist/wallets/walletConnectors/kresusWallet/kresusWallet.js +8 -0
- package/dist/wallets/walletConnectors/kresusWallet-4JZQPLDF.js +6 -0
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +3 -16
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +3 -17
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +3 -2
- package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/mewWallet/mewWallet.js +2 -1
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +3 -16
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +3 -17
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +3 -2
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +3 -16
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
- package/dist/wallets/walletConnectors/oneInchWallet/oneInchWallet.d.ts +3 -0
- package/dist/wallets/walletConnectors/oneInchWallet/oneInchWallet.js +8 -0
- package/dist/wallets/walletConnectors/oneInchWallet-MDCYQPYK.js +6 -0
- package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +1 -10
- package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.js +2 -1
- package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.js +2 -1
- package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.js +2 -1
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +3 -17
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +3 -3
- package/dist/wallets/walletConnectors/ramperWallet/ramperWallet.d.ts +2 -0
- package/dist/wallets/walletConnectors/ramperWallet/ramperWallet.js +8 -0
- package/dist/wallets/walletConnectors/ramperWallet-2K5FICMM.js +6 -0
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.d.ts +3 -0
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +9 -0
- package/dist/wallets/walletConnectors/roninWallet-RYQGWG3X.js +6 -0
- package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/safeWallet/safeWallet.js +1 -1
- package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +1 -11
- package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.js +2 -1
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +3 -22
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +3 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +3 -16
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +3 -2
- package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +1 -11
- package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.js +2 -1
- package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +1 -11
- package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.js +2 -1
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.d.ts +3 -17
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +3 -2
- package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.d.ts +2 -0
- package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.js +8 -0
- package/dist/wallets/walletConnectors/tokenaryWallet-FZ7BMUTO.js +6 -0
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +3 -22
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +3 -3
- package/dist/wallets/walletConnectors/trustWallet-FST5ID2K.js +6 -0
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +3 -15
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.js +2 -2
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +3 -13
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.js +2 -3
- package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +1 -11
- package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.js +2 -1
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +1 -6
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +3 -16
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +3 -2
- package/dist/xdc-3JFKXD2F.js +6 -0
- package/dist/xdefiWallet-QL7LCYNI.js +6 -0
- package/dist/zealWallet-K7JBLVKT.js +6 -0
- package/dist/zerionWallet-35GMAYN4.js +6 -0
- package/dist/zh_CN-EHEYLG7G.js +6 -0
- package/package.json +30 -43
- package/dist/chunk-7PLQM2DB.js +0 -25656
- package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.css.d.ts +0 -7
- package/dist/components/FunConnectModal/FunConnectModal.d.ts +0 -6
- package/dist/components/FunOnramp/FunOnramp.css.d.ts +0 -7
- package/dist/components/FunOnramp/FunOnrampConfirmation.css.d.ts +0 -7
- package/dist/components/FunPayments/FunPaymentMeshType.css.d.ts +0 -7
- package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +0 -10
- package/dist/components/FunPayments/FunPaymentTransferType.css.d.ts +0 -7
- package/dist/components/FunPayments/FunPayments.css.d.ts +0 -7
- package/dist/components/FunSignInFlow/FunSignInStep.css.d.ts +0 -2
- package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.css.d.ts +0 -7
- package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.d.ts +0 -9
- package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.css.d.ts +0 -7
- package/dist/components/FunTermsAndConditionsTextButton/FunTermsAndConditionsTextButton.d.ts +0 -2
- package/dist/components/FunkitWeb2Provider/FunkitWeb2Provider.d.ts +0 -68
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.css.d.ts +0 -7
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.d.ts +0 -5
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWBridge.d.ts +0 -9
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/index.d.ts +0 -6
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.css.d.ts +0 -7
- package/dist/components/ProfileDetails/FunWalletProfileViews/FunArrowItem.d.ts +0 -4
- package/dist/components/ProfileDetails/FunWalletProfileViews/FunSelectionSection.d.ts +0 -11
- package/dist/components/ProfileDetails/WalletProfileDetails.d.ts +0 -19
- package/dist/components/index.css +0 -5238
- package/dist/components/index.js +0 -16
- package/dist/css/animations.css.d.ts +0 -9
- package/dist/hooks/useDebouncedCallback.d.ts +0 -1
- package/dist/hooks/useMainnet.d.ts +0 -4
- package/dist/types.d.ts +0 -4
- package/dist/utils/emailandPhoneValidator.d.ts +0 -5
- package/dist/utils/funwallet.d.ts +0 -1
- package/dist/utils/getWalletConnectUri.d.ts +0 -2
- package/dist/wallets/walletConnectors/@funkitConnectWallet/funkitConnectWallet.d.ts +0 -7
- package/dist/wallets/walletConnectors/chunk-3XLDPS4Y.js +0 -102
- package/dist/wallets/walletConnectors/chunk-4EKX7Z25.js +0 -114
- package/dist/wallets/walletConnectors/chunk-5UETJ33B.js +0 -58
- package/dist/wallets/walletConnectors/chunk-5ZLRNFDM.js +0 -57
- package/dist/wallets/walletConnectors/chunk-6CW3SAA3.js +0 -61
- package/dist/wallets/walletConnectors/chunk-6FQF7H7H.js +0 -112
- package/dist/wallets/walletConnectors/chunk-6T5K52ZY.js +0 -158
- package/dist/wallets/walletConnectors/chunk-77KYAV4P.js +0 -110
- package/dist/wallets/walletConnectors/chunk-7EOFWORX.js +0 -68
- package/dist/wallets/walletConnectors/chunk-7WTKIVCW.js +0 -52
- package/dist/wallets/walletConnectors/chunk-APZ6YBCA.js +0 -67
- package/dist/wallets/walletConnectors/chunk-BNTZHUB6.js +0 -22
- package/dist/wallets/walletConnectors/chunk-EHO4MJZJ.js +0 -104
- package/dist/wallets/walletConnectors/chunk-FL3REGA5.js +0 -49
- package/dist/wallets/walletConnectors/chunk-GHYJ56FA.js +0 -113
- package/dist/wallets/walletConnectors/chunk-GLB4HFDR.js +0 -105
- package/dist/wallets/walletConnectors/chunk-IEAKLGB6.js +0 -84
- package/dist/wallets/walletConnectors/chunk-INSQDNCE.js +0 -24
- package/dist/wallets/walletConnectors/chunk-KUZFZL2D.js +0 -60
- package/dist/wallets/walletConnectors/chunk-LEWQ7DQV.js +0 -71
- package/dist/wallets/walletConnectors/chunk-LL6T7V77.js +0 -81
- package/dist/wallets/walletConnectors/chunk-LVMQKSKW.js +0 -125
- package/dist/wallets/walletConnectors/chunk-MBFEMLUU.js +0 -48
- package/dist/wallets/walletConnectors/chunk-MOWIPEYK.js +0 -226
- package/dist/wallets/walletConnectors/chunk-ND76X5A2.js +0 -62
- package/dist/wallets/walletConnectors/chunk-NEDPCNTA.js +0 -71
- package/dist/wallets/walletConnectors/chunk-OOGGCCFQ.js +0 -60
- package/dist/wallets/walletConnectors/chunk-PTF3JKWO.js +0 -123
- package/dist/wallets/walletConnectors/chunk-QBKHMTGI.js +0 -52
- package/dist/wallets/walletConnectors/chunk-SXUVHZCG.js +0 -58
- package/dist/wallets/walletConnectors/chunk-T3RIVRAX.js +0 -119
- package/dist/wallets/walletConnectors/chunk-TG2HN6KW.js +0 -82
- package/dist/wallets/walletConnectors/chunk-TNC2B7LX.js +0 -49
- package/dist/wallets/walletConnectors/chunk-TZR3P22N.js +0 -136
- package/dist/wallets/walletConnectors/chunk-U32TVZ7G.js +0 -25
- package/dist/wallets/walletConnectors/chunk-UZ5XLPAW.js +0 -45
- package/dist/wallets/walletConnectors/chunk-VW5SMBMG.js +0 -71
- package/dist/wallets/walletConnectors/chunk-WFTAXMQP.js +0 -100
- package/dist/wallets/walletConnectors/chunk-XXTDCRCW.js +0 -52
- package/dist/wallets/walletConnectors/chunk-YWKKNHO3.js +0 -117
- package/dist/wallets/walletConnectors/trustWallet-XIQD5AVI.js +0 -6
- /package/dist/components/FunkitProvider/{FunToastContext.d.ts → FunToastProvider.d.ts} +0 -0
- /package/dist/components/ProfileDetails/{FunWalletProfileViews/FWHome/FWHome.css.d.ts → FunProfileViews/Home/Home.css.d.ts} +0 -0
- /package/dist/{components/FunCheckoutModal/FunCheckoutConfirmation.css.d.ts → css/modalTransitionStyles.css.d.ts} +0 -0
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isAndroid
|
|
4
|
-
} from "./chunk-ZOLACFTK.js";
|
|
5
|
-
import {
|
|
6
|
-
getWalletConnectConnector,
|
|
7
|
-
getWalletConnectUri
|
|
8
|
-
} from "./chunk-6T5K52ZY.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
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isAndroid
|
|
4
|
-
} from "./chunk-ZOLACFTK.js";
|
|
5
|
-
import {
|
|
6
|
-
getWalletConnectConnector,
|
|
7
|
-
getWalletConnectUri
|
|
8
|
-
} from "./chunk-6T5K52ZY.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
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-UZ5XLPAW.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid,
|
|
8
|
-
isIOS
|
|
9
|
-
} from "./chunk-ZOLACFTK.js";
|
|
10
|
-
import {
|
|
11
|
-
getWalletConnectConnector,
|
|
12
|
-
getWalletConnectUri
|
|
13
|
-
} from "./chunk-6T5K52ZY.js";
|
|
14
|
-
|
|
15
|
-
// src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
|
|
16
|
-
var rainbowWallet = ({
|
|
17
|
-
chains,
|
|
18
|
-
projectId,
|
|
19
|
-
walletConnectOptions,
|
|
20
|
-
walletConnectVersion = "2",
|
|
21
|
-
...options
|
|
22
|
-
}) => {
|
|
23
|
-
const isRainbowInjected = hasInjectedProvider("isRainbow");
|
|
24
|
-
const shouldUseWalletConnect = !isRainbowInjected;
|
|
25
|
-
return {
|
|
26
|
-
id: "rainbow",
|
|
27
|
-
name: "Rainbow",
|
|
28
|
-
iconUrl: async () => (await import("./rainbowWallet-GGU64QEI.js")).default,
|
|
29
|
-
iconBackground: "#0c2f78",
|
|
30
|
-
installed: !shouldUseWalletConnect ? isRainbowInjected : void 0,
|
|
31
|
-
downloadUrls: {
|
|
32
|
-
android: "https://play.google.com/store/apps/details?id=me.rainbow&referrer=utm_source%3Drainbowkit&utm_source=rainbowkit",
|
|
33
|
-
ios: "https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=rainbowkit&mt=8",
|
|
34
|
-
mobile: "https://rainbow.download?utm_source=rainbowkit",
|
|
35
|
-
qrCode: "https://rainbow.download?utm_source=rainbowkit&utm_medium=qrcode",
|
|
36
|
-
browserExtension: "https://rainbow.me/extension?utm_source=rainbowkit"
|
|
37
|
-
},
|
|
38
|
-
createConnector: () => {
|
|
39
|
-
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
40
|
-
projectId,
|
|
41
|
-
chains,
|
|
42
|
-
version: walletConnectVersion,
|
|
43
|
-
options: walletConnectOptions
|
|
44
|
-
}) : getInjectedConnector({ flag: "isRainbow", chains, options });
|
|
45
|
-
const getUri = async () => {
|
|
46
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
47
|
-
return isAndroid() ? uri : isIOS() ? `rainbow://wc?uri=${encodeURIComponent(uri)}&connector=rainbowkit` : `https://rnbwapp.com/wc?uri=${encodeURIComponent(
|
|
48
|
-
uri
|
|
49
|
-
)}&connector=rainbowkit`;
|
|
50
|
-
};
|
|
51
|
-
return {
|
|
52
|
-
connector,
|
|
53
|
-
mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
|
|
54
|
-
qrCode: shouldUseWalletConnect ? {
|
|
55
|
-
getUri,
|
|
56
|
-
instructions: {
|
|
57
|
-
learnMoreUrl: "https://learn.rainbow.me/connect-to-a-website-or-app?utm_source=rainbowkit&utm_medium=connector&utm_campaign=learnmore",
|
|
58
|
-
steps: [
|
|
59
|
-
{
|
|
60
|
-
description: "wallet_connectors.rainbow.qr_code.step1.description",
|
|
61
|
-
step: "install",
|
|
62
|
-
title: "wallet_connectors.rainbow.qr_code.step1.title"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
description: "wallet_connectors.rainbow.qr_code.step2.description",
|
|
66
|
-
step: "create",
|
|
67
|
-
title: "wallet_connectors.rainbow.qr_code.step2.title"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
description: "wallet_connectors.rainbow.qr_code.step3.description",
|
|
71
|
-
step: "scan",
|
|
72
|
-
title: "wallet_connectors.rainbow.qr_code.step3.title"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
} : void 0
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export {
|
|
83
|
-
rainbowWallet
|
|
84
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
// src/wallets/walletConnectors/braveWallet/braveWallet.ts
|
|
3
|
-
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
4
|
-
var braveWallet = ({
|
|
5
|
-
chains,
|
|
6
|
-
...options
|
|
7
|
-
}) => ({
|
|
8
|
-
id: "brave",
|
|
9
|
-
name: "Brave Wallet",
|
|
10
|
-
iconUrl: async () => (await import("./braveWallet-BTBH4MDN.js")).default,
|
|
11
|
-
iconBackground: "#fff",
|
|
12
|
-
installed: typeof window !== "undefined" && window.ethereum?.isBraveWallet === true,
|
|
13
|
-
downloadUrls: {},
|
|
14
|
-
createConnector: () => ({
|
|
15
|
-
connector: new InjectedConnector({
|
|
16
|
-
chains,
|
|
17
|
-
options
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
braveWallet
|
|
24
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
// src/wallets/walletConnectors/phantomWallet/phantomWallet.ts
|
|
3
|
-
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
4
|
-
var phantomWallet = ({
|
|
5
|
-
chains,
|
|
6
|
-
...options
|
|
7
|
-
}) => {
|
|
8
|
-
return {
|
|
9
|
-
id: "phantom",
|
|
10
|
-
name: "Phantom",
|
|
11
|
-
iconUrl: async () => (await import("./phantomWallet-OLG36S4X.js")).default,
|
|
12
|
-
iconBackground: "#9A8AEE",
|
|
13
|
-
installed: typeof window !== "undefined" && !!window.phantom?.ethereum || void 0,
|
|
14
|
-
downloadUrls: {
|
|
15
|
-
android: "https://play.google.com/store/apps/details?id=app.phantom",
|
|
16
|
-
ios: "https://apps.apple.com/app/phantom-solana-wallet/1598432977",
|
|
17
|
-
mobile: "https://phantom.app/download",
|
|
18
|
-
qrCode: "https://phantom.app/download",
|
|
19
|
-
chrome: "https://chrome.google.com/webstore/detail/phantom/bfnaelmomeimhlpmgjnjophhpkkoljpa",
|
|
20
|
-
firefox: "https://addons.mozilla.org/firefox/addon/phantom-app/",
|
|
21
|
-
browserExtension: "https://phantom.app/download"
|
|
22
|
-
},
|
|
23
|
-
createConnector: () => {
|
|
24
|
-
const getProvider = () => typeof window !== "undefined" ? window.phantom?.ethereum : void 0;
|
|
25
|
-
const connector = new InjectedConnector({
|
|
26
|
-
chains,
|
|
27
|
-
options: { getProvider, ...options }
|
|
28
|
-
});
|
|
29
|
-
return {
|
|
30
|
-
connector,
|
|
31
|
-
extension: {
|
|
32
|
-
instructions: {
|
|
33
|
-
steps: [
|
|
34
|
-
{
|
|
35
|
-
description: "wallet_connectors.phantom.extension.step1.description",
|
|
36
|
-
step: "install",
|
|
37
|
-
title: "wallet_connectors.phantom.extension.step1.title"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
description: "wallet_connectors.phantom.extension.step2.description",
|
|
41
|
-
step: "create",
|
|
42
|
-
title: "wallet_connectors.phantom.extension.step2.title"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.phantom.extension.step3.description",
|
|
46
|
-
step: "refresh",
|
|
47
|
-
title: "wallet_connectors.phantom.extension.step3.title"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
learnMoreUrl: "https://help.phantom.app"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export {
|
|
59
|
-
phantomWallet
|
|
60
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isAndroid
|
|
4
|
-
} from "./chunk-ZOLACFTK.js";
|
|
5
|
-
import {
|
|
6
|
-
getWalletConnectConnector,
|
|
7
|
-
getWalletConnectUri
|
|
8
|
-
} from "./chunk-6T5K52ZY.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/argentWallet/argentWallet.ts
|
|
11
|
-
var argentWallet = ({
|
|
12
|
-
chains,
|
|
13
|
-
projectId,
|
|
14
|
-
walletConnectOptions,
|
|
15
|
-
walletConnectVersion = "2"
|
|
16
|
-
}) => ({
|
|
17
|
-
id: "argent",
|
|
18
|
-
name: "Argent",
|
|
19
|
-
iconUrl: async () => (await import("./argentWallet-5OEFC7BD.js")).default,
|
|
20
|
-
iconBackground: "#fff",
|
|
21
|
-
downloadUrls: {
|
|
22
|
-
android: "https://play.google.com/store/apps/details?id=im.argent.contractwalletclient",
|
|
23
|
-
ios: "https://apps.apple.com/us/app/argent/id1358741926",
|
|
24
|
-
mobile: "https://argent.xyz/download-argent",
|
|
25
|
-
qrCode: "https://argent.link/app"
|
|
26
|
-
},
|
|
27
|
-
createConnector: () => {
|
|
28
|
-
const connector = getWalletConnectConnector({
|
|
29
|
-
projectId,
|
|
30
|
-
chains,
|
|
31
|
-
version: walletConnectVersion,
|
|
32
|
-
options: walletConnectOptions
|
|
33
|
-
});
|
|
34
|
-
return {
|
|
35
|
-
connector,
|
|
36
|
-
mobile: {
|
|
37
|
-
getUri: async () => {
|
|
38
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
39
|
-
return isAndroid() ? uri : `argent://app/wc?uri=${encodeURIComponent(uri)}`;
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
qrCode: {
|
|
43
|
-
getUri: async () => getWalletConnectUri(connector, walletConnectVersion),
|
|
44
|
-
instructions: {
|
|
45
|
-
learnMoreUrl: "https://argent.xyz/learn/what-is-a-crypto-wallet/",
|
|
46
|
-
steps: [
|
|
47
|
-
{
|
|
48
|
-
description: "wallet_connectors.argent.qr_code.step1.description",
|
|
49
|
-
step: "install",
|
|
50
|
-
title: "wallet_connectors.argent.qr_code.step1.title"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: "wallet_connectors.argent.qr_code.step2.description",
|
|
54
|
-
step: "create",
|
|
55
|
-
title: "wallet_connectors.argent.qr_code.step2.title"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
description: "wallet_connectors.argent.qr_code.step3.description",
|
|
59
|
-
step: "scan",
|
|
60
|
-
title: "wallet_connectors.argent.qr_code.step3.title"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
export {
|
|
70
|
-
argentWallet
|
|
71
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isAndroid
|
|
4
|
-
} from "./chunk-ZOLACFTK.js";
|
|
5
|
-
import {
|
|
6
|
-
getWalletConnectConnector,
|
|
7
|
-
getWalletConnectUri
|
|
8
|
-
} from "./chunk-6T5K52ZY.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
|
-
};
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-6T5K52ZY.js";
|
|
6
|
-
|
|
7
|
-
// src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
|
|
8
|
-
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
9
|
-
function getCoin98WalletInjectedProvider() {
|
|
10
|
-
const isCoin98Wallet = (ethereum) => {
|
|
11
|
-
const coin98Wallet2 = !!ethereum.isCoin98;
|
|
12
|
-
return coin98Wallet2;
|
|
13
|
-
};
|
|
14
|
-
const injectedProviderExist = typeof window !== "undefined" && typeof window.ethereum !== "undefined";
|
|
15
|
-
if (!injectedProviderExist) {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
if (window["coin98Wallet"]) {
|
|
19
|
-
return window["coin98Wallet"];
|
|
20
|
-
}
|
|
21
|
-
if (window.ethereum !== null && window.ethereum !== void 0 && isCoin98Wallet(window.ethereum)) {
|
|
22
|
-
return window.ethereum;
|
|
23
|
-
}
|
|
24
|
-
if (window.ethereum?.providers) {
|
|
25
|
-
return window.ethereum.providers.find(isCoin98Wallet);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
var coin98Wallet = ({
|
|
29
|
-
chains,
|
|
30
|
-
projectId,
|
|
31
|
-
walletConnectOptions,
|
|
32
|
-
walletConnectVersion = "2",
|
|
33
|
-
...options
|
|
34
|
-
}) => {
|
|
35
|
-
const isCoin98WalletInjected = Boolean(getCoin98WalletInjectedProvider());
|
|
36
|
-
const shouldUseWalletConnect = !isCoin98WalletInjected;
|
|
37
|
-
return {
|
|
38
|
-
id: "coin98",
|
|
39
|
-
name: "Coin98 Wallet",
|
|
40
|
-
iconUrl: async () => (await import("./coin98Wallet-7Q4WNBWR.js")).default,
|
|
41
|
-
installed: !shouldUseWalletConnect ? isCoin98WalletInjected : void 0,
|
|
42
|
-
iconAccent: "#CDA349",
|
|
43
|
-
iconBackground: "#fff",
|
|
44
|
-
downloadUrls: {
|
|
45
|
-
android: "https://play.google.com/store/apps/details?id=coin98.crypto.finance.media",
|
|
46
|
-
ios: "https://apps.apple.com/vn/app/coin98-super-app/id1561969966",
|
|
47
|
-
mobile: "https://coin98.com/wallet",
|
|
48
|
-
qrCode: "https://coin98.com/wallet",
|
|
49
|
-
chrome: "https://chrome.google.com/webstore/detail/coin98-wallet/aeachknmefphepccionboohckonoeemg",
|
|
50
|
-
browserExtension: "https://coin98.com/wallet"
|
|
51
|
-
},
|
|
52
|
-
createConnector: () => {
|
|
53
|
-
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
54
|
-
projectId,
|
|
55
|
-
chains,
|
|
56
|
-
options: walletConnectOptions,
|
|
57
|
-
version: walletConnectVersion
|
|
58
|
-
}) : new InjectedConnector({
|
|
59
|
-
chains,
|
|
60
|
-
options: {
|
|
61
|
-
name: "Coin98 Wallet",
|
|
62
|
-
getProvider: getCoin98WalletInjectedProvider,
|
|
63
|
-
...options
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
const getUri = async () => {
|
|
67
|
-
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
68
|
-
return uri;
|
|
69
|
-
};
|
|
70
|
-
return {
|
|
71
|
-
connector,
|
|
72
|
-
mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
|
|
73
|
-
qrCode: shouldUseWalletConnect ? {
|
|
74
|
-
getUri,
|
|
75
|
-
instructions: {
|
|
76
|
-
learnMoreUrl: "https://coin98.com/wallet",
|
|
77
|
-
steps: [
|
|
78
|
-
{
|
|
79
|
-
description: "wallet_connectors.coin98.qr_code.step1.description",
|
|
80
|
-
step: "install",
|
|
81
|
-
title: "wallet_connectors.coin98.qr_code.step1.title"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
description: "wallet_connectors.coin98.qr_code.step2.description",
|
|
85
|
-
step: "create",
|
|
86
|
-
title: "wallet_connectors.coin98.qr_code.step2.title"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
description: "wallet_connectors.coin98.qr_code.step3.description",
|
|
90
|
-
step: "scan",
|
|
91
|
-
title: "wallet_connectors.coin98.qr_code.step3.title"
|
|
92
|
-
}
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
} : void 0,
|
|
96
|
-
extension: {
|
|
97
|
-
instructions: {
|
|
98
|
-
learnMoreUrl: "https://coin98.com/wallet",
|
|
99
|
-
steps: [
|
|
100
|
-
{
|
|
101
|
-
description: "wallet_connectors.coin98.extension.step1.description",
|
|
102
|
-
step: "install",
|
|
103
|
-
title: "wallet_connectors.coin98.extension.step1.title"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
description: "wallet_connectors.coin98.extension.step2.description",
|
|
107
|
-
step: "create",
|
|
108
|
-
title: "wallet_connectors.coin98.extension.step2.title"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
description: "wallet_connectors.coin98.extension.step3.description",
|
|
112
|
-
step: "refresh",
|
|
113
|
-
title: "wallet_connectors.coin98.extension.step3.title"
|
|
114
|
-
}
|
|
115
|
-
]
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
export {
|
|
124
|
-
coin98Wallet
|
|
125
|
-
};
|