@funkit/connect 0.1.8 → 0.1.10

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.
Files changed (371) hide show
  1. package/README.md +5 -1
  2. package/dist/{chunk-3A7E2IPT.js → chunk-W7RO4DCA.js} +33 -14
  3. package/dist/{chunk-KQXRSMJW.js → chunk-X25RSAGB.js} +10152 -9735
  4. package/dist/{chunk-PKSFBURG.js → chunk-ZKI6VFDD.js} +24 -5
  5. package/dist/components/index.css +861 -341
  6. package/dist/components/index.js +3 -2
  7. package/dist/index.css +848 -328
  8. package/dist/index.js +9 -6
  9. package/dist/themes/darkTheme.js +1 -1
  10. package/dist/themes/lightTheme.js +1 -1
  11. package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
  12. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  14. package/dist/wallets/walletConnectors/{chunk-4TBAMXD2.js → chunk-237HEA4B.js} +1 -1
  15. package/dist/wallets/walletConnectors/{chunk-32KC4FTG.js → chunk-2T67SC63.js} +4 -4
  16. package/dist/wallets/walletConnectors/{chunk-4VG2VEG2.js → chunk-4CGDJKUJ.js} +4 -4
  17. package/dist/wallets/walletConnectors/{chunk-HKBLG5YG.js → chunk-4FQ2OCM4.js} +4 -4
  18. package/dist/wallets/walletConnectors/{chunk-LU3HYLHT.js → chunk-4LHUAGGQ.js} +4 -4
  19. package/dist/wallets/walletConnectors/{chunk-C6BBHBY3.js → chunk-7HTS7H5B.js} +1 -1
  20. package/dist/wallets/walletConnectors/{chunk-M4KIVTE3.js → chunk-AFMQLXY2.js} +4 -4
  21. package/dist/wallets/walletConnectors/{chunk-UM7QXLQE.js → chunk-BYGJDC6Y.js} +4 -4
  22. package/dist/wallets/walletConnectors/{chunk-TFHNF64Z.js → chunk-DS2NHYCT.js} +4 -4
  23. package/dist/wallets/walletConnectors/chunk-EUSM6MRB.js +158 -0
  24. package/dist/wallets/walletConnectors/{chunk-TTTMI2Z2.js → chunk-EXTKISYU.js} +4 -4
  25. package/dist/wallets/walletConnectors/{chunk-Z47L7SO3.js → chunk-G2HR4ZFS.js} +4 -4
  26. package/dist/wallets/walletConnectors/{chunk-WCZ37NN2.js → chunk-IVIQBLOK.js} +1 -1
  27. package/dist/wallets/walletConnectors/{chunk-PVTJW4KE.js → chunk-JC5DQVHX.js} +1 -1
  28. package/dist/wallets/walletConnectors/{chunk-JU27WJ7W.js → chunk-M5VGZ2QW.js} +1 -1
  29. package/dist/wallets/walletConnectors/{chunk-C3X4W5P4.js → chunk-OH3HGTQV.js} +1 -1
  30. package/dist/wallets/walletConnectors/{chunk-HHEZNZRR.js → chunk-OV2JRO7A.js} +4 -4
  31. package/dist/wallets/walletConnectors/{chunk-K342MEBF.js → chunk-PATI3A3F.js} +1 -1
  32. package/dist/wallets/walletConnectors/{chunk-BZWTTESU.js → chunk-TBZII4VB.js} +4 -4
  33. package/dist/wallets/walletConnectors/{chunk-EINKDQQW.js → chunk-THH76QKN.js} +4 -4
  34. package/dist/wallets/walletConnectors/{chunk-WPGD3FGN.js → chunk-TT2SHVBF.js} +4 -4
  35. package/dist/wallets/walletConnectors/{chunk-DTCZLIMY.js → chunk-Y4EWYKDM.js} +4 -4
  36. package/dist/wallets/walletConnectors/{chunk-RMJYZWKN.js → chunk-ZGVEVXA7.js} +1 -1
  37. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  38. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  39. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  40. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  42. package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/index.js +58 -58
  44. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  46. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
  47. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  48. package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
  49. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  50. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  51. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  52. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  53. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  54. package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.js +2 -2
  55. package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.js +2 -2
  56. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  57. package/package.json +12 -6
  58. package/dist/__private__/index.d.ts +0 -8
  59. package/dist/chunk-N5FOZIDQ.js +0 -24430
  60. package/dist/components/AccountModal/AccountModal.d.ts +0 -6
  61. package/dist/components/AsyncImage/AsyncImage.d.ts +0 -19
  62. package/dist/components/AsyncImage/useAsyncImage.d.ts +0 -3
  63. package/dist/components/Avatar/Avatar.d.ts +0 -9
  64. package/dist/components/Avatar/EmojiAvatar.d.ts +0 -2
  65. package/dist/components/Avatar/emojiAvatarForAddress.d.ts +0 -106
  66. package/dist/components/Box/Box.d.ts +0 -82
  67. package/dist/components/Button/ActionButton.d.ts +0 -14
  68. package/dist/components/ChainModal/ChainModal.css.d.ts +0 -2
  69. package/dist/components/ChainModal/ChainModal.d.ts +0 -6
  70. package/dist/components/CloseButton/CloseButton.d.ts +0 -5
  71. package/dist/components/ConnectButton/ConnectButton.d.ts +0 -28
  72. package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +0 -39
  73. package/dist/components/ConnectButton/abbreviateETHBalance.d.ts +0 -2
  74. package/dist/components/ConnectButton/formatAddress.d.ts +0 -1
  75. package/dist/components/ConnectButton/formatENS.d.ts +0 -1
  76. package/dist/components/ConnectOptions/ConnectDetails.d.ts +0 -36
  77. package/dist/components/ConnectOptions/DesktopOptions.css.d.ts +0 -4
  78. package/dist/components/ConnectOptions/DesktopOptions.d.ts +0 -15
  79. package/dist/components/ConnectOptions/FunConnectOptions.d.ts +0 -11
  80. package/dist/components/ConnectOptions/MobileOptions.css.d.ts +0 -1
  81. package/dist/components/ConnectOptions/MobileOptions.d.ts +0 -4
  82. package/dist/components/Dialog/Dialog.css.d.ts +0 -5
  83. package/dist/components/Dialog/Dialog.d.ts +0 -12
  84. package/dist/components/Dialog/DialogContent.css.d.ts +0 -6
  85. package/dist/components/Dialog/DialogContent.d.ts +0 -12
  86. package/dist/components/Dialog/FocusTrap.d.ts +0 -2
  87. package/dist/components/Disclaimer/DisclaimerLink.d.ts +0 -5
  88. package/dist/components/Disclaimer/DisclaimerText.d.ts +0 -4
  89. package/dist/components/FunButton/FunBackButton.d.ts +0 -4
  90. package/dist/components/FunButton/FunButton.css.d.ts +0 -3
  91. package/dist/components/FunButton/FunButton.d.ts +0 -17
  92. package/dist/components/FunButton/FunIconButton.d.ts +0 -16
  93. package/dist/components/FunButton/FunLinkButton.d.ts +0 -8
  94. package/dist/components/FunButton/FunViewTxButton.d.ts +0 -4
  95. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +0 -7
  96. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +0 -8
  97. package/dist/components/FunCheckoutModal/FunCheckoutConfirmation.css.d.ts +0 -7
  98. package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +0 -9
  99. package/dist/components/FunCheckoutModal/FunCheckoutModal.d.ts +0 -15
  100. package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +0 -9
  101. package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.css.d.ts +0 -7
  102. package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +0 -12
  103. package/dist/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +0 -6
  104. package/dist/components/FunConfirmDialog/FunConfirmDialog.d.ts +0 -12
  105. package/dist/components/FunConnectModal/FunConnectModal.d.ts +0 -6
  106. package/dist/components/FunContainer/FunContainer.d.ts +0 -11
  107. package/dist/components/FunDevTestModal/FunDevTestModal.d.ts +0 -6
  108. package/dist/components/FunDivider/FunDivider.d.ts +0 -7
  109. package/dist/components/FunInput/FunInput.d.ts +0 -29
  110. package/dist/components/FunKeyValue/FunKeyValue.d.ts +0 -24
  111. package/dist/components/FunMeshTwoFactorStep/FunMeshTwoFactorStep.d.ts +0 -9
  112. package/dist/components/FunModalTitleSection/FunModalTitleSection.css.d.ts +0 -7
  113. package/dist/components/FunModalTitleSection/FunModalTitleSection.d.ts +0 -12
  114. package/dist/components/FunNotification/FunCheckoutNotification.d.ts +0 -6
  115. package/dist/components/FunNotification/FunNotification.d.ts +0 -12
  116. package/dist/components/FunOnramp/FunOnramp.css.d.ts +0 -7
  117. package/dist/components/FunOnramp/FunOnrampConfirmation.css.d.ts +0 -7
  118. package/dist/components/FunOnramp/FunOnrampConfirmationStep.d.ts +0 -17
  119. package/dist/components/FunOnramp/FunOnrampInputStep.d.ts +0 -8
  120. package/dist/components/FunOnramp/FunOnrampPrimaryItem.d.ts +0 -5
  121. package/dist/components/FunOnramp/FunOnrampProcessingStep.d.ts +0 -6
  122. package/dist/components/FunPayments/FunPaymentMeshType.css.d.ts +0 -7
  123. package/dist/components/FunPayments/FunPaymentMeshType.d.ts +0 -10
  124. package/dist/components/FunPayments/FunPaymentMethods.d.ts +0 -52
  125. package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +0 -10
  126. package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +0 -13
  127. package/dist/components/FunPayments/FunPaymentSetup.d.ts +0 -18
  128. package/dist/components/FunPayments/FunPaymentTransferType.css.d.ts +0 -7
  129. package/dist/components/FunPayments/FunPaymentTransferType.d.ts +0 -6
  130. package/dist/components/FunPayments/FunPayments.css.d.ts +0 -7
  131. package/dist/components/FunProgressBar/FunHorizontalStepper.d.ts +0 -7
  132. package/dist/components/FunProgressBar/FunProgressBar.d.ts +0 -6
  133. package/dist/components/FunProgressBar/FunVerticalProgressBar.d.ts +0 -14
  134. package/dist/components/FunSelect/FunClickOutside.d.ts +0 -8
  135. package/dist/components/FunSelect/FunSelect.d.ts +0 -24
  136. package/dist/components/FunSignInFlow/FunSignInStep.css.d.ts +0 -2
  137. package/dist/components/FunSignInFlow/FunSignInStep.d.ts +0 -14
  138. package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.css.d.ts +0 -7
  139. package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.d.ts +0 -9
  140. package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.css.d.ts +0 -7
  141. package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.d.ts +0 -9
  142. package/dist/components/FunStates/FunErrorContent.d.ts +0 -10
  143. package/dist/components/FunTermsAndConditionsTextButton/FunTermsAndConditionsTextButton.d.ts +0 -2
  144. package/dist/components/FunToast/FunShortToast.css.d.ts +0 -10
  145. package/dist/components/FunToast/FunShortToast.d.ts +0 -3
  146. package/dist/components/FunToast/FunToast.d.ts +0 -18
  147. package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +0 -12
  148. package/dist/components/FunkitProvider/AuthenticationContext.d.ts +0 -35
  149. package/dist/components/FunkitProvider/AvatarContext.d.ts +0 -9
  150. package/dist/components/FunkitProvider/CoolModeContext.d.ts +0 -2
  151. package/dist/components/FunkitProvider/FunToastContext.d.ts +0 -11
  152. package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +0 -130
  153. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +0 -18
  154. package/dist/components/FunkitProvider/FunkitProvider.d.ts +0 -25
  155. package/dist/components/FunkitProvider/FunkitWalletProvider.d.ts +0 -17
  156. package/dist/components/FunkitProvider/I18nContext.d.ts +0 -9
  157. package/dist/components/FunkitProvider/ModalContext.d.ts +0 -41
  158. package/dist/components/FunkitProvider/ModalSizeContext.d.ts +0 -7
  159. package/dist/components/FunkitProvider/RainbowKitChainContext.d.ts +0 -19
  160. package/dist/components/FunkitProvider/provideRainbowKitChains.d.ts +0 -3
  161. package/dist/components/FunkitProvider/useCoolMode.d.ts +0 -2
  162. package/dist/components/FunkitProvider/useFingerprint.d.ts +0 -1
  163. package/dist/components/FunkitProvider/usePreloadImages.d.ts +0 -1
  164. package/dist/components/FunkitProvider/walletConnectDeepLink.d.ts +0 -5
  165. package/dist/components/FunkitWeb2Provider/FunkitWeb2Provider.d.ts +0 -58
  166. package/dist/components/Icons/AcornsIcon.d.ts +0 -2
  167. package/dist/components/Icons/AlpacaIcon.d.ts +0 -2
  168. package/dist/components/Icons/Assets.d.ts +0 -3
  169. package/dist/components/Icons/Back.d.ts +0 -2
  170. package/dist/components/Icons/BinanceIcon.d.ts +0 -2
  171. package/dist/components/Icons/BitFlyerIcon.d.ts +0 -2
  172. package/dist/components/Icons/BitstampIcon.d.ts +0 -2
  173. package/dist/components/Icons/BridgeIcon.d.ts +0 -2
  174. package/dist/components/Icons/BybitIcon.d.ts +0 -2
  175. package/dist/components/Icons/Cancel.d.ts +0 -2
  176. package/dist/components/Icons/CexloIcon.d.ts +0 -2
  177. package/dist/components/Icons/ClockIcon.d.ts +0 -2
  178. package/dist/components/Icons/Close.d.ts +0 -2
  179. package/dist/components/Icons/Coinbase.d.ts +0 -2
  180. package/dist/components/Icons/CoinlistIcon.d.ts +0 -2
  181. package/dist/components/Icons/Connect.d.ts +0 -3
  182. package/dist/components/Icons/Copied.d.ts +0 -2
  183. package/dist/components/Icons/Copy.d.ts +0 -2
  184. package/dist/components/Icons/Create.d.ts +0 -3
  185. package/dist/components/Icons/CreditCardDots.d.ts +0 -2
  186. package/dist/components/Icons/CryptoComIcon.d.ts +0 -2
  187. package/dist/components/Icons/Disconnect.d.ts +0 -2
  188. package/dist/components/Icons/DisconnectSq.d.ts +0 -4
  189. package/dist/components/Icons/Dropdown.d.ts +0 -2
  190. package/dist/components/Icons/EthereumIcon.d.ts +0 -2
  191. package/dist/components/Icons/EtoroIcon.d.ts +0 -2
  192. package/dist/components/Icons/EtradeIcon.d.ts +0 -2
  193. package/dist/components/Icons/Explore.d.ts +0 -2
  194. package/dist/components/Icons/ExternalLink.d.ts +0 -2
  195. package/dist/components/Icons/FunArrows.d.ts +0 -5
  196. package/dist/components/Icons/FunBackIcon.d.ts +0 -2
  197. package/dist/components/Icons/GateIo.d.ts +0 -2
  198. package/dist/components/Icons/GeminiIcon.d.ts +0 -2
  199. package/dist/components/Icons/HuobiIcon.d.ts +0 -2
  200. package/dist/components/Icons/Icons.css.d.ts +0 -3
  201. package/dist/components/Icons/Info.d.ts +0 -3
  202. package/dist/components/Icons/KrakenIcon.d.ts +0 -2
  203. package/dist/components/Icons/KucoinIcon.d.ts +0 -2
  204. package/dist/components/Icons/LightningIcon.d.ts +0 -2
  205. package/dist/components/Icons/LinkIcon.d.ts +0 -2
  206. package/dist/components/Icons/Login.d.ts +0 -3
  207. package/dist/components/Icons/LogoutIcon.d.ts +0 -2
  208. package/dist/components/Icons/MastercardIcon.d.ts +0 -2
  209. package/dist/components/Icons/MmFox.d.ts +0 -2
  210. package/dist/components/Icons/NoAssetsFoundIcon.d.ts +0 -4
  211. package/dist/components/Icons/OkcoinIcon.d.ts +0 -2
  212. package/dist/components/Icons/OkxIcon.d.ts +0 -2
  213. package/dist/components/Icons/PasskeyIcon.d.ts +0 -2
  214. package/dist/components/Icons/PaymentMethodIcons.d.ts +0 -5
  215. package/dist/components/Icons/PlusIcon.d.ts +0 -2
  216. package/dist/components/Icons/ProfileIcon.d.ts +0 -2
  217. package/dist/components/Icons/PublicIcon.d.ts +0 -2
  218. package/dist/components/Icons/ReceiptIcon.d.ts +0 -2
  219. package/dist/components/Icons/Refresh.d.ts +0 -3
  220. package/dist/components/Icons/RobinhoodIcon.d.ts +0 -2
  221. package/dist/components/Icons/Scan.d.ts +0 -3
  222. package/dist/components/Icons/SearchIcon.d.ts +0 -4
  223. package/dist/components/Icons/SettingsIcon.d.ts +0 -2
  224. package/dist/components/Icons/SocialMediaIcons.d.ts +0 -4
  225. package/dist/components/Icons/Spinner.d.ts +0 -5
  226. package/dist/components/Icons/StEthIcon.d.ts +0 -2
  227. package/dist/components/Icons/StashIcon.d.ts +0 -2
  228. package/dist/components/Icons/Success.d.ts +0 -2
  229. package/dist/components/Icons/SuccessNoBorder.d.ts +0 -2
  230. package/dist/components/Icons/SwapIcon.d.ts +0 -2
  231. package/dist/components/Icons/SwitchAccount.d.ts +0 -2
  232. package/dist/components/Icons/TransferIcon.d.ts +0 -2
  233. package/dist/components/Icons/USDCIcon.d.ts +0 -2
  234. package/dist/components/Icons/WalletIcon.d.ts +0 -3
  235. package/dist/components/Icons/WeBullIcon.d.ts +0 -2
  236. package/dist/components/Icons/WhiteDotIcon.d.ts +0 -2
  237. package/dist/components/InfoButton/InfoButton.d.ts +0 -5
  238. package/dist/components/MenuButton/MenuButton.css.d.ts +0 -1
  239. package/dist/components/MenuButton/MenuButton.d.ts +0 -9
  240. package/dist/components/ModalSelection/ModalSelection.css.d.ts +0 -1
  241. package/dist/components/ModalSelection/ModalSelection.d.ts +0 -17
  242. package/dist/components/ProfileDetails/EoaProfileDetails.d.ts +0 -15
  243. package/dist/components/ProfileDetails/FunWalletProfileDetails.d.ts +0 -19
  244. package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.css.d.ts +0 -7
  245. package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.d.ts +0 -5
  246. package/dist/components/ProfileDetails/FunWalletProfileViews/FWBridge.d.ts +0 -9
  247. package/dist/components/ProfileDetails/FunWalletProfileViews/FWDeposit.d.ts +0 -11
  248. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHome.css.d.ts +0 -17
  249. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeCheckoutSection.d.ts +0 -4
  250. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeTokenDisplayRow.d.ts +0 -4
  251. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/index.d.ts +0 -6
  252. package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.css.d.ts +0 -7
  253. package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.d.ts +0 -10
  254. package/dist/components/ProfileDetails/FunWalletProfileViews/FWSwap.d.ts +0 -5
  255. package/dist/components/ProfileDetails/FunWalletProfileViews/FunArrowItem.d.ts +0 -4
  256. package/dist/components/ProfileDetails/FunWalletProfileViews/FunSelectionSection.d.ts +0 -11
  257. package/dist/components/ProfileDetails/ProfileDetailsAction.d.ts +0 -10
  258. package/dist/components/QRCode/QRCode.d.ts +0 -13
  259. package/dist/components/SignIn/SignIn.d.ts +0 -5
  260. package/dist/components/SkeletalLoader/SkeletalLoader.css.d.ts +0 -1
  261. package/dist/components/SkeletalLoader/SkeletalLoader.d.ts +0 -2
  262. package/dist/components/Text/Text.d.ts +0 -18
  263. package/dist/components/TwoFaInputField/FunTwoFaInput.d.ts +0 -10
  264. package/dist/components/Txs/TxItem.d.ts +0 -7
  265. package/dist/components/Txs/TxList.d.ts +0 -7
  266. package/dist/components/Txs/Txs.css.d.ts +0 -2
  267. package/dist/components/index.d.ts +0 -4
  268. package/dist/consts/funkit.d.ts +0 -7
  269. package/dist/css/animations.css.d.ts +0 -9
  270. package/dist/css/atoms.d.ts +0 -6
  271. package/dist/css/cssObjectFromTheme.d.ts +0 -6
  272. package/dist/css/cssStringFromTheme.d.ts +0 -4
  273. package/dist/css/reset.css.d.ts +0 -14
  274. package/dist/css/sprinkles.css.d.ts +0 -2798
  275. package/dist/css/touchableStyles.css.d.ts +0 -4
  276. package/dist/css/touchableStyles.d.ts +0 -8
  277. package/dist/hooks/useChainId.d.ts +0 -1
  278. package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +0 -31
  279. package/dist/hooks/useCheckoutStateBooleans.d.ts +0 -9
  280. package/dist/hooks/useConnectionStatus.d.ts +0 -7
  281. package/dist/hooks/useDebouncedCallback.d.ts +0 -1
  282. package/dist/hooks/useFunListeners.d.ts +0 -8
  283. package/dist/hooks/useIsMounted.d.ts +0 -1
  284. package/dist/hooks/useMainnet.d.ts +0 -4
  285. package/dist/hooks/useMainnetEnsAvatar.d.ts +0 -1
  286. package/dist/hooks/useMainnetEnsName.d.ts +0 -1
  287. package/dist/hooks/useMesh.d.ts +0 -25
  288. package/dist/hooks/useSymbolRefresh.d.ts +0 -7
  289. package/dist/hooks/useWindowSize.d.ts +0 -4
  290. package/dist/index.d.ts +0 -16
  291. package/dist/locales/index.d.ts +0 -3
  292. package/dist/themes/baseTheme.d.ts +0 -25
  293. package/dist/themes/darkTheme.d.ts +0 -65
  294. package/dist/themes/lightTheme.d.ts +0 -65
  295. package/dist/transactions/TransactionStoreContext.d.ts +0 -151
  296. package/dist/transactions/transactionStore.d.ts +0 -21
  297. package/dist/transactions/useAddRecentTransaction.d.ts +0 -2
  298. package/dist/transactions/useClearRecentTransactions.d.ts +0 -1
  299. package/dist/transactions/useRecentTransactions.d.ts +0 -2
  300. package/dist/types.d.ts +0 -4
  301. package/dist/utils/browsers.d.ts +0 -13
  302. package/dist/utils/chainToExplorerUrl.d.ts +0 -2
  303. package/dist/utils/checkout.d.ts +0 -94
  304. package/dist/utils/colors.d.ts +0 -3
  305. package/dist/utils/emailandPhoneValidator.d.ts +0 -5
  306. package/dist/utils/flatten.d.ts +0 -1
  307. package/dist/utils/formatNumber.d.ts +0 -53
  308. package/dist/utils/formatTimestamp.d.ts +0 -1
  309. package/dist/utils/funwallet.d.ts +0 -1
  310. package/dist/utils/getWalletConnectUri.d.ts +0 -2
  311. package/dist/utils/groupBy.d.ts +0 -1
  312. package/dist/utils/indexBy.d.ts +0 -1
  313. package/dist/utils/isMobile.d.ts +0 -5
  314. package/dist/utils/isNotNullish.d.ts +0 -1
  315. package/dist/utils/locale.d.ts +0 -1
  316. package/dist/utils/mesh.d.ts +0 -53
  317. package/dist/utils/miniAbi/balanceOf.d.ts +0 -16
  318. package/dist/utils/moonpay.d.ts +0 -1
  319. package/dist/utils/omitUndefinedValues.d.ts +0 -1
  320. package/dist/utils/platforms.d.ts +0 -10
  321. package/dist/wallets/Wallet.d.ts +0 -86
  322. package/dist/wallets/connectorsForWallets.d.ts +0 -2
  323. package/dist/wallets/downloadUrls.d.ts +0 -4
  324. package/dist/wallets/getDefaultWallets.d.ts +0 -11
  325. package/dist/wallets/getInjectedConnector.d.ts +0 -10
  326. package/dist/wallets/getWalletConnectConnector.d.ts +0 -26
  327. package/dist/wallets/recentWalletIds.d.ts +0 -2
  328. package/dist/wallets/useWalletConnectors.d.ts +0 -13
  329. package/dist/wallets/walletConnectors/@funkitConnectWallet/funkitConnectWallet.d.ts +0 -7
  330. package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +0 -16
  331. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +0 -18
  332. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +0 -39
  333. package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +0 -7
  334. package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +0 -7
  335. package/dist/wallets/walletConnectors/chunk-4ACOCJJZ.js +0 -54
  336. package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +0 -15
  337. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +0 -22
  338. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +0 -7
  339. package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +0 -24
  340. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +0 -7
  341. package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +0 -7
  342. package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.d.ts +0 -16
  343. package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +0 -11
  344. package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +0 -7
  345. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +0 -22
  346. package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +0 -16
  347. package/dist/wallets/walletConnectors/index.d.ts +0 -41
  348. package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +0 -7
  349. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +0 -16
  350. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +0 -17
  351. package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +0 -7
  352. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +0 -16
  353. package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +0 -17
  354. package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +0 -16
  355. package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +0 -11
  356. package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +0 -7
  357. package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +0 -7
  358. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +0 -17
  359. package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +0 -7
  360. package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +0 -12
  361. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +0 -22
  362. package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +0 -16
  363. package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +0 -12
  364. package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +0 -12
  365. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.d.ts +0 -17
  366. package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +0 -22
  367. package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +0 -16
  368. package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +0 -16
  369. package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +0 -12
  370. package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +0 -7
  371. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +0 -17
@@ -1,5 +0,0 @@
1
- export type ValidationResult = {
2
- type: 'phone' | 'email';
3
- valid: boolean;
4
- };
5
- export declare const validateOTPInput: (input: string) => ValidationResult;
@@ -1 +0,0 @@
1
- export declare function flatten<Item>(array: Item[][]): Item[];
@@ -1,53 +0,0 @@
1
- interface FormatNumberOptions {
2
- /** Numbers smaller than this will be converted to scientific notation */
3
- minBeforeUseScientific?: number;
4
- /** If the number part for suffixed # is >= this, will use sci notation (e.g. 1,000M -> 1E3M) */
5
- maxNumberPartSizeForSuffix?: number;
6
- /** The amount of decimal places to truncate to when softly truncating (to specify decimal places for suffix-truncation, e.g. 1.23M, use decimalPrecisionForSuffix) */
7
- softDecimalPrecision?: number;
8
- /** Numbers >= this will have their decimals truncated aggressively */
9
- maxBeforeAggresiveDecimalTruncation?: number;
10
- /** The amount of decimal places to truncate to when aggressively truncating (to specify decimal places for suffix-truncation, e.g. 1.23M, use decimalPrecisionForSuffix) */
11
- aggresiveDecimalPrecision?: number;
12
- /** Numbers >= this will have a suffix added during truncation (e.g. 1.23M) */
13
- maxBeforeUseSuffix?: number;
14
- /** The amount of decimal places to truncate suffix-truncated numbers to (e.g. 1.23M vs 1.2312M)*/
15
- decimalPrecisionForSuffix?: number;
16
- /** The largest suffix to use (e.g. if 1000000, we will stop at M and not use the B suffix) */
17
- maxSuffixSize?: 1e3 | 1e6 | 1e9 | 1e12;
18
- numberFormatOptions?: Intl.NumberFormatOptions;
19
- /** Adds minimum significant digits value to force numbers to show decimal precision even when there are none 5 -> 5.00 */
20
- minimumSignificantDigits?: number;
21
- }
22
- /**
23
- * Formats a number with conditional truncation, suffixation, and scientific notation.
24
- * @param number
25
- * @param options Customize the formatting conditions/behavior
26
- * @example Visualization, using default values:
27
- * ```
28
- * <--(1.23E-7)---0.00001------(0.12121)-------1-------(123,423.26)---1,000,000---(1.22M)--(100.23M)-->
29
- * _______<-minBeforeScientific maxBeforeAggressive-> maxBeforeUseSuffix-> ^ w/ maxSuffixSize
30
- * ```
31
- */
32
- export declare function formatNumberAndStringify(number: number, options?: FormatNumberOptions, numberFormatOptions?: {}): string;
33
- /** Formats a number for currency (default $) display */
34
- export declare function formatCurrencyAndStringify(amount: number,
35
- /** Options to pass `formatNumberAndStringify */
36
- options?: FormatNumberOptions,
37
- /** Options to pass toLocaleString */
38
- numberFormatOptions?: Intl.NumberFormatOptions): string;
39
- /**
40
- * Formats a cryptocurrency amount as a string for display.
41
- *
42
- * Can customize with options and whether to display currency abbreviation.
43
- */
44
- export declare function formatCryptoAndStringify(
45
- /** The currency amount **/
46
- amount: number,
47
- /** The currency abbreviation e.g. ETH, USDC, ... **/
48
- platform?: string,
49
- /** Displays abbreviation after amount, e.g. '1.25 ETH'; default true **/
50
- useCurrencyAbbreviation?: boolean,
51
- /** Used to format the number, can be used to customize decimal truncation etc. **/
52
- options?: FormatNumberOptions): string;
53
- export {};
@@ -1 +0,0 @@
1
- export declare function formatTimestamp(date: Date, shortened?: boolean): string;
@@ -1 +0,0 @@
1
- export declare const getNormalizedTokenBalance: (tokenBalance: number, decimals: number) => number;
@@ -1,2 +0,0 @@
1
- import type { Connector } from 'wagmi/connectors';
2
- export declare function getWalletConnectUri(connector: Connector, version: '1' | '2'): Promise<string>;
@@ -1 +0,0 @@
1
- export declare function groupBy<Item>(items: Item[], getKey: (item: Item) => string): Record<string, Item[]>;
@@ -1 +0,0 @@
1
- export declare function indexBy<Item>(items: Item[], getKey: (item: Item) => string): Record<string, Item>;
@@ -1,5 +0,0 @@
1
- export declare function isAndroid(): boolean;
2
- export declare function isSmallIOS(): boolean;
3
- export declare function isLargeIOS(): boolean;
4
- export declare function isIOS(): boolean;
5
- export declare function isMobile(): boolean;
@@ -1 +0,0 @@
1
- export declare function isNotNullish<T>(value: T | null | undefined): value is T;
@@ -1 +0,0 @@
1
- export declare const detectedBrowserLocale: () => string | undefined;
@@ -1,53 +0,0 @@
1
- export declare enum MeshExchanges {
2
- Robinhood = "Robinhood",
3
- ETrade = "ETrade",
4
- Alpaca = "Alpaca",
5
- WeBull = "WeBull",
6
- Stash = "Stash",
7
- InteractiveBrokers = "InteractiveBrokers",
8
- Public = "Public",
9
- Coinbase = "Coinbase",
10
- Kraken = "Kraken",
11
- CoinbasePro = "CoinbasePro",
12
- CryptoCom = "CryptoCom",
13
- Binance = "Binance",
14
- Gemini = "Gemini",
15
- OkCoin = "OkCoin",
16
- Bittrex = "Bittrex",
17
- KuCoin = "KuCoin",
18
- Etoro = "Etoro",
19
- CexIo = "CexIo",
20
- BinanceInternational = "BinanceInternational",
21
- Bitstamp = "Bitstamp",
22
- GateIo = "GateIo",
23
- Acorns = "Acorns",
24
- Okx = "Okx",
25
- BitFlyer = "BitFlyer",
26
- Coinlist = "Coinlist",
27
- Huobi = "Huobi",
28
- Bitfinex = "Bitfinex",
29
- KrakenDirect = "KrakenDirect",
30
- Vanguard = "Vanguard",
31
- BinanceInternationalDirect = "BinanceInternationalDirect",
32
- BitfinexDirect = "BitfinexDirect",
33
- Bybit = "Bybit"
34
- }
35
- export declare function fetchMeshLinkToken(selectedExchange: MeshExchanges, funApiKey: string): Promise<any>;
36
- export declare function executeBrokerageDeposit(fromAuthToken: string, brokerage: string, previewId: string, apiKey: string, mfaCode?: string): Promise<any>;
37
- export declare function previewBrokerageDeposit(fromAuthToken: string, brokerage: string, token: string, amount: string, toAddress: string, apiKey: string, networkId: string): Promise<{
38
- previewId: string;
39
- previewExpiresIn: string;
40
- }>;
41
- export declare function fetchMeshAccountCryptoHoldings({ authToken, apiKey, exchange, }: {
42
- authToken: string;
43
- apiKey: string;
44
- exchange: MeshExchanges;
45
- }): Promise<any>;
46
- export declare function fetchMeshSupportedTokensAndIdByChainIdAndBrokerage({ chainId, exchange, apiKey, }: {
47
- chainId: string;
48
- exchange: MeshExchanges;
49
- apiKey: string;
50
- }): Promise<{
51
- meshSupportedTokens: any;
52
- meshNetworkId: any;
53
- }>;
@@ -1,16 +0,0 @@
1
- declare const balanceOfAbi: {
2
- constant: boolean;
3
- inputs: {
4
- name: string;
5
- type: string;
6
- }[];
7
- name: string;
8
- outputs: {
9
- name: string;
10
- type: string;
11
- }[];
12
- payable: boolean;
13
- stateMutability: string;
14
- type: string;
15
- }[];
16
- export default balanceOfAbi;
@@ -1 +0,0 @@
1
- export declare const handleGetMoonpayUrl: (tokenSymbol: string, chainId: number, walletAddress: string, amount: string) => Promise<string>;
@@ -1 +0,0 @@
1
- export declare function omitUndefinedValues<T>(obj: T): T;
@@ -1,10 +0,0 @@
1
- export declare enum PlatformType {
2
- Windows = "Windows",
3
- MacOS = "macOS",
4
- Linux = "Linux",
5
- Desktop = "Desktop"
6
- }
7
- export declare function isWindows(): boolean;
8
- export declare function isMacOS(): boolean;
9
- export declare function isLinux(): boolean;
10
- export declare function getPlatform(): PlatformType;
@@ -1,86 +0,0 @@
1
- import { Connector } from 'wagmi';
2
- export type InstructionStepName = 'install' | 'create' | 'scan' | 'connect' | 'refresh';
3
- type RainbowKitConnector<C extends Connector = Connector> = {
4
- connector: C;
5
- mobile?: {
6
- getUri?: () => Promise<string>;
7
- };
8
- desktop?: {
9
- getUri?: () => Promise<string>;
10
- instructions?: {
11
- learnMoreUrl: string;
12
- steps: {
13
- step: InstructionStepName;
14
- title: string;
15
- description: string;
16
- }[];
17
- };
18
- };
19
- qrCode?: {
20
- getUri: () => Promise<string>;
21
- instructions?: {
22
- learnMoreUrl: string;
23
- steps: {
24
- step: InstructionStepName;
25
- title: string;
26
- description: string;
27
- }[];
28
- };
29
- };
30
- extension?: {
31
- instructions?: {
32
- learnMoreUrl: string;
33
- steps: {
34
- step: InstructionStepName;
35
- title: string;
36
- description: string;
37
- }[];
38
- };
39
- };
40
- };
41
- export type Wallet<C extends Connector = Connector> = {
42
- id: string;
43
- name: string;
44
- shortName?: string;
45
- iconUrl: string | (() => Promise<string>);
46
- iconAccent?: string;
47
- iconBackground: string;
48
- installed?: boolean;
49
- downloadUrls?: {
50
- android?: string;
51
- ios?: string;
52
- mobile?: string;
53
- qrCode?: string;
54
- chrome?: string;
55
- edge?: string;
56
- firefox?: string;
57
- opera?: string;
58
- safari?: string;
59
- browserExtension?: string;
60
- macos?: string;
61
- windows?: string;
62
- linux?: string;
63
- desktop?: string;
64
- };
65
- hidden?: (args: {
66
- wallets: {
67
- id: string;
68
- connector: Connector;
69
- installed?: boolean;
70
- name: string;
71
- }[];
72
- }) => boolean;
73
- createConnector: () => RainbowKitConnector<C>;
74
- };
75
- export type WalletListItem = {
76
- groupName: string;
77
- wallets: Wallet[];
78
- };
79
- export type WalletList = WalletListItem[];
80
- export type WalletInstance = Omit<Wallet, 'createConnector' | 'hidden'> & ReturnType<Wallet['createConnector']> & {
81
- index: number;
82
- groupIndex: number;
83
- groupName: string;
84
- walletConnectModalConnector?: Connector;
85
- };
86
- export {};
@@ -1,2 +0,0 @@
1
- import { WalletList } from './Wallet';
2
- export declare const connectorsForWallets: (walletList: WalletList) => (getWalletList?: boolean) => Connector[];
@@ -1,4 +0,0 @@
1
- import { WalletInstance } from './Wallet';
2
- export declare const getExtensionDownloadUrl: (wallet?: WalletInstance) => string | undefined;
3
- export declare const getMobileDownloadUrl: (wallet?: WalletInstance) => string | undefined;
4
- export declare const getDesktopDownloadUrl: (wallet?: WalletInstance) => string | undefined;
@@ -1,11 +0,0 @@
1
- import { Chain } from '../components/FunkitProvider/RainbowKitChainContext';
2
- import { connectorsForWallets } from './connectorsForWallets';
3
- import { WalletList } from './Wallet';
4
- export declare const getDefaultWallets: ({ appName, chains, projectId, }: {
5
- appName: string;
6
- projectId: string;
7
- chains: Chain[];
8
- }) => {
9
- connectors: ReturnType<typeof connectorsForWallets>;
10
- wallets: WalletList;
11
- };
@@ -1,10 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
2
- import { InjectedConnector } from 'wagmi/connectors/injected';
3
- import type { InjectedProviderFlags } from 'wagmi/window';
4
- import type { Chain } from '../components/FunkitProvider/RainbowKitChainContext';
5
- export declare function hasInjectedProvider(flag: keyof InjectedProviderFlags): boolean;
6
- export declare function getInjectedConnector({ chains, flag, options, }: {
7
- flag: keyof InjectedProviderFlags;
8
- chains: Chain[];
9
- options?: InjectedConnectorOptions;
10
- }): InjectedConnector;
@@ -1,26 +0,0 @@
1
- import { WalletConnectConnector } from 'wagmi/connectors/walletConnect';
2
- import { WalletConnectLegacyConnector } from 'wagmi/connectors/walletConnectLegacy';
3
- import { Chain } from '../components/FunkitProvider/RainbowKitChainContext';
4
- type WalletConnectVersion = '1' | '2';
5
- type WalletConnectConnectorConfig = ConstructorParameters<typeof WalletConnectConnector>[0];
6
- export type WalletConnectConnectorOptions = WalletConnectConnectorConfig['options'];
7
- type WalletConnectLegacyConnectorConfig = ConstructorParameters<typeof WalletConnectLegacyConnector>[0];
8
- export type WalletConnectLegacyConnectorOptions = WalletConnectLegacyConnectorConfig['options'];
9
- export declare function getWalletConnectConnector(config: {
10
- version?: WalletConnectVersion;
11
- projectId?: string;
12
- chains: Chain[];
13
- options?: WalletConnectConnectorOptions;
14
- }): WalletConnectConnector;
15
- export declare function getWalletConnectConnector(config: {
16
- version: '1';
17
- chains: Chain[];
18
- options?: WalletConnectLegacyConnectorOptions;
19
- }): WalletConnectLegacyConnector;
20
- export declare function getWalletConnectConnector(config: {
21
- version: '2';
22
- projectId: string;
23
- chains: Chain[];
24
- options?: WalletConnectConnectorOptions;
25
- }): WalletConnectConnector;
26
- export {};
@@ -1,2 +0,0 @@
1
- export declare function getRecentWalletIds(): string[];
2
- export declare function addRecentWalletId(walletId: string): void;
@@ -1,13 +0,0 @@
1
- import { useConnect } from 'wagmi';
2
- import { WalletInstance } from './Wallet';
3
- export interface WalletConnector extends WalletInstance {
4
- ready?: boolean;
5
- connect?: ReturnType<typeof useConnect>['connectAsync'];
6
- onConnecting?: (fn: () => void) => void;
7
- showWalletConnectModal?: () => void;
8
- recent: boolean;
9
- mobileDownloadUrl?: string;
10
- extensionDownloadUrl?: string;
11
- desktopDownloadUrl?: string;
12
- }
13
- export declare function useWalletConnectors(): WalletConnector[];
@@ -1,7 +0,0 @@
1
- import { GlobalEnvOption } from '@funkit/core';
2
- import { Wallet } from '../../Wallet';
3
- interface funkitConnectWalletOptions {
4
- funkitOptions: GlobalEnvOption;
5
- }
6
- export declare const funkitConnectWallet: ({ funkitOptions, }: funkitConnectWalletOptions) => Wallet;
7
- export {};
@@ -1,16 +0,0 @@
1
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
2
- import type { WalletConnectConnectorOptions, WalletConnectLegacyConnectorOptions } from '../../getWalletConnectConnector';
3
- import { Wallet } from '../../Wallet';
4
- export interface ArgentWalletLegacyOptions {
5
- projectId?: string;
6
- chains: Chain[];
7
- walletConnectVersion: '1';
8
- walletConnectOptions?: WalletConnectLegacyConnectorOptions;
9
- }
10
- export interface ArgentWalletOptions {
11
- projectId: string;
12
- chains: Chain[];
13
- walletConnectVersion?: '2';
14
- walletConnectOptions?: WalletConnectConnectorOptions;
15
- }
16
- export declare const argentWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, }: ArgentWalletLegacyOptions | ArgentWalletOptions) => Wallet;
@@ -1,18 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core';
2
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
3
- import { WalletConnectConnectorOptions, WalletConnectLegacyConnectorOptions } from '../../getWalletConnectConnector';
4
- import { Wallet } from '../../Wallet';
5
- import { InjectedWalletOptions } from '../injectedWallet/injectedWallet';
6
- export interface BifrostWalletLegacyOptions {
7
- projectId?: string;
8
- chains: Chain[];
9
- walletConnectVersion: '1';
10
- walletConnectOptions?: WalletConnectLegacyConnectorOptions;
11
- }
12
- export interface BifrostWalletOptions {
13
- projectId: string;
14
- chains: Chain[];
15
- walletConnectVersion?: '2';
16
- walletConnectOptions?: WalletConnectConnectorOptions;
17
- }
18
- export declare const bifrostWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, ...options }: (BifrostWalletOptions | BifrostWalletLegacyOptions) & InjectedWalletOptions & InjectedConnectorOptions) => Wallet;
@@ -1,39 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
2
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
3
- import type { WalletConnectConnectorOptions, WalletConnectLegacyConnectorOptions } from '../../getWalletConnectConnector';
4
- import { Wallet } from '../../Wallet';
5
- export interface BitgetWalletLegacyOptions {
6
- projectId?: string;
7
- chains: Chain[];
8
- walletConnectVersion: '1';
9
- walletConnectOptions?: WalletConnectLegacyConnectorOptions;
10
- }
11
- export interface BitgetWalletOptions {
12
- projectId: string;
13
- chains: Chain[];
14
- walletConnectVersion?: '2';
15
- walletConnectOptions?: WalletConnectConnectorOptions;
16
- }
17
- /**
18
- * @deprecated `BitKeepWalletLegacyOptions` is now `BitgetWalletLegacyOptions`
19
- */
20
- export interface BitKeepWalletLegacyOptions {
21
- projectId?: string;
22
- chains: Chain[];
23
- walletConnectVersion: '1';
24
- walletConnectOptions?: WalletConnectLegacyConnectorOptions;
25
- }
26
- /**
27
- * @deprecated `BitKeepWalletOptions` is now `BitgetWalletOptions`
28
- */
29
- export interface BitKeepWalletOptions {
30
- projectId: string;
31
- chains: Chain[];
32
- walletConnectVersion?: '2';
33
- walletConnectOptions?: WalletConnectConnectorOptions;
34
- }
35
- export declare const bitgetWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, ...options }: (BitgetWalletLegacyOptions | BitgetWalletOptions | BitKeepWalletLegacyOptions | BitKeepWalletOptions) & InjectedConnectorOptions) => Wallet;
36
- /**
37
- * @deprecated `bitKeepWallet` is now `bitgetWallet`
38
- */
39
- export declare const bitKeepWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, ...options }: (BitgetWalletLegacyOptions | BitgetWalletOptions | BitKeepWalletLegacyOptions | BitKeepWalletOptions) & InjectedConnectorOptions) => Wallet;
@@ -1,7 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core';
2
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
3
- import { Wallet } from '../../Wallet';
4
- export interface BitskiWalletOptions {
5
- chains: Chain[];
6
- }
7
- export declare const bitskiWallet: ({ chains, ...options }: BitskiWalletOptions & InjectedConnectorOptions) => Wallet;
@@ -1,7 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core';
2
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
3
- import { Wallet } from '../../Wallet';
4
- export interface BraveWalletOptions {
5
- chains: Chain[];
6
- }
7
- export declare const braveWallet: ({ chains, ...options }: BraveWalletOptions & InjectedConnectorOptions) => Wallet;
@@ -1,54 +0,0 @@
1
- "use client";
2
- // src/utils/getWalletConnectUri.ts
3
- async function getWalletConnectUri(connector, version) {
4
- const provider = await connector.getProvider();
5
- return version === "2" ? new Promise((resolve) => provider.once("display_uri", resolve)) : provider.connector.uri;
6
- }
7
-
8
- // src/wallets/getWalletConnectConnector.ts
9
- import { WalletConnectConnector } from "wagmi/connectors/walletConnect";
10
- import { WalletConnectLegacyConnector } from "wagmi/connectors/walletConnectLegacy";
11
- var sharedConnectors = /* @__PURE__ */ new Map();
12
- function createConnector(version, config) {
13
- const connector = version === "1" ? new WalletConnectLegacyConnector(config) : new WalletConnectConnector(config);
14
- sharedConnectors.set(JSON.stringify(config), connector);
15
- return connector;
16
- }
17
- function getWalletConnectConnector({
18
- chains,
19
- options = {},
20
- projectId,
21
- version = "2"
22
- }) {
23
- const exampleProjectId = "21fef48091f12692cad574a6f7753643";
24
- if (version === "2") {
25
- if (!projectId || projectId === "") {
26
- throw new Error(
27
- "No projectId found. Every dApp must now provide a WalletConnect Cloud projectId to enable WalletConnect v2 https://www.rainbowkit.com/docs/installation#configure"
28
- );
29
- } else if (projectId === "YOUR_PROJECT_ID" || projectId === exampleProjectId) {
30
- console.warn(
31
- "Invalid projectId. Please create a unique WalletConnect Cloud projectId for your dApp https://www.rainbowkit.com/docs/installation#configure"
32
- );
33
- }
34
- }
35
- const config = {
36
- chains,
37
- options: version === "1" ? {
38
- qrcode: false,
39
- ...options
40
- } : {
41
- projectId: projectId === "YOUR_PROJECT_ID" ? exampleProjectId : projectId,
42
- showQrModal: false,
43
- ...options
44
- }
45
- };
46
- const serializedConfig = JSON.stringify(config);
47
- const sharedConnector = sharedConnectors.get(serializedConfig);
48
- return sharedConnector ?? createConnector(version, config);
49
- }
50
-
51
- export {
52
- getWalletConnectUri,
53
- getWalletConnectConnector
54
- };
@@ -1,15 +0,0 @@
1
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
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;
@@ -1,22 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
2
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
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;
@@ -1,7 +0,0 @@
1
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
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;
@@ -1,24 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
2
- import { WindowProvider } from 'wagmi';
3
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
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;
@@ -1,7 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
2
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
3
- import { Wallet } from '../../Wallet';
4
- export interface DawnWalletOptions {
5
- chains: Chain[];
6
- }
7
- export declare const dawnWallet: ({ chains, ...options }: DawnWalletOptions & InjectedConnectorOptions) => Wallet;
@@ -1,7 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
2
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
3
- import { Wallet } from '../../Wallet';
4
- export interface DesigWalletOptions {
5
- chains: Chain[];
6
- }
7
- export declare const desigWallet: ({ chains, ...options }: DesigWalletOptions & InjectedConnectorOptions) => Wallet;
@@ -1,16 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core';
2
- import type { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
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;
@@ -1,11 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
2
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
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;
@@ -1,7 +0,0 @@
1
- import type { InjectedConnectorOptions } from '@wagmi/core';
2
- import { Chain } from '../../../components/FunkitProvider/RainbowKitChainContext';
3
- import { Wallet } from '../../Wallet';
4
- export interface FrameWalletOptions {
5
- chains: Chain[];
6
- }
7
- export declare const frameWallet: ({ chains, ...options }: FrameWalletOptions & InjectedConnectorOptions) => Wallet;