@funkit/connect 0.1.10 → 0.1.13

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 (387) hide show
  1. package/dist/__private__/index.d.ts +8 -0
  2. package/dist/{chunk-X25RSAGB.js → chunk-BQU2NRO5.js} +12577 -12351
  3. package/dist/{chunk-W7RO4DCA.js → chunk-Q73FKLU4.js} +1 -0
  4. package/dist/{chunk-ZKI6VFDD.js → chunk-UOUEGWLS.js} +1 -0
  5. package/dist/components/AccountModal/AccountModal.d.ts +6 -0
  6. package/dist/components/AsyncImage/AsyncImage.d.ts +19 -0
  7. package/dist/components/AsyncImage/useAsyncImage.d.ts +3 -0
  8. package/dist/components/Avatar/Avatar.d.ts +9 -0
  9. package/dist/components/Avatar/EmojiAvatar.d.ts +2 -0
  10. package/dist/components/Avatar/emojiAvatarForAddress.d.ts +106 -0
  11. package/dist/components/Box/Box.d.ts +86 -0
  12. package/dist/components/Button/ActionButton.d.ts +14 -0
  13. package/dist/components/ChainModal/ChainModal.css.d.ts +2 -0
  14. package/dist/components/ChainModal/ChainModal.d.ts +6 -0
  15. package/dist/components/CloseButton/CloseButton.d.ts +5 -0
  16. package/dist/components/ConnectButton/ConnectButton.d.ts +28 -0
  17. package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +39 -0
  18. package/dist/components/ConnectButton/abbreviateETHBalance.d.ts +2 -0
  19. package/dist/components/ConnectButton/formatAddress.d.ts +1 -0
  20. package/dist/components/ConnectButton/formatENS.d.ts +1 -0
  21. package/dist/components/ConnectOptions/ConnectDetails.d.ts +36 -0
  22. package/dist/components/ConnectOptions/DesktopOptions.css.d.ts +4 -0
  23. package/dist/components/ConnectOptions/DesktopOptions.d.ts +15 -0
  24. package/dist/components/ConnectOptions/FunConnectOptions.d.ts +11 -0
  25. package/dist/components/ConnectOptions/MobileOptions.css.d.ts +1 -0
  26. package/dist/components/ConnectOptions/MobileOptions.d.ts +4 -0
  27. package/dist/components/Dialog/Dialog.css.d.ts +5 -0
  28. package/dist/components/Dialog/Dialog.d.ts +12 -0
  29. package/dist/components/Dialog/DialogContent.css.d.ts +6 -0
  30. package/dist/components/Dialog/DialogContent.d.ts +12 -0
  31. package/dist/components/Dialog/FocusTrap.d.ts +2 -0
  32. package/dist/components/Disclaimer/DisclaimerLink.d.ts +5 -0
  33. package/dist/components/Disclaimer/DisclaimerText.d.ts +4 -0
  34. package/dist/components/FunButton/FunBackButton.d.ts +4 -0
  35. package/dist/components/FunButton/FunButton.css.d.ts +3 -0
  36. package/dist/components/FunButton/FunButton.d.ts +18 -0
  37. package/dist/components/FunButton/FunIconButton.d.ts +16 -0
  38. package/dist/components/FunButton/FunLinkButton.d.ts +9 -0
  39. package/dist/components/FunButton/FunViewTxButton.d.ts +4 -0
  40. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +8 -0
  41. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +8 -0
  42. package/dist/components/FunCheckoutModal/FunCheckoutConfirmation.css.d.ts +7 -0
  43. package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +9 -0
  44. package/dist/components/FunCheckoutModal/FunCheckoutModal.d.ts +15 -0
  45. package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +9 -0
  46. package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.css.d.ts +7 -0
  47. package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +12 -0
  48. package/dist/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +6 -0
  49. package/dist/components/FunConnectModal/FunConnectModal.d.ts +6 -0
  50. package/dist/components/FunContainer/FunContainer.d.ts +11 -0
  51. package/dist/components/FunDevTestModal/FunDevTestModal.d.ts +6 -0
  52. package/dist/components/FunDivider/FunDivider.d.ts +7 -0
  53. package/dist/components/FunInput/FunInput.css.d.ts +2 -0
  54. package/dist/components/FunInput/FunInput.d.ts +28 -0
  55. package/dist/components/FunKeyValue/FunKeyValue.d.ts +25 -0
  56. package/dist/components/FunMeshTwoFactorStep/FunMeshTwoFactorStep.d.ts +9 -0
  57. package/dist/components/FunModalTitleSection/FunModalTitleSection.css.d.ts +7 -0
  58. package/dist/components/FunModalTitleSection/FunModalTitleSection.d.ts +12 -0
  59. package/dist/components/FunNotification/FunCheckoutNotification.d.ts +6 -0
  60. package/dist/components/FunNotification/FunNotification.d.ts +12 -0
  61. package/dist/components/FunOnramp/FunOnramp.css.d.ts +7 -0
  62. package/dist/components/FunOnramp/FunOnrampConfirmation.css.d.ts +7 -0
  63. package/dist/components/FunOnramp/FunOnrampConfirmationStep.d.ts +18 -0
  64. package/dist/components/FunOnramp/FunOnrampInputStep.d.ts +10 -0
  65. package/dist/components/FunOnramp/FunOnrampPrimaryItem.d.ts +5 -0
  66. package/dist/components/FunOnramp/FunOnrampProcessingStep.d.ts +6 -0
  67. package/dist/components/FunOnramp/FunOnrampTokenPill.d.ts +7 -0
  68. package/dist/components/FunPayments/FunPaymentMeshType.css.d.ts +7 -0
  69. package/dist/components/FunPayments/FunPaymentMeshType.d.ts +10 -0
  70. package/dist/components/FunPayments/FunPaymentMethods.d.ts +55 -0
  71. package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +10 -0
  72. package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +13 -0
  73. package/dist/components/FunPayments/FunPaymentSetup.d.ts +18 -0
  74. package/dist/components/FunPayments/FunPaymentTransferType.css.d.ts +7 -0
  75. package/dist/components/FunPayments/FunPaymentTransferType.d.ts +6 -0
  76. package/dist/components/FunPayments/FunPayments.css.d.ts +7 -0
  77. package/dist/components/FunProgressBar/FunHorizontalStepper.d.ts +7 -0
  78. package/dist/components/FunProgressBar/FunProgressBar.d.ts +6 -0
  79. package/dist/components/FunProgressBar/FunVerticalProgressBar.d.ts +14 -0
  80. package/dist/components/FunSelect/FunClickOutside.d.ts +8 -0
  81. package/dist/components/FunSelect/FunSelect.d.ts +26 -0
  82. package/dist/components/FunSignInFlow/FunSignInStep.css.d.ts +2 -0
  83. package/dist/components/FunSignInFlow/FunSignInStep.d.ts +14 -0
  84. package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.css.d.ts +7 -0
  85. package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.d.ts +9 -0
  86. package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.css.d.ts +7 -0
  87. package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.d.ts +9 -0
  88. package/dist/components/FunStates/FunErrorContent.d.ts +10 -0
  89. package/dist/components/FunTermsAndConditionsTextButton/FunTermsAndConditionsTextButton.d.ts +2 -0
  90. package/dist/components/FunToast/FunShortToast.css.d.ts +10 -0
  91. package/dist/components/FunToast/FunShortToast.d.ts +3 -0
  92. package/dist/components/FunToast/FunToast.d.ts +18 -0
  93. package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +22 -0
  94. package/dist/components/FunkitProvider/AuthenticationContext.d.ts +35 -0
  95. package/dist/components/FunkitProvider/AvatarContext.d.ts +9 -0
  96. package/dist/components/FunkitProvider/CoolModeContext.d.ts +2 -0
  97. package/dist/components/FunkitProvider/FunToastContext.d.ts +11 -0
  98. package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +142 -0
  99. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +20 -0
  100. package/dist/components/FunkitProvider/FunkitConnectChainContext.d.ts +19 -0
  101. package/dist/components/FunkitProvider/FunkitProvider.d.ts +18 -0
  102. package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +347 -0
  103. package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +24 -0
  104. package/dist/components/FunkitProvider/I18nContext.d.ts +9 -0
  105. package/dist/components/FunkitProvider/ModalContext.d.ts +37 -0
  106. package/dist/components/FunkitProvider/ModalSizeContext.d.ts +7 -0
  107. package/dist/components/FunkitProvider/provideFunkitConnectChains.d.ts +3 -0
  108. package/dist/components/FunkitProvider/useCoolMode.d.ts +2 -0
  109. package/dist/components/FunkitProvider/useFingerprint.d.ts +1 -0
  110. package/dist/components/FunkitProvider/usePreloadImages.d.ts +1 -0
  111. package/dist/components/FunkitProvider/walletConnectDeepLink.d.ts +5 -0
  112. package/dist/components/FunkitWeb2Provider/FunkitWeb2Provider.d.ts +68 -0
  113. package/dist/components/Icons/AcornsIcon.d.ts +2 -0
  114. package/dist/components/Icons/AlpacaIcon.d.ts +2 -0
  115. package/dist/components/Icons/Assets.d.ts +3 -0
  116. package/dist/components/Icons/Back.d.ts +2 -0
  117. package/dist/components/Icons/BinanceIcon.d.ts +2 -0
  118. package/dist/components/Icons/BitFlyerIcon.d.ts +2 -0
  119. package/dist/components/Icons/BitstampIcon.d.ts +2 -0
  120. package/dist/components/Icons/BridgeIcon.d.ts +2 -0
  121. package/dist/components/Icons/BybitIcon.d.ts +2 -0
  122. package/dist/components/Icons/Cancel.d.ts +2 -0
  123. package/dist/components/Icons/CexloIcon.d.ts +2 -0
  124. package/dist/components/Icons/ClockIcon.d.ts +2 -0
  125. package/dist/components/Icons/Close.d.ts +2 -0
  126. package/dist/components/Icons/CoinIcon.d.ts +4 -0
  127. package/dist/components/Icons/Coinbase.d.ts +2 -0
  128. package/dist/components/Icons/CoinlistIcon.d.ts +2 -0
  129. package/dist/components/Icons/Connect.d.ts +3 -0
  130. package/dist/components/Icons/Copied.d.ts +2 -0
  131. package/dist/components/Icons/Copy.d.ts +2 -0
  132. package/dist/components/Icons/Create.d.ts +3 -0
  133. package/dist/components/Icons/CreditCardDots.d.ts +2 -0
  134. package/dist/components/Icons/CryptoComIcon.d.ts +2 -0
  135. package/dist/components/Icons/Disconnect.d.ts +2 -0
  136. package/dist/components/Icons/DisconnectSq.d.ts +4 -0
  137. package/dist/components/Icons/Dropdown.d.ts +2 -0
  138. package/dist/components/Icons/EthereumIcon.d.ts +4 -0
  139. package/dist/components/Icons/EtoroIcon.d.ts +2 -0
  140. package/dist/components/Icons/EtradeIcon.d.ts +2 -0
  141. package/dist/components/Icons/Explore.d.ts +2 -0
  142. package/dist/components/Icons/ExternalLink.d.ts +2 -0
  143. package/dist/components/Icons/FunArrows.d.ts +5 -0
  144. package/dist/components/Icons/FunBackIcon.d.ts +2 -0
  145. package/dist/components/Icons/GateIo.d.ts +2 -0
  146. package/dist/components/Icons/GeminiIcon.d.ts +2 -0
  147. package/dist/components/Icons/HuobiIcon.d.ts +2 -0
  148. package/dist/components/Icons/Icons.css.d.ts +3 -0
  149. package/dist/components/Icons/Info.d.ts +3 -0
  150. package/dist/components/Icons/KrakenIcon.d.ts +2 -0
  151. package/dist/components/Icons/KucoinIcon.d.ts +2 -0
  152. package/dist/components/Icons/LightningIcon.d.ts +2 -0
  153. package/dist/components/Icons/LinkIcon.d.ts +2 -0
  154. package/dist/components/Icons/Login.d.ts +3 -0
  155. package/dist/components/Icons/LogoutIcon.d.ts +2 -0
  156. package/dist/components/Icons/MastercardIcon.d.ts +2 -0
  157. package/dist/components/Icons/MmFox.d.ts +2 -0
  158. package/dist/components/Icons/NoAssetsFoundIcon.d.ts +4 -0
  159. package/dist/components/Icons/OkcoinIcon.d.ts +2 -0
  160. package/dist/components/Icons/OkxIcon.d.ts +2 -0
  161. package/dist/components/Icons/PasskeyIcon.d.ts +2 -0
  162. package/dist/components/Icons/PaymentMethodIcons.d.ts +5 -0
  163. package/dist/components/Icons/PlusIcon.d.ts +2 -0
  164. package/dist/components/Icons/ProfileIcon.d.ts +2 -0
  165. package/dist/components/Icons/PublicIcon.d.ts +2 -0
  166. package/dist/components/Icons/ReceiptIcon.d.ts +2 -0
  167. package/dist/components/Icons/RedirectIcon.d.ts +2 -0
  168. package/dist/components/Icons/Refresh.d.ts +3 -0
  169. package/dist/components/Icons/RobinhoodIcon.d.ts +2 -0
  170. package/dist/components/Icons/Scan.d.ts +3 -0
  171. package/dist/components/Icons/SearchIcon.d.ts +4 -0
  172. package/dist/components/Icons/SettingsIcon.d.ts +2 -0
  173. package/dist/components/Icons/SocialMediaIcons.d.ts +4 -0
  174. package/dist/components/Icons/Spinner.d.ts +5 -0
  175. package/dist/components/Icons/StEthIcon.d.ts +2 -0
  176. package/dist/components/Icons/StashIcon.d.ts +2 -0
  177. package/dist/components/Icons/Success.d.ts +2 -0
  178. package/dist/components/Icons/SuccessNoBorder.d.ts +2 -0
  179. package/dist/components/Icons/SwapIcon.d.ts +2 -0
  180. package/dist/components/Icons/SwitchAccount.d.ts +2 -0
  181. package/dist/components/Icons/TransferIcon.d.ts +2 -0
  182. package/dist/components/Icons/USDCIcon.d.ts +2 -0
  183. package/dist/components/Icons/WalletIcon.d.ts +3 -0
  184. package/dist/components/Icons/WeBullIcon.d.ts +2 -0
  185. package/dist/components/Icons/WhiteDotIcon.d.ts +2 -0
  186. package/dist/components/InfoButton/InfoButton.d.ts +5 -0
  187. package/dist/components/MenuButton/MenuButton.css.d.ts +1 -0
  188. package/dist/components/MenuButton/MenuButton.d.ts +9 -0
  189. package/dist/components/ModalSelection/ModalSelection.css.d.ts +1 -0
  190. package/dist/components/ModalSelection/ModalSelection.d.ts +17 -0
  191. package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.css.d.ts +7 -0
  192. package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.d.ts +5 -0
  193. package/dist/components/ProfileDetails/FunWalletProfileViews/FWBridge.d.ts +9 -0
  194. package/dist/components/ProfileDetails/FunWalletProfileViews/FWDeposit.d.ts +14 -0
  195. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHome.css.d.ts +17 -0
  196. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeCheckoutSection.d.ts +4 -0
  197. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeTokenDisplayRow.d.ts +4 -0
  198. package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/index.d.ts +6 -0
  199. package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.css.d.ts +7 -0
  200. package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.d.ts +10 -0
  201. package/dist/components/ProfileDetails/FunWalletProfileViews/FWSwap.d.ts +5 -0
  202. package/dist/components/ProfileDetails/FunWalletProfileViews/FunArrowItem.d.ts +4 -0
  203. package/dist/components/ProfileDetails/FunWalletProfileViews/FunSelectionSection.d.ts +11 -0
  204. package/dist/components/ProfileDetails/ProfileDetailsAction.d.ts +10 -0
  205. package/dist/components/ProfileDetails/WalletProfileDetails.d.ts +19 -0
  206. package/dist/components/QRCode/QRCode.d.ts +13 -0
  207. package/dist/components/SignIn/SignIn.d.ts +5 -0
  208. package/dist/components/SkeletalLoader/SkeletalLoader.css.d.ts +1 -0
  209. package/dist/components/SkeletalLoader/SkeletalLoader.d.ts +2 -0
  210. package/dist/components/Text/Text.d.ts +18 -0
  211. package/dist/components/TwoFaInputField/FunTwoFaInput.d.ts +10 -0
  212. package/dist/components/Txs/TxItem.d.ts +7 -0
  213. package/dist/components/Txs/TxList.d.ts +7 -0
  214. package/dist/components/Txs/Txs.css.d.ts +2 -0
  215. package/dist/components/index.css +1816 -707
  216. package/dist/components/index.d.ts +4 -0
  217. package/dist/components/index.js +3 -3
  218. package/dist/consts/assets.d.ts +26 -0
  219. package/dist/consts/funkit.d.ts +9 -0
  220. package/dist/css/animations.css.d.ts +9 -0
  221. package/dist/css/atoms.d.ts +6 -0
  222. package/dist/css/cssObjectFromTheme.d.ts +6 -0
  223. package/dist/css/cssStringFromTheme.d.ts +4 -0
  224. package/dist/css/reset.css.d.ts +14 -0
  225. package/dist/css/sprinkles.css.d.ts +3492 -0
  226. package/dist/css/touchableStyles.css.d.ts +4 -0
  227. package/dist/css/touchableStyles.d.ts +8 -0
  228. package/dist/hooks/useChainId.d.ts +1 -0
  229. package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +31 -0
  230. package/dist/hooks/useCheckoutStateBooleans.d.ts +9 -0
  231. package/dist/hooks/useConnectionStatus.d.ts +7 -0
  232. package/dist/hooks/useDebouncedCallback.d.ts +1 -0
  233. package/dist/hooks/useFunListeners.d.ts +8 -0
  234. package/dist/hooks/useIsMounted.d.ts +1 -0
  235. package/dist/hooks/useMainnet.d.ts +4 -0
  236. package/dist/hooks/useMainnetEnsAvatar.d.ts +1 -0
  237. package/dist/hooks/useMainnetEnsName.d.ts +1 -0
  238. package/dist/hooks/useMesh.d.ts +32 -0
  239. package/dist/hooks/useSymbolRefresh.d.ts +7 -0
  240. package/dist/hooks/useWindowSize.d.ts +4 -0
  241. package/dist/index.css +1800 -691
  242. package/dist/index.d.ts +18 -0
  243. package/dist/index.js +3 -3
  244. package/dist/locales/index.d.ts +3 -0
  245. package/dist/themes/baseTheme.d.ts +25 -0
  246. package/dist/themes/darkTheme.d.ts +85 -0
  247. package/dist/themes/darkTheme.js +1 -1
  248. package/dist/themes/lightTheme.d.ts +85 -0
  249. package/dist/themes/lightTheme.js +1 -1
  250. package/dist/transactions/TransactionStoreContext.d.ts +151 -0
  251. package/dist/transactions/transactionStore.d.ts +21 -0
  252. package/dist/transactions/useAddRecentTransaction.d.ts +2 -0
  253. package/dist/transactions/useClearRecentTransactions.d.ts +1 -0
  254. package/dist/transactions/useRecentTransactions.d.ts +2 -0
  255. package/dist/types.d.ts +4 -0
  256. package/dist/utils/Logger.d.ts +25 -0
  257. package/dist/utils/browsers.d.ts +13 -0
  258. package/dist/utils/chainToExplorerUrl.d.ts +2 -0
  259. package/dist/utils/checkout.d.ts +104 -0
  260. package/dist/utils/colors.d.ts +3 -0
  261. package/dist/utils/emailandPhoneValidator.d.ts +5 -0
  262. package/dist/utils/flatten.d.ts +1 -0
  263. package/dist/utils/formatNumber.d.ts +53 -0
  264. package/dist/utils/formatTimestamp.d.ts +1 -0
  265. package/dist/utils/funkitProvider.d.ts +6 -0
  266. package/dist/utils/funwallet.d.ts +1 -0
  267. package/dist/utils/getWalletConnectUri.d.ts +2 -0
  268. package/dist/utils/groupBy.d.ts +1 -0
  269. package/dist/utils/indexBy.d.ts +1 -0
  270. package/dist/utils/isMobile.d.ts +5 -0
  271. package/dist/utils/isNotNullish.d.ts +1 -0
  272. package/dist/utils/locale.d.ts +1 -0
  273. package/dist/utils/mesh.d.ts +58 -0
  274. package/dist/utils/moonpay.d.ts +1 -0
  275. package/dist/utils/omitUndefinedValues.d.ts +1 -0
  276. package/dist/utils/platforms.d.ts +10 -0
  277. package/dist/wallets/Wallet.d.ts +86 -0
  278. package/dist/wallets/connectorsForWallets.d.ts +2 -0
  279. package/dist/wallets/downloadUrls.d.ts +4 -0
  280. package/dist/wallets/getDefaultWallets.d.ts +11 -0
  281. package/dist/wallets/getInjectedConnector.d.ts +10 -0
  282. package/dist/wallets/getWalletConnectConnector.d.ts +26 -0
  283. package/dist/wallets/recentWalletIds.d.ts +2 -0
  284. package/dist/wallets/useWalletConnectors.d.ts +13 -0
  285. package/dist/wallets/walletConnectors/@funkitConnectWallet/funkitConnectWallet.d.ts +7 -0
  286. package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +16 -0
  287. package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
  288. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +18 -0
  289. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  290. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +39 -0
  291. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  292. package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +7 -0
  293. package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +7 -0
  294. package/dist/wallets/walletConnectors/{chunk-BYGJDC6Y.js → chunk-2XHTO74O.js} +1 -1
  295. package/dist/wallets/walletConnectors/{chunk-OV2JRO7A.js → chunk-3XLDPS4Y.js} +4 -4
  296. package/dist/wallets/walletConnectors/{chunk-4CGDJKUJ.js → chunk-4EKX7Z25.js} +4 -4
  297. package/dist/wallets/walletConnectors/{chunk-EXTKISYU.js → chunk-4WS4ZSRN.js} +1 -1
  298. package/dist/wallets/walletConnectors/{chunk-Y4EWYKDM.js → chunk-6FQF7H7H.js} +4 -4
  299. package/dist/wallets/walletConnectors/{chunk-EUSM6MRB.js → chunk-6T5K52ZY.js} +5 -5
  300. package/dist/wallets/walletConnectors/{chunk-TBZII4VB.js → chunk-77KYAV4P.js} +4 -4
  301. package/dist/wallets/walletConnectors/{chunk-237HEA4B.js → chunk-7EOFWORX.js} +1 -1
  302. package/dist/wallets/walletConnectors/{chunk-IVIQBLOK.js → chunk-APZ6YBCA.js} +1 -1
  303. package/dist/wallets/walletConnectors/{chunk-DS2NHYCT.js → chunk-BDKAIAQA.js} +1 -1
  304. package/dist/wallets/walletConnectors/{chunk-G2HR4ZFS.js → chunk-DBMFZSXN.js} +1 -1
  305. package/dist/wallets/walletConnectors/{chunk-OH3HGTQV.js → chunk-EHO4MJZJ.js} +1 -1
  306. package/dist/wallets/walletConnectors/{chunk-2T67SC63.js → chunk-FTTYELWN.js} +1 -1
  307. package/dist/wallets/walletConnectors/{chunk-THH76QKN.js → chunk-GHYJ56FA.js} +4 -4
  308. package/dist/wallets/walletConnectors/{chunk-TT2SHVBF.js → chunk-GLB4HFDR.js} +4 -4
  309. package/dist/wallets/walletConnectors/chunk-IEAKLGB6.js +84 -0
  310. package/dist/wallets/walletConnectors/chunk-JJICTRJY.js +114 -0
  311. package/dist/wallets/walletConnectors/chunk-KUXG7P5Q.js +102 -0
  312. package/dist/wallets/walletConnectors/{chunk-AFMQLXY2.js → chunk-LBSWP7R6.js} +1 -1
  313. package/dist/wallets/walletConnectors/chunk-LEWQ7DQV.js +71 -0
  314. package/dist/wallets/walletConnectors/chunk-LL6T7V77.js +81 -0
  315. package/dist/wallets/walletConnectors/{chunk-JC5DQVHX.js → chunk-LVMQKSKW.js} +1 -1
  316. package/dist/wallets/walletConnectors/chunk-MDDT3PSR.js +110 -0
  317. package/dist/wallets/walletConnectors/chunk-MOWIPEYK.js +226 -0
  318. package/dist/wallets/walletConnectors/{chunk-4FQ2OCM4.js → chunk-NEDPCNTA.js} +4 -4
  319. package/dist/wallets/walletConnectors/{chunk-M5VGZ2QW.js → chunk-PTF3JKWO.js} +1 -1
  320. package/dist/wallets/walletConnectors/chunk-Q6N2YWW4.js +112 -0
  321. package/dist/wallets/walletConnectors/chunk-RL5OHS6R.js +113 -0
  322. package/dist/wallets/walletConnectors/{chunk-PATI3A3F.js → chunk-T3RIVRAX.js} +1 -1
  323. package/dist/wallets/walletConnectors/{chunk-7HTS7H5B.js → chunk-TG2HN6KW.js} +1 -1
  324. package/dist/wallets/walletConnectors/{chunk-4LHUAGGQ.js → chunk-TORM2ZGA.js} +1 -1
  325. package/dist/wallets/walletConnectors/{chunk-ZGVEVXA7.js → chunk-TZR3P22N.js} +1 -1
  326. package/dist/wallets/walletConnectors/chunk-VAR774R5.js +105 -0
  327. package/dist/wallets/walletConnectors/chunk-VW5SMBMG.js +71 -0
  328. package/dist/wallets/walletConnectors/chunk-X6A7D2EA.js +71 -0
  329. package/dist/wallets/walletConnectors/chunk-XXTDCRCW.js +52 -0
  330. package/dist/wallets/walletConnectors/chunk-YWKKNHO3.js +117 -0
  331. package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +15 -0
  332. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  333. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +22 -0
  334. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  335. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +7 -0
  336. package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +24 -0
  337. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  338. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +7 -0
  339. package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +7 -0
  340. package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.d.ts +16 -0
  341. package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +11 -0
  342. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  343. package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +7 -0
  344. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +22 -0
  345. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  346. package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +16 -0
  347. package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.js +2 -2
  348. package/dist/wallets/walletConnectors/index.d.ts +41 -0
  349. package/dist/wallets/walletConnectors/index.js +68 -68
  350. package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +7 -0
  351. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +16 -0
  352. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
  353. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +17 -0
  354. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  355. package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +7 -0
  356. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +16 -0
  357. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
  358. package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +17 -0
  359. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  360. package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +16 -0
  361. package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
  362. package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +11 -0
  363. package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +7 -0
  364. package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +7 -0
  365. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +17 -0
  366. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  367. package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +7 -0
  368. package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +12 -0
  369. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +22 -0
  370. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  371. package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +16 -0
  372. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  373. package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +12 -0
  374. package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +12 -0
  375. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.d.ts +17 -0
  376. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  377. package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +22 -0
  378. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  379. package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +16 -0
  380. package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.js +2 -2
  381. package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +16 -0
  382. package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.js +2 -2
  383. package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +12 -0
  384. package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +7 -0
  385. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +17 -0
  386. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  387. package/package.json +4 -5
@@ -0,0 +1,53 @@
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 {};
@@ -0,0 +1 @@
1
+ export declare function formatTimestamp(date: Date, shortened?: boolean): string;
@@ -0,0 +1,6 @@
1
+ import { FunkitProviderProps } from '../components/FunkitProvider/FunkitProvider';
2
+ export declare function getInitialChainIdFromFunkitProviderProps(props: FunkitProviderProps): number;
3
+ /**
4
+ * Validates the passed in props of FunkitProvider. If there are any misconfigurations, an error will be thrown.
5
+ */
6
+ export declare function validateFunkitProviderProps(props: FunkitProviderProps): void;
@@ -0,0 +1 @@
1
+ export declare const getNormalizedTokenBalance: (tokenBalance: number, decimals: number) => number;
@@ -0,0 +1,2 @@
1
+ import type { Connector } from 'wagmi/connectors';
2
+ export declare function getWalletConnectUri(connector: Connector, version: '1' | '2'): Promise<string>;
@@ -0,0 +1 @@
1
+ export declare function groupBy<Item>(items: Item[], getKey: (item: Item) => string): Record<string, Item[]>;
@@ -0,0 +1 @@
1
+ export declare function indexBy<Item>(items: Item[], getKey: (item: Item) => string): Record<string, Item>;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1 @@
1
+ export declare function isNotNullish<T>(value: T | null | undefined): value is T;
@@ -0,0 +1 @@
1
+ export declare const detectedBrowserLocale: () => string | undefined;
@@ -0,0 +1,58 @@
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 fetchMeshAccountCryptoHoldings({ authToken, apiKey, exchange, }: {
38
+ authToken: string;
39
+ apiKey: string;
40
+ exchange: MeshExchanges;
41
+ }): Promise<any>;
42
+ export declare function fetchMeshSupportedTokensByBrokerageAndSupportedFunkitChains({ exchange, apiKey, }: {
43
+ exchange: MeshExchanges;
44
+ apiKey: string;
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
+ }>;
54
+ export type MeshCheckoutQuoteMeta = null | {
55
+ accessToken: string;
56
+ brokerName: MeshExchanges;
57
+ meshNetworkId: string;
58
+ };
@@ -0,0 +1 @@
1
+ export declare const generateMoonpayCurrencyCode: (tokenSymbol: string, chainId: string) => string;
@@ -0,0 +1 @@
1
+ export declare function omitUndefinedValues<T>(obj: T): T;
@@ -0,0 +1,10 @@
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;
@@ -0,0 +1,86 @@
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 {};
@@ -0,0 +1,2 @@
1
+ import { WalletList } from './Wallet';
2
+ export declare const connectorsForWallets: (walletList: WalletList) => (getWalletList?: boolean) => Connector[];
@@ -0,0 +1,4 @@
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;
@@ -0,0 +1,11 @@
1
+ import { Chain } from '../components/FunkitProvider/FunkitConnectChainContext';
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
+ };
@@ -0,0 +1,10 @@
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/FunkitConnectChainContext';
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;
@@ -0,0 +1,26 @@
1
+ import { WalletConnectConnector } from 'wagmi/connectors/walletConnect';
2
+ import { WalletConnectLegacyConnector } from 'wagmi/connectors/walletConnectLegacy';
3
+ import { Chain } from '../components/FunkitProvider/FunkitConnectChainContext';
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 {};
@@ -0,0 +1,2 @@
1
+ export declare function getRecentWalletIds(): string[];
2
+ export declare function addRecentWalletId(walletId: string): void;
@@ -0,0 +1,13 @@
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[];
@@ -0,0 +1,7 @@
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 {};
@@ -0,0 +1,16 @@
1
+ import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
2
+ import type { WalletConnectConnectorOptions, WalletConnectLegacyConnectorOptions } from '../../getWalletConnectConnector';
3
+ import { Wallet } from '../../Wallet';
4
+ export interface 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,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  argentWallet
4
- } from "../chunk-2T67SC63.js";
5
- import "../chunk-EUSM6MRB.js";
4
+ } from "../chunk-LEWQ7DQV.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-6T5K52ZY.js";
7
7
  export {
8
8
  argentWallet
9
9
  };
@@ -0,0 +1,18 @@
1
+ import type { InjectedConnectorOptions } from '@wagmi/core';
2
+ import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
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,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-AFMQLXY2.js";
5
- import "../chunk-EUSM6MRB.js";
4
+ } from "../chunk-LL6T7V77.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-6T5K52ZY.js";
7
7
  export {
8
8
  bifrostWallet
9
9
  };
@@ -0,0 +1,39 @@
1
+ import type { InjectedConnectorOptions } from '@wagmi/core/connectors/injected';
2
+ import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
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;
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  bitKeepWallet,
4
4
  bitgetWallet
5
- } from "../chunk-Y4EWYKDM.js";
6
- import "../chunk-EUSM6MRB.js";
5
+ } from "../chunk-6FQF7H7H.js";
7
6
  import "../chunk-ZOLACFTK.js";
7
+ import "../chunk-6T5K52ZY.js";
8
8
  export {
9
9
  bitKeepWallet,
10
10
  bitgetWallet
@@ -0,0 +1,7 @@
1
+ import type { InjectedConnectorOptions } from '@wagmi/core';
2
+ import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
3
+ import { Wallet } from '../../Wallet';
4
+ export interface BitskiWalletOptions {
5
+ chains: Chain[];
6
+ }
7
+ export declare const bitskiWallet: ({ chains, ...options }: BitskiWalletOptions & InjectedConnectorOptions) => Wallet;
@@ -0,0 +1,7 @@
1
+ import type { InjectedConnectorOptions } from '@wagmi/core';
2
+ import { Chain } from '../../../components/FunkitProvider/FunkitConnectChainContext';
3
+ import { Wallet } from '../../Wallet';
4
+ export interface BraveWalletOptions {
5
+ chains: Chain[];
6
+ }
7
+ export declare const braveWallet: ({ chains, ...options }: BraveWalletOptions & InjectedConnectorOptions) => Wallet;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getWalletConnectConnector,
4
4
  getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
5
+ } from "./chunk-6T5K52ZY.js";
6
6
  import {
7
7
  isAndroid,
8
8
  isIOS
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector,
4
- getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
6
2
  import {
7
3
  isMobile
8
4
  } from "./chunk-ZOLACFTK.js";
5
+ import {
6
+ getWalletConnectConnector,
7
+ getWalletConnectUri
8
+ } from "./chunk-6T5K52ZY.js";
9
9
 
10
10
  // src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
11
11
  import { InjectedConnector } from "wagmi/connectors/injected";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector,
4
- getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
6
2
  import {
7
3
  isAndroid
8
4
  } from "./chunk-ZOLACFTK.js";
5
+ import {
6
+ getWalletConnectConnector,
7
+ getWalletConnectUri
8
+ } from "./chunk-6T5K52ZY.js";
9
9
 
10
10
  // src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
11
11
  import { InjectedConnector } from "wagmi/connectors/injected";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getWalletConnectConnector,
4
4
  getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
5
+ } from "./chunk-6T5K52ZY.js";
6
6
  import {
7
7
  getInjectedConnector,
8
8
  hasInjectedProvider
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector,
4
- getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
6
2
  import {
7
3
  isAndroid
8
4
  } from "./chunk-ZOLACFTK.js";
5
+ import {
6
+ getWalletConnectConnector,
7
+ getWalletConnectUri
8
+ } from "./chunk-6T5K52ZY.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
11
11
  import { InjectedConnector } from "wagmi/connectors/injected";
@@ -46,7 +46,7 @@ var FunLogger = class {
46
46
  datadogLogs.logger.debug(title, this.decorateLogDataForDdog(data));
47
47
  }
48
48
  if (!isProd || this.isDebugMode) {
49
- console.debug(title, data);
49
+ console.debug(title, data || "");
50
50
  }
51
51
  }
52
52
  onInfo({ title, data }) {
@@ -55,7 +55,7 @@ var FunLogger = class {
55
55
  datadogLogs.logger.info(title, this.decorateLogDataForDdog(data));
56
56
  }
57
57
  if (!isProd || this.isDebugMode) {
58
- console.log(title, data);
58
+ console.log(title, data || "");
59
59
  }
60
60
  }
61
61
  onWarn({ title, data }) {
@@ -64,7 +64,7 @@ var FunLogger = class {
64
64
  datadogLogs.logger.warn(title, this.decorateLogDataForDdog(data));
65
65
  }
66
66
  if (!isProd || this.isDebugMode) {
67
- console.warn(title, data);
67
+ console.warn(title, data || "");
68
68
  }
69
69
  }
70
70
  onError({ title, error, data }) {
@@ -73,7 +73,7 @@ var FunLogger = class {
73
73
  datadogLogs.logger.error(title, this.decorateLogDataForDdog(data), error);
74
74
  }
75
75
  if (!isProd || this.isDebugMode) {
76
- console.error(title, data, error);
76
+ console.error(title, data || "", error);
77
77
  }
78
78
  }
79
79
  log(title, data) {
@@ -106,7 +106,7 @@ var FunLogger = class {
106
106
  datadogLogs.init({
107
107
  clientToken: DDOG_CLIENT_TOKEN,
108
108
  site: "datadoghq.com",
109
- forwardErrorsToLogs: true,
109
+ forwardErrorsToLogs: false,
110
110
  sessionSampleRate: 100
111
111
  });
112
112
  var logger = new FunLogger();
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector,
4
- getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
6
2
  import {
7
3
  isIOS
8
4
  } from "./chunk-ZOLACFTK.js";
5
+ import {
6
+ getWalletConnectConnector,
7
+ getWalletConnectUri
8
+ } from "./chunk-6T5K52ZY.js";
9
9
 
10
10
  // src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
11
11
  import { InjectedConnector } from "wagmi/connectors/injected";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getWalletConnectConnector,
4
4
  getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
5
+ } from "./chunk-6T5K52ZY.js";
6
6
 
7
7
  // src/wallets/walletConnectors/imTokenWallet/imTokenWallet.ts
8
8
  var imTokenWallet = ({
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getWalletConnectConnector,
4
4
  getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
5
+ } from "./chunk-6T5K52ZY.js";
6
6
 
7
7
  // src/wallets/walletConnectors/uniswapWallet/uniswapWallet.ts
8
8
  var uniswapWallet = ({
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getWalletConnectConnector,
4
4
  getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
5
+ } from "./chunk-6T5K52ZY.js";
6
6
  import {
7
7
  isAndroid
8
8
  } from "./chunk-ZOLACFTK.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getWalletConnectConnector,
4
4
  getWalletConnectUri
5
- } from "./chunk-EUSM6MRB.js";
5
+ } from "./chunk-6T5K52ZY.js";
6
6
  import {
7
7
  isIOS
8
8
  } from "./chunk-ZOLACFTK.js";