@b3dotfun/sdk 0.0.7-alpha.12 → 0.0.7-alpha.14

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 (607) hide show
  1. package/dist/cjs/anyspend/abis/abi-usdc-base.js +97 -97
  2. package/dist/cjs/anyspend/abis/erc20-staking.js +51 -51
  3. package/dist/cjs/anyspend/constants/index.js +10 -10
  4. package/dist/cjs/anyspend/react/components/AnySpend.d.ts +1 -1
  5. package/dist/cjs/anyspend/react/components/AnySpend.js +20 -20
  6. package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
  7. package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +32 -32
  8. package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +2 -2
  9. package/dist/cjs/anyspend/react/components/AnySpendCustom.js +29 -29
  10. package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +1 -1
  11. package/dist/cjs/anyspend/react/components/AnySpendNFT.js +4 -4
  12. package/dist/cjs/anyspend/react/components/AnySpendNFTButton.js +1 -1
  13. package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
  14. package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +17 -17
  15. package/dist/cjs/anyspend/react/components/AnySpendTournament.js +4 -4
  16. package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.d.ts +1 -1
  17. package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.js +1 -1
  18. package/dist/cjs/anyspend/react/components/common/OrderDetails.js +9 -9
  19. package/dist/cjs/anyspend/react/components/common/OrderToken.d.ts +1 -1
  20. package/dist/cjs/anyspend/react/components/common/OrderToken.js +4 -4
  21. package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.d.ts +1 -1
  22. package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.js +2 -2
  23. package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +1 -1
  24. package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +2 -2
  25. package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.d.ts +1 -1
  26. package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +7 -7
  27. package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.js +1 -1
  28. package/dist/cjs/anyspend/react/components/common/PaymentOneClick.js +3 -3
  29. package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.js +12 -12
  30. package/dist/cjs/anyspend/react/components/common/TokenBalance.d.ts +1 -1
  31. package/dist/cjs/anyspend/react/components/common/TokenBalance.js +2 -2
  32. package/dist/cjs/anyspend/react/components/index.d.ts +1 -0
  33. package/dist/cjs/anyspend/react/components/index.js +3 -1
  34. package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.d.ts +1 -1
  35. package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.js +1 -1
  36. package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
  37. package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.js +14 -14
  38. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
  39. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +6 -6
  40. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
  41. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
  42. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
  43. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.js +3 -3
  44. package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.js +2 -2
  45. package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.js +3 -3
  46. package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.js +3 -3
  47. package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.js +2 -2
  48. package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.js +2 -2
  49. package/dist/cjs/anyspend/react/hooks/useGetGeo.js +1 -1
  50. package/dist/cjs/anyspend/react/hooks/usePermitData.js +19 -19
  51. package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.js +2 -2
  52. package/dist/cjs/anyspend/react/hooks/useStripeSupport.js +2 -2
  53. package/dist/cjs/anyspend/react/providers/AnyspendProvider.js +3 -3
  54. package/dist/cjs/anyspend/services/anyspend.d.ts +6 -1
  55. package/dist/cjs/anyspend/services/anyspend.js +13 -13
  56. package/dist/cjs/anyspend/types/custom.js +2 -2
  57. package/dist/cjs/anyspend/types/globalWallet.js +1 -1
  58. package/dist/cjs/anyspend/types/nft.js +6 -6
  59. package/dist/cjs/anyspend/types/onramp.d.ts +3 -0
  60. package/dist/cjs/anyspend/types/onramp.js +2 -1
  61. package/dist/cjs/anyspend/types/order.d.ts +30 -0
  62. package/dist/cjs/anyspend/types/order.js +7 -7
  63. package/dist/cjs/anyspend/types/permit.js +1 -1
  64. package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +70 -0
  65. package/dist/cjs/anyspend/types/req-res/createOrder.js +9 -9
  66. package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.js +5 -5
  67. package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -0
  68. package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.js +4 -4
  69. package/dist/cjs/anyspend/types/req-res/getOrderByCreator.js +2 -2
  70. package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +35 -0
  71. package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +1 -1
  72. package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +26 -0
  73. package/dist/cjs/anyspend/types/req-res/getQuote.js +10 -8
  74. package/dist/cjs/anyspend/types/req-res/getTokenList.js +3 -3
  75. package/dist/cjs/anyspend/types/req-res/sendPermitData.js +2 -2
  76. package/dist/cjs/anyspend/types/swap.js +2 -2
  77. package/dist/cjs/anyspend/types/token.js +2 -2
  78. package/dist/cjs/anyspend/types/tournament.js +4 -4
  79. package/dist/cjs/anyspend/types/transaction.js +4 -4
  80. package/dist/cjs/anyspend/utils/chain.js +16 -16
  81. package/dist/cjs/anyspend/utils/format.js +2 -2
  82. package/dist/cjs/anyspend/utils/orderPayload.js +6 -6
  83. package/dist/cjs/anyspend/utils/token.js +10 -10
  84. package/dist/cjs/global-account/app.js +4 -4
  85. package/dist/cjs/global-account/app.native.js +4 -4
  86. package/dist/cjs/global-account/bsmnt.js +4 -4
  87. package/dist/cjs/global-account/bsmnt.native.js +4 -4
  88. package/dist/cjs/global-account/react/components/B3DynamicModal.js +1 -1
  89. package/dist/cjs/global-account/react/components/B3Provider/B3Provider.d.ts +2 -2
  90. package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +5 -5
  91. package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
  92. package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.js +4 -4
  93. package/dist/cjs/global-account/react/components/B3Provider/types.js +1 -1
  94. package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
  95. package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.js +5 -5
  96. package/dist/cjs/global-account/react/components/MintButton/MintButton.d.ts +1 -1
  97. package/dist/cjs/global-account/react/components/MintButton/MintButton.js +5 -5
  98. package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.js +2 -2
  99. package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
  100. package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.js +5 -5
  101. package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
  102. package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +2 -2
  103. package/dist/cjs/global-account/react/components/SignInWithB3/SignIn.js +1 -1
  104. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +1 -1
  105. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
  106. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +12 -12
  107. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +1 -1
  108. package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
  109. package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.js +1 -1
  110. package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
  111. package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.js +1 -1
  112. package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.js +9 -9
  113. package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
  114. package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +2 -2
  115. package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.js +2 -2
  116. package/dist/cjs/global-account/react/components/Transak/TransakModal.js +4 -4
  117. package/dist/cjs/global-account/react/components/custom/Button.js +5 -5
  118. package/dist/cjs/global-account/react/components/custom/Icon.js +1 -1
  119. package/dist/cjs/global-account/react/components/custom/ManageAccountButton.js +1 -1
  120. package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.js +3 -3
  121. package/dist/cjs/global-account/react/components/index.d.ts +4 -4
  122. package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.js +1 -1
  123. package/dist/cjs/global-account/react/components/ui/Loading.js +2 -2
  124. package/dist/cjs/global-account/react/components/ui/ShinyButton.d.ts +1 -1
  125. package/dist/cjs/global-account/react/components/ui/ShinyButton.js +3 -3
  126. package/dist/cjs/global-account/react/components/ui/TabSystem.js +1 -1
  127. package/dist/cjs/global-account/react/components/ui/Tabs.d.ts +1 -1
  128. package/dist/cjs/global-account/react/components/ui/Tabs.js +1 -1
  129. package/dist/cjs/global-account/react/components/ui/badge.js +4 -4
  130. package/dist/cjs/global-account/react/components/ui/button.js +5 -5
  131. package/dist/cjs/global-account/react/components/ui/command.d.ts +1 -1
  132. package/dist/cjs/global-account/react/components/ui/dialog.d.ts +1 -1
  133. package/dist/cjs/global-account/react/components/ui/drawer.d.ts +1 -1
  134. package/dist/cjs/global-account/react/components/ui/glare-card-rounded.js +12 -12
  135. package/dist/cjs/global-account/react/components/ui/glare-card.js +11 -11
  136. package/dist/cjs/global-account/react/components/ui/input.js +1 -1
  137. package/dist/cjs/global-account/react/components/ui/text-loop.d.ts +1 -1
  138. package/dist/cjs/global-account/react/components/ui/text-loop.js +2 -2
  139. package/dist/cjs/global-account/react/components/ui/text-shimmer.js +2 -2
  140. package/dist/cjs/global-account/react/hooks/useAccountAssets.js +4 -4
  141. package/dist/cjs/global-account/react/hooks/useAccountWallet.js +4 -4
  142. package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.d.ts +2 -2
  143. package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.js +6 -6
  144. package/dist/cjs/global-account/react/hooks/useAuthentication.js +3 -3
  145. package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.js +7 -7
  146. package/dist/cjs/global-account/react/hooks/useB3EnsName.js +5 -5
  147. package/dist/cjs/global-account/react/hooks/useBestTransactionPath.d.ts +1 -1
  148. package/dist/cjs/global-account/react/hooks/useBestTransactionPath.js +10 -10
  149. package/dist/cjs/global-account/react/hooks/useBsmntProfile.js +1 -1
  150. package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.js +3 -3
  151. package/dist/cjs/global-account/react/hooks/useClaim.js +4 -4
  152. package/dist/cjs/global-account/react/hooks/useConnect.js +3 -3
  153. package/dist/cjs/global-account/react/hooks/useExchangeRate.js +3 -3
  154. package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.js +7 -7
  155. package/dist/cjs/global-account/react/hooks/useGetGeo.js +1 -1
  156. package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.js +2 -2
  157. package/dist/cjs/global-account/react/hooks/useNativeBalance.js +6 -6
  158. package/dist/cjs/global-account/react/hooks/useOnchainName.js +10 -10
  159. package/dist/cjs/global-account/react/hooks/useOneBalance.js +2 -2
  160. package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.d.ts +1 -1
  161. package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.js +3 -3
  162. package/dist/cjs/global-account/react/hooks/useRouter.js +6 -6
  163. package/dist/cjs/global-account/react/hooks/useSiwe.js +4 -4
  164. package/dist/cjs/global-account/react/hooks/useTokenBalance.js +6 -6
  165. package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.d.ts +1 -1
  166. package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.js +9 -9
  167. package/dist/cjs/global-account/react/hooks/useTokenData.js +3 -3
  168. package/dist/cjs/global-account/react/hooks/useTokenFromUrl.js +10 -10
  169. package/dist/cjs/global-account/react/hooks/useTokenPrice.d.ts +1 -1
  170. package/dist/cjs/global-account/react/hooks/useTokenPrice.js +6 -6
  171. package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.d.ts +1 -1
  172. package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.js +7 -7
  173. package/dist/cjs/global-account/react/hooks/useTokensFromAddress.d.ts +1 -1
  174. package/dist/cjs/global-account/react/hooks/useTokensFromAddress.js +2 -2
  175. package/dist/cjs/global-account/react/hooks/useURLParams.js +1 -1
  176. package/dist/cjs/global-account/react/stores/index.d.ts +1 -1
  177. package/dist/cjs/global-account/react/stores/useAuthStore.js +3 -3
  178. package/dist/cjs/global-account/react/stores/useModalStore.js +3 -3
  179. package/dist/cjs/global-account/server.js +3 -3
  180. package/dist/cjs/global-account/types/chain-networks.js +8 -8
  181. package/dist/cjs/global-account/types/feature-flags.js +1 -1
  182. package/dist/cjs/shared/constants/chains/b3Chain.js +35 -35
  183. package/dist/cjs/shared/constants/chains/chainPlatformMap.js +1 -1
  184. package/dist/cjs/shared/constants/chains/supported.js +1 -1
  185. package/dist/cjs/shared/constants/index.js +1 -1
  186. package/dist/cjs/shared/thirdweb/initiateClient.js +2 -2
  187. package/dist/cjs/shared/thirdweb/openapi-ts.config.js +1 -1
  188. package/dist/cjs/shared/utils/b3Ens.js +4 -4
  189. package/dist/cjs/shared/utils/chain-transformers.js +9 -9
  190. package/dist/cjs/shared/utils/fetchBalances.js +4 -4
  191. package/dist/cjs/shared/utils/insights.js +28 -28
  192. package/dist/cjs/shared/utils/ipfs.js +1 -1
  193. package/dist/cjs/shared/utils/number.js +3 -3
  194. package/dist/cjs/shared/utils/simplehash.js +22 -22
  195. package/dist/cjs/shared/utils/thirdweb-insights.js +15 -15
  196. package/dist/esm/anyspend/abis/abi-usdc-base.js +97 -97
  197. package/dist/esm/anyspend/abis/erc20-staking.js +51 -51
  198. package/dist/esm/anyspend/constants/index.js +10 -10
  199. package/dist/esm/anyspend/react/components/AnySpend.d.ts +1 -1
  200. package/dist/esm/anyspend/react/components/AnySpend.js +22 -22
  201. package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
  202. package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +33 -33
  203. package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +2 -2
  204. package/dist/esm/anyspend/react/components/AnySpendCustom.js +31 -31
  205. package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +1 -1
  206. package/dist/esm/anyspend/react/components/AnySpendNFT.js +4 -4
  207. package/dist/esm/anyspend/react/components/AnySpendNFTButton.js +1 -1
  208. package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
  209. package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +18 -18
  210. package/dist/esm/anyspend/react/components/AnySpendTournament.js +4 -4
  211. package/dist/esm/anyspend/react/components/common/ChainTokenIcon.d.ts +1 -1
  212. package/dist/esm/anyspend/react/components/common/ChainTokenIcon.js +1 -1
  213. package/dist/esm/anyspend/react/components/common/OrderDetails.js +12 -12
  214. package/dist/esm/anyspend/react/components/common/OrderToken.d.ts +1 -1
  215. package/dist/esm/anyspend/react/components/common/OrderToken.js +4 -4
  216. package/dist/esm/anyspend/react/components/common/OrderTokenAmount.d.ts +1 -1
  217. package/dist/esm/anyspend/react/components/common/OrderTokenAmount.js +2 -2
  218. package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +1 -1
  219. package/dist/esm/anyspend/react/components/common/PanelOnramp.js +2 -2
  220. package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.d.ts +1 -1
  221. package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +8 -8
  222. package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.js +1 -1
  223. package/dist/esm/anyspend/react/components/common/PaymentOneClick.js +3 -3
  224. package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.js +12 -12
  225. package/dist/esm/anyspend/react/components/common/TokenBalance.d.ts +1 -1
  226. package/dist/esm/anyspend/react/components/common/TokenBalance.js +2 -2
  227. package/dist/esm/anyspend/react/components/index.d.ts +1 -0
  228. package/dist/esm/anyspend/react/components/index.js +1 -0
  229. package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.d.ts +1 -1
  230. package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.js +1 -1
  231. package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
  232. package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.js +15 -15
  233. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
  234. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +6 -6
  235. package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
  236. package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
  237. package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
  238. package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.js +3 -3
  239. package/dist/esm/anyspend/react/hooks/useAnyspendQuote.js +2 -2
  240. package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.js +3 -3
  241. package/dist/esm/anyspend/react/hooks/useAnyspendTokens.js +3 -3
  242. package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.js +2 -2
  243. package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.js +2 -2
  244. package/dist/esm/anyspend/react/hooks/useGetGeo.js +1 -1
  245. package/dist/esm/anyspend/react/hooks/usePermitData.js +19 -19
  246. package/dist/esm/anyspend/react/hooks/useStripeClientSecret.js +2 -2
  247. package/dist/esm/anyspend/react/hooks/useStripeSupport.js +2 -2
  248. package/dist/esm/anyspend/react/providers/AnyspendProvider.js +3 -3
  249. package/dist/esm/anyspend/services/anyspend.d.ts +6 -1
  250. package/dist/esm/anyspend/services/anyspend.js +14 -14
  251. package/dist/esm/anyspend/types/custom.js +2 -2
  252. package/dist/esm/anyspend/types/globalWallet.js +1 -1
  253. package/dist/esm/anyspend/types/nft.js +6 -6
  254. package/dist/esm/anyspend/types/onramp.d.ts +3 -0
  255. package/dist/esm/anyspend/types/onramp.js +2 -1
  256. package/dist/esm/anyspend/types/order.d.ts +30 -0
  257. package/dist/esm/anyspend/types/order.js +7 -7
  258. package/dist/esm/anyspend/types/permit.js +1 -1
  259. package/dist/esm/anyspend/types/req-res/createOrder.d.ts +70 -0
  260. package/dist/esm/anyspend/types/req-res/createOrder.js +9 -9
  261. package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.js +5 -5
  262. package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -0
  263. package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.js +4 -4
  264. package/dist/esm/anyspend/types/req-res/getOrderByCreator.js +2 -2
  265. package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +35 -0
  266. package/dist/esm/anyspend/types/req-res/getOrderHistory.js +1 -1
  267. package/dist/esm/anyspend/types/req-res/getQuote.d.ts +26 -0
  268. package/dist/esm/anyspend/types/req-res/getQuote.js +10 -8
  269. package/dist/esm/anyspend/types/req-res/getTokenList.js +3 -3
  270. package/dist/esm/anyspend/types/req-res/sendPermitData.js +2 -2
  271. package/dist/esm/anyspend/types/swap.js +2 -2
  272. package/dist/esm/anyspend/types/token.js +2 -2
  273. package/dist/esm/anyspend/types/tournament.js +4 -4
  274. package/dist/esm/anyspend/types/transaction.js +4 -4
  275. package/dist/esm/anyspend/utils/chain.js +18 -18
  276. package/dist/esm/anyspend/utils/format.js +2 -2
  277. package/dist/esm/anyspend/utils/orderPayload.js +6 -6
  278. package/dist/esm/anyspend/utils/token.js +10 -10
  279. package/dist/esm/global-account/app.js +4 -4
  280. package/dist/esm/global-account/app.native.js +4 -4
  281. package/dist/esm/global-account/bsmnt.js +4 -4
  282. package/dist/esm/global-account/bsmnt.native.js +4 -4
  283. package/dist/esm/global-account/react/components/B3DynamicModal.js +2 -2
  284. package/dist/esm/global-account/react/components/B3Provider/B3Provider.d.ts +2 -2
  285. package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +5 -5
  286. package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
  287. package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.js +4 -4
  288. package/dist/esm/global-account/react/components/B3Provider/types.js +1 -1
  289. package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
  290. package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.js +6 -6
  291. package/dist/esm/global-account/react/components/MintButton/MintButton.d.ts +1 -1
  292. package/dist/esm/global-account/react/components/MintButton/MintButton.js +5 -5
  293. package/dist/esm/global-account/react/components/RelayKitProviderWrapper.js +2 -2
  294. package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
  295. package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.js +6 -6
  296. package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
  297. package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +2 -2
  298. package/dist/esm/global-account/react/components/SignInWithB3/SignIn.js +2 -2
  299. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +2 -2
  300. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
  301. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +13 -13
  302. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +2 -2
  303. package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
  304. package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.js +1 -1
  305. package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
  306. package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.js +1 -1
  307. package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.js +9 -9
  308. package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
  309. package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +3 -3
  310. package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.js +2 -2
  311. package/dist/esm/global-account/react/components/Transak/TransakModal.js +4 -4
  312. package/dist/esm/global-account/react/components/custom/Button.js +5 -5
  313. package/dist/esm/global-account/react/components/custom/Icon.js +1 -1
  314. package/dist/esm/global-account/react/components/custom/ManageAccountButton.js +1 -1
  315. package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.js +3 -3
  316. package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.js +1 -1
  317. package/dist/esm/global-account/react/components/index.d.ts +4 -4
  318. package/dist/esm/global-account/react/components/index.js +4 -4
  319. package/dist/esm/global-account/react/components/magicui/AnimatedLottie.js +1 -1
  320. package/dist/esm/global-account/react/components/ui/Loading.js +2 -2
  321. package/dist/esm/global-account/react/components/ui/ShinyButton.d.ts +1 -1
  322. package/dist/esm/global-account/react/components/ui/ShinyButton.js +3 -3
  323. package/dist/esm/global-account/react/components/ui/TabSystem.js +1 -1
  324. package/dist/esm/global-account/react/components/ui/Tabs.d.ts +1 -1
  325. package/dist/esm/global-account/react/components/ui/Tabs.js +1 -1
  326. package/dist/esm/global-account/react/components/ui/badge.js +4 -4
  327. package/dist/esm/global-account/react/components/ui/button.js +5 -5
  328. package/dist/esm/global-account/react/components/ui/command.d.ts +1 -1
  329. package/dist/esm/global-account/react/components/ui/command.js +1 -1
  330. package/dist/esm/global-account/react/components/ui/dialog.d.ts +1 -1
  331. package/dist/esm/global-account/react/components/ui/dialog.js +1 -1
  332. package/dist/esm/global-account/react/components/ui/drawer.d.ts +1 -1
  333. package/dist/esm/global-account/react/components/ui/drawer.js +1 -1
  334. package/dist/esm/global-account/react/components/ui/glare-card-rounded.js +12 -12
  335. package/dist/esm/global-account/react/components/ui/glare-card.js +11 -11
  336. package/dist/esm/global-account/react/components/ui/input.js +1 -1
  337. package/dist/esm/global-account/react/components/ui/text-loop.d.ts +1 -1
  338. package/dist/esm/global-account/react/components/ui/text-loop.js +2 -2
  339. package/dist/esm/global-account/react/components/ui/text-shimmer.js +2 -2
  340. package/dist/esm/global-account/react/hooks/useAccountAssets.js +4 -4
  341. package/dist/esm/global-account/react/hooks/useAccountWallet.js +4 -4
  342. package/dist/esm/global-account/react/hooks/useAddTWSessionKey.d.ts +2 -2
  343. package/dist/esm/global-account/react/hooks/useAddTWSessionKey.js +6 -6
  344. package/dist/esm/global-account/react/hooks/useAuthentication.js +3 -3
  345. package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.js +7 -7
  346. package/dist/esm/global-account/react/hooks/useB3EnsName.js +5 -5
  347. package/dist/esm/global-account/react/hooks/useBestTransactionPath.d.ts +1 -1
  348. package/dist/esm/global-account/react/hooks/useBestTransactionPath.js +10 -10
  349. package/dist/esm/global-account/react/hooks/useBsmntProfile.js +1 -1
  350. package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.js +3 -3
  351. package/dist/esm/global-account/react/hooks/useClaim.js +4 -4
  352. package/dist/esm/global-account/react/hooks/useConnect.js +3 -3
  353. package/dist/esm/global-account/react/hooks/useExchangeRate.js +3 -3
  354. package/dist/esm/global-account/react/hooks/useGetAllTWSigners.js +7 -7
  355. package/dist/esm/global-account/react/hooks/useGetGeo.js +1 -1
  356. package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.js +2 -2
  357. package/dist/esm/global-account/react/hooks/useNativeBalance.js +6 -6
  358. package/dist/esm/global-account/react/hooks/useOnchainName.js +10 -10
  359. package/dist/esm/global-account/react/hooks/useOneBalance.js +2 -2
  360. package/dist/esm/global-account/react/hooks/useRemoveSessionKey.d.ts +1 -1
  361. package/dist/esm/global-account/react/hooks/useRemoveSessionKey.js +3 -3
  362. package/dist/esm/global-account/react/hooks/useRouter.js +6 -6
  363. package/dist/esm/global-account/react/hooks/useSiwe.js +4 -4
  364. package/dist/esm/global-account/react/hooks/useTokenBalance.js +6 -6
  365. package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.d.ts +1 -1
  366. package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.js +9 -9
  367. package/dist/esm/global-account/react/hooks/useTokenData.js +3 -3
  368. package/dist/esm/global-account/react/hooks/useTokenFromUrl.js +10 -10
  369. package/dist/esm/global-account/react/hooks/useTokenPrice.d.ts +1 -1
  370. package/dist/esm/global-account/react/hooks/useTokenPrice.js +6 -6
  371. package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.d.ts +1 -1
  372. package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.js +7 -7
  373. package/dist/esm/global-account/react/hooks/useTokensFromAddress.d.ts +1 -1
  374. package/dist/esm/global-account/react/hooks/useTokensFromAddress.js +2 -2
  375. package/dist/esm/global-account/react/hooks/useURLParams.js +1 -1
  376. package/dist/esm/global-account/react/stores/index.d.ts +1 -1
  377. package/dist/esm/global-account/react/stores/useAuthStore.js +3 -3
  378. package/dist/esm/global-account/react/stores/useModalStore.js +3 -3
  379. package/dist/esm/global-account/server.js +3 -3
  380. package/dist/esm/global-account/types/chain-networks.js +8 -8
  381. package/dist/esm/global-account/types/feature-flags.js +1 -1
  382. package/dist/esm/shared/constants/chains/b3Chain.js +35 -35
  383. package/dist/esm/shared/constants/chains/chainPlatformMap.js +1 -1
  384. package/dist/esm/shared/constants/chains/supported.js +1 -1
  385. package/dist/esm/shared/constants/index.js +1 -1
  386. package/dist/esm/shared/thirdweb/initiateClient.js +2 -2
  387. package/dist/esm/shared/thirdweb/openapi-ts.config.js +1 -1
  388. package/dist/esm/shared/utils/b3Ens.js +4 -4
  389. package/dist/esm/shared/utils/chain-transformers.js +9 -9
  390. package/dist/esm/shared/utils/fetchBalances.js +4 -4
  391. package/dist/esm/shared/utils/insights.js +28 -28
  392. package/dist/esm/shared/utils/ipfs.js +1 -1
  393. package/dist/esm/shared/utils/number.js +3 -3
  394. package/dist/esm/shared/utils/simplehash.js +23 -23
  395. package/dist/esm/shared/utils/thirdweb-insights.js +15 -15
  396. package/dist/types/anyspend/react/components/AnySpend.d.ts +1 -1
  397. package/dist/types/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
  398. package/dist/types/anyspend/react/components/AnySpendCustom.d.ts +2 -2
  399. package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +1 -1
  400. package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
  401. package/dist/types/anyspend/react/components/common/ChainTokenIcon.d.ts +1 -1
  402. package/dist/types/anyspend/react/components/common/OrderToken.d.ts +1 -1
  403. package/dist/types/anyspend/react/components/common/OrderTokenAmount.d.ts +1 -1
  404. package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +1 -1
  405. package/dist/types/anyspend/react/components/common/PanelOnrampPayment.d.ts +1 -1
  406. package/dist/types/anyspend/react/components/common/TokenBalance.d.ts +1 -1
  407. package/dist/types/anyspend/react/components/index.d.ts +1 -0
  408. package/dist/types/anyspend/react/components/modals/EnterRecipientModal.d.ts +1 -1
  409. package/dist/types/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
  410. package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
  411. package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
  412. package/dist/types/anyspend/services/anyspend.d.ts +6 -1
  413. package/dist/types/anyspend/types/onramp.d.ts +3 -0
  414. package/dist/types/anyspend/types/order.d.ts +30 -0
  415. package/dist/types/anyspend/types/req-res/createOrder.d.ts +70 -0
  416. package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -0
  417. package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +35 -0
  418. package/dist/types/anyspend/types/req-res/getQuote.d.ts +26 -0
  419. package/dist/types/global-account/react/components/B3Provider/B3Provider.d.ts +2 -2
  420. package/dist/types/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
  421. package/dist/types/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
  422. package/dist/types/global-account/react/components/MintButton/MintButton.d.ts +1 -1
  423. package/dist/types/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
  424. package/dist/types/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
  425. package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
  426. package/dist/types/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
  427. package/dist/types/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
  428. package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
  429. package/dist/types/global-account/react/components/index.d.ts +4 -4
  430. package/dist/types/global-account/react/components/ui/ShinyButton.d.ts +1 -1
  431. package/dist/types/global-account/react/components/ui/Tabs.d.ts +1 -1
  432. package/dist/types/global-account/react/components/ui/command.d.ts +1 -1
  433. package/dist/types/global-account/react/components/ui/dialog.d.ts +1 -1
  434. package/dist/types/global-account/react/components/ui/drawer.d.ts +1 -1
  435. package/dist/types/global-account/react/components/ui/text-loop.d.ts +1 -1
  436. package/dist/types/global-account/react/hooks/useAddTWSessionKey.d.ts +2 -2
  437. package/dist/types/global-account/react/hooks/useBestTransactionPath.d.ts +1 -1
  438. package/dist/types/global-account/react/hooks/useRemoveSessionKey.d.ts +1 -1
  439. package/dist/types/global-account/react/hooks/useTokenBalancesByChain.d.ts +1 -1
  440. package/dist/types/global-account/react/hooks/useTokenPrice.d.ts +1 -1
  441. package/dist/types/global-account/react/hooks/useTokenPriceWithFallback.d.ts +1 -1
  442. package/dist/types/global-account/react/hooks/useTokensFromAddress.d.ts +1 -1
  443. package/dist/types/global-account/react/stores/index.d.ts +1 -1
  444. package/package.json +1 -1
  445. package/src/anyspend/abis/abi-usdc-base.ts +97 -97
  446. package/src/anyspend/abis/erc20-staking.ts +51 -51
  447. package/src/anyspend/constants/index.ts +10 -10
  448. package/src/anyspend/react/components/AnySpend.tsx +33 -32
  449. package/src/anyspend/react/components/AnySpendBuySpin.tsx +34 -34
  450. package/src/anyspend/react/components/AnySpendCustom.tsx +39 -39
  451. package/src/anyspend/react/components/AnySpendNFT.tsx +4 -4
  452. package/src/anyspend/react/components/AnySpendNFTButton.tsx +1 -1
  453. package/src/anyspend/react/components/AnySpendStakeB3.tsx +18 -18
  454. package/src/anyspend/react/components/AnySpendTournament.tsx +4 -4
  455. package/src/anyspend/react/components/common/ChainTokenIcon.tsx +1 -1
  456. package/src/anyspend/react/components/common/OrderDetails.tsx +15 -15
  457. package/src/anyspend/react/components/common/OrderHistoryItem.tsx +3 -3
  458. package/src/anyspend/react/components/common/OrderToken.tsx +5 -5
  459. package/src/anyspend/react/components/common/OrderTokenAmount.tsx +4 -4
  460. package/src/anyspend/react/components/common/PanelOnramp.tsx +3 -3
  461. package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +8 -8
  462. package/src/anyspend/react/components/common/PaymentMethodIcons.tsx +1 -1
  463. package/src/anyspend/react/components/common/PaymentOneClick.tsx +3 -3
  464. package/src/anyspend/react/components/common/PaymentStripeWeb2.tsx +14 -14
  465. package/src/anyspend/react/components/common/TokenBalance.tsx +2 -2
  466. package/src/anyspend/react/components/index.ts +1 -0
  467. package/src/anyspend/react/components/modals/EnterRecipientModal.tsx +1 -1
  468. package/src/anyspend/react/components/webview/WebviewOnrampPayment.tsx +18 -18
  469. package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +7 -7
  470. package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +7 -7
  471. package/src/anyspend/react/hooks/useAnyspendOrderAndTransactions.ts +3 -3
  472. package/src/anyspend/react/hooks/useAnyspendOrderHistory.ts +4 -4
  473. package/src/anyspend/react/hooks/useAnyspendQuote.ts +5 -5
  474. package/src/anyspend/react/hooks/useAnyspendSendPermitData.ts +3 -3
  475. package/src/anyspend/react/hooks/useAnyspendTokens.ts +4 -4
  476. package/src/anyspend/react/hooks/useCoinbaseOnrampOptions.ts +3 -3
  477. package/src/anyspend/react/hooks/useGeoOnrampOptions.ts +3 -3
  478. package/src/anyspend/react/hooks/useGetGeo.ts +1 -1
  479. package/src/anyspend/react/hooks/usePermitData.ts +19 -19
  480. package/src/anyspend/react/hooks/useStripeClientSecret.ts +3 -3
  481. package/src/anyspend/react/hooks/useStripeSupport.ts +3 -3
  482. package/src/anyspend/react/providers/AnyspendProvider.tsx +3 -3
  483. package/src/anyspend/services/anyspend.ts +23 -23
  484. package/src/anyspend/types/chain.ts +1 -1
  485. package/src/anyspend/types/custom.ts +2 -2
  486. package/src/anyspend/types/globalWallet.ts +1 -1
  487. package/src/anyspend/types/nft.ts +7 -7
  488. package/src/anyspend/types/onramp.ts +3 -2
  489. package/src/anyspend/types/order.ts +9 -9
  490. package/src/anyspend/types/permit.ts +1 -1
  491. package/src/anyspend/types/relay.ts +1 -1
  492. package/src/anyspend/types/req-res/createOrder.ts +9 -9
  493. package/src/anyspend/types/req-res/getCoinbaseOnrampOptions.ts +5 -5
  494. package/src/anyspend/types/req-res/getOrderAndTransactions.ts +4 -4
  495. package/src/anyspend/types/req-res/getOrderByCreator.ts +2 -2
  496. package/src/anyspend/types/req-res/getOrderHistory.ts +1 -1
  497. package/src/anyspend/types/req-res/getQuote.ts +10 -8
  498. package/src/anyspend/types/req-res/getTokenList.ts +4 -4
  499. package/src/anyspend/types/req-res/sendPermitData.ts +2 -2
  500. package/src/anyspend/types/swap.ts +2 -2
  501. package/src/anyspend/types/token.ts +2 -2
  502. package/src/anyspend/types/tournament.ts +4 -4
  503. package/src/anyspend/types/transaction.ts +4 -4
  504. package/src/anyspend/utils/chain.ts +25 -25
  505. package/src/anyspend/utils/format.ts +2 -2
  506. package/src/anyspend/utils/orderPayload.ts +6 -6
  507. package/src/anyspend/utils/token.ts +10 -10
  508. package/src/global-account/app.native.ts +5 -5
  509. package/src/global-account/app.ts +5 -5
  510. package/src/global-account/bsmnt.native.ts +5 -5
  511. package/src/global-account/bsmnt.ts +5 -5
  512. package/src/global-account/react/components/B3DynamicModal.tsx +3 -3
  513. package/src/global-account/react/components/B3Provider/B3Provider.native.tsx +4 -4
  514. package/src/global-account/react/components/B3Provider/B3Provider.tsx +5 -5
  515. package/src/global-account/react/components/B3Provider/types.ts +1 -1
  516. package/src/global-account/react/components/ManageAccount/ManageAccount.tsx +6 -6
  517. package/src/global-account/react/components/MintButton/MintButton.tsx +5 -5
  518. package/src/global-account/react/components/RelayKitProviderWrapper.tsx +2 -2
  519. package/src/global-account/react/components/RequestPermissions/RequestPermissions.tsx +7 -7
  520. package/src/global-account/react/components/RequestPermissions/RequestPermissionsButton.tsx +2 -2
  521. package/src/global-account/react/components/SignInWithB3/SignIn.tsx +4 -4
  522. package/src/global-account/react/components/SignInWithB3/SignInWithB3.tsx +2 -2
  523. package/src/global-account/react/components/SignInWithB3/SignInWithB3Flow.tsx +14 -14
  524. package/src/global-account/react/components/SignInWithB3/SignInWithB3Privy.tsx +2 -2
  525. package/src/global-account/react/components/SignInWithB3/components/AuthButton.tsx +1 -1
  526. package/src/global-account/react/components/SignInWithB3/components/WalletRow.tsx +1 -1
  527. package/src/global-account/react/components/SignInWithB3/steps/LoginStep.tsx +10 -10
  528. package/src/global-account/react/components/SignInWithB3/steps/LoginStepCustom.tsx +3 -3
  529. package/src/global-account/react/components/SignInWithB3/utils/signInUtils.ts +2 -2
  530. package/src/global-account/react/components/Transak/TransakModal.tsx +4 -4
  531. package/src/global-account/react/components/custom/Button.tsx +7 -7
  532. package/src/global-account/react/components/custom/Icon.tsx +1 -1
  533. package/src/global-account/react/components/custom/ManageAccountButton.tsx +1 -1
  534. package/src/global-account/react/components/custom/StaggeredFadeLoader.tsx +3 -3
  535. package/src/global-account/react/components/custom/WalletConnectorIcon.tsx +1 -1
  536. package/src/global-account/react/components/index.ts +4 -4
  537. package/src/global-account/react/components/magicui/AnimatedLottie.tsx +5 -5
  538. package/src/global-account/react/components/ui/Loading.tsx +2 -2
  539. package/src/global-account/react/components/ui/ShinyButton.tsx +5 -5
  540. package/src/global-account/react/components/ui/TabSystem.tsx +2 -2
  541. package/src/global-account/react/components/ui/Tabs.tsx +4 -4
  542. package/src/global-account/react/components/ui/badge.tsx +5 -5
  543. package/src/global-account/react/components/ui/button.tsx +7 -7
  544. package/src/global-account/react/components/ui/command.tsx +5 -5
  545. package/src/global-account/react/components/ui/dialog.tsx +5 -5
  546. package/src/global-account/react/components/ui/drawer.tsx +2 -2
  547. package/src/global-account/react/components/ui/glare-card-rounded.tsx +12 -12
  548. package/src/global-account/react/components/ui/glare-card.tsx +11 -11
  549. package/src/global-account/react/components/ui/input.tsx +2 -2
  550. package/src/global-account/react/components/ui/popover.tsx +1 -1
  551. package/src/global-account/react/components/ui/scroll-area.tsx +1 -1
  552. package/src/global-account/react/components/ui/text-loop.tsx +2 -2
  553. package/src/global-account/react/components/ui/text-shimmer.tsx +3 -3
  554. package/src/global-account/react/components/ui/tooltip.tsx +1 -1
  555. package/src/global-account/react/hooks/useAccountAssets.ts +4 -4
  556. package/src/global-account/react/hooks/useAccountWallet.tsx +5 -5
  557. package/src/global-account/react/hooks/useAddTWSessionKey.tsx +7 -7
  558. package/src/global-account/react/hooks/useAuthentication.ts +3 -3
  559. package/src/global-account/react/hooks/useB3BalanceFromAddresses.ts +9 -9
  560. package/src/global-account/react/hooks/useB3EnsName.ts +6 -6
  561. package/src/global-account/react/hooks/useBestTransactionPath.tsx +11 -11
  562. package/src/global-account/react/hooks/useBsmntProfile.ts +1 -1
  563. package/src/global-account/react/hooks/useChainSwitchWithAction.ts +4 -4
  564. package/src/global-account/react/hooks/useClaim.tsx +5 -5
  565. package/src/global-account/react/hooks/useConnect.tsx +4 -4
  566. package/src/global-account/react/hooks/useExchangeRate.tsx +3 -3
  567. package/src/global-account/react/hooks/useGetAllTWSigners.tsx +9 -9
  568. package/src/global-account/react/hooks/useGetGeo.tsx +1 -1
  569. package/src/global-account/react/hooks/useHandleConnectWithPrivy.tsx +2 -2
  570. package/src/global-account/react/hooks/useMediaQuery.tsx +1 -1
  571. package/src/global-account/react/hooks/useNativeBalance.tsx +7 -7
  572. package/src/global-account/react/hooks/useOnchainName.tsx +11 -11
  573. package/src/global-account/react/hooks/useOneBalance.tsx +2 -2
  574. package/src/global-account/react/hooks/useQueryB3.ts +2 -2
  575. package/src/global-account/react/hooks/useQueryBSMNT.ts +2 -2
  576. package/src/global-account/react/hooks/useRemoveSessionKey.tsx +5 -5
  577. package/src/global-account/react/hooks/useRouter.tsx +6 -6
  578. package/src/global-account/react/hooks/useSiwe.tsx +4 -4
  579. package/src/global-account/react/hooks/useTokenBalance.tsx +6 -6
  580. package/src/global-account/react/hooks/useTokenBalancesByChain.tsx +10 -10
  581. package/src/global-account/react/hooks/useTokenData.ts +3 -3
  582. package/src/global-account/react/hooks/useTokenFromUrl.tsx +11 -11
  583. package/src/global-account/react/hooks/useTokenPrice.tsx +7 -7
  584. package/src/global-account/react/hooks/useTokenPriceWithFallback.tsx +7 -7
  585. package/src/global-account/react/hooks/useTokensFromAddress.ts +2 -2
  586. package/src/global-account/react/hooks/useURLParams.ts +2 -2
  587. package/src/global-account/react/stores/index.ts +1 -1
  588. package/src/global-account/react/stores/useAuthStore.ts +3 -3
  589. package/src/global-account/react/stores/useModalStore.ts +3 -3
  590. package/src/global-account/server.ts +3 -3
  591. package/src/global-account/types/chain-networks.ts +10 -10
  592. package/src/global-account/types/feature-flags.ts +2 -2
  593. package/src/shared/constants/chains/b3Chain.ts +35 -35
  594. package/src/shared/constants/chains/chainPlatformMap.ts +1 -1
  595. package/src/shared/constants/chains/supported.ts +1 -1
  596. package/src/shared/constants/index.ts +1 -1
  597. package/src/shared/thirdweb/initiateClient.ts +2 -2
  598. package/src/shared/thirdweb/openapi-ts.config.ts +1 -1
  599. package/src/shared/utils/b3Ens.ts +4 -4
  600. package/src/shared/utils/chain-transformers.ts +9 -9
  601. package/src/shared/utils/fetchBalances.ts +5 -5
  602. package/src/shared/utils/fetchBsmntProfile.ts +1 -1
  603. package/src/shared/utils/insights.ts +31 -31
  604. package/src/shared/utils/ipfs.ts +1 -1
  605. package/src/shared/utils/number.ts +5 -5
  606. package/src/shared/utils/simplehash.ts +28 -28
  607. package/src/shared/utils/thirdweb-insights.ts +20 -20
@@ -8,7 +8,7 @@ import {
8
8
  useChainSwitchWithAction,
9
9
  useHasMounted,
10
10
  useModalStore,
11
- useTokenBalance
11
+ useTokenBalance,
12
12
  } from "@b3dotfun/sdk/global-account/react";
13
13
  import { baseMainnet } from "@b3dotfun/sdk/shared/constants/chains/supported";
14
14
  import { motion } from "framer-motion";
@@ -31,27 +31,27 @@ const SPIN_WHEEL_ABI = [
31
31
  { internalType: "address", name: "paymentToken", type: "address" },
32
32
  { internalType: "uint256", name: "pricePerEntry", type: "uint256" },
33
33
  { internalType: "uint256", name: "maxEntriesPerUser", type: "uint256" },
34
- { internalType: "address", name: "paymentRecipient", type: "address" }
34
+ { internalType: "address", name: "paymentRecipient", type: "address" },
35
35
  ],
36
36
  stateMutability: "view",
37
- type: "function"
37
+ type: "function",
38
38
  },
39
39
  {
40
40
  inputs: [],
41
41
  name: "entryModule",
42
42
  outputs: [{ internalType: "contract IEntryModuleV2", name: "", type: "address" }],
43
43
  stateMutability: "view",
44
- type: "function"
44
+ type: "function",
45
45
  },
46
46
  {
47
47
  inputs: [
48
48
  { internalType: "address", name: "user", type: "address" },
49
- { internalType: "uint256", name: "quantity", type: "uint256" }
49
+ { internalType: "uint256", name: "quantity", type: "uint256" },
50
50
  ],
51
51
  name: "buyEntriesAndSpin",
52
52
  outputs: [],
53
53
  stateMutability: "payable",
54
- type: "function"
54
+ type: "function",
55
55
  },
56
56
  {
57
57
  inputs: [],
@@ -62,11 +62,11 @@ const SPIN_WHEEL_ABI = [
62
62
  { internalType: "uint256", name: "endTime_", type: "uint256" },
63
63
  { internalType: "uint256", name: "totalPrizesAvailable_", type: "uint256" },
64
64
  { internalType: "uint256", name: "prizesRequestedCount_", type: "uint256" },
65
- { internalType: "enum SpinWheelV2.WheelState", name: "state_", type: "uint8" }
65
+ { internalType: "enum SpinWheelV2.WheelState", name: "state_", type: "uint8" },
66
66
  ],
67
67
  stateMutability: "view",
68
- type: "function"
69
- }
68
+ type: "function",
69
+ },
70
70
  ] as const;
71
71
 
72
72
  interface PaymentConfig {
@@ -113,14 +113,14 @@ function generateEncodedDataForBuyEntriesAndSpin(user: string, quantity: string)
113
113
  const encodedData = encodeFunctionData({
114
114
  abi: SPIN_WHEEL_ABI,
115
115
  functionName: "buyEntriesAndSpin",
116
- args: [user as `0x${string}`, BigInt(quantity)]
116
+ args: [user as `0x${string}`, BigInt(quantity)],
117
117
  });
118
118
  return encodedData;
119
119
  }
120
120
 
121
121
  const basePublicClient = createPublicClient({
122
122
  chain: baseMainnet,
123
- transport: http()
123
+ transport: http(),
124
124
  });
125
125
 
126
126
  export function AnySpendBuySpin({
@@ -131,7 +131,7 @@ export function AnySpendBuySpin({
131
131
  chainId,
132
132
  recipientAddress,
133
133
  prefillQuantity,
134
- onSuccess
134
+ onSuccess,
135
135
  }: {
136
136
  isMainnet?: boolean;
137
137
  loadOrder?: string;
@@ -155,9 +155,9 @@ export function AnySpendBuySpin({
155
155
  const {
156
156
  formattedBalance: b3Balance,
157
157
  isLoading: isBalanceLoading,
158
- rawBalance: b3RawBalance
158
+ rawBalance: b3RawBalance,
159
159
  } = useTokenBalance({
160
- token: B3_TOKEN
160
+ token: B3_TOKEN,
161
161
  });
162
162
 
163
163
  // Wagmi hooks
@@ -172,12 +172,12 @@ export function AnySpendBuySpin({
172
172
  isLoading: isTxPending,
173
173
  isSuccess: isTxSuccess,
174
174
  isError: isTxError,
175
- error: txError
175
+ error: txError,
176
176
  } = useWaitForTransactionReceipt({
177
177
  hash: buyingTxHash as `0x${string}`,
178
178
  query: {
179
- structuralSharing: false
180
- }
179
+ structuralSharing: false,
180
+ },
181
181
  });
182
182
 
183
183
  // Handle transaction status
@@ -232,25 +232,25 @@ export function AnySpendBuySpin({
232
232
  basePublicClient.readContract({
233
233
  address: spinwheelContractAddress as `0x${string}`,
234
234
  abi: SPIN_WHEEL_ABI,
235
- functionName: "getPaymentConfig"
235
+ functionName: "getPaymentConfig",
236
236
  }),
237
237
  basePublicClient.readContract({
238
238
  address: spinwheelContractAddress as `0x${string}`,
239
239
  abi: SPIN_WHEEL_ABI,
240
- functionName: "entryModule"
240
+ functionName: "entryModule",
241
241
  }),
242
242
  basePublicClient.readContract({
243
243
  address: spinwheelContractAddress as `0x${string}`,
244
244
  abi: SPIN_WHEEL_ABI,
245
- functionName: "getWheelInfo"
246
- })
245
+ functionName: "getWheelInfo",
246
+ }),
247
247
  ]);
248
248
 
249
249
  const paymentConfig: PaymentConfig = {
250
250
  pricePerEntry: config[1],
251
251
  maxEntriesPerUser: config[2],
252
252
  paymentRecipient: config[3],
253
- entryModule: entryModuleAddress
253
+ entryModule: entryModuleAddress,
254
254
  };
255
255
 
256
256
  const wheelInfoData: WheelInfo = {
@@ -259,7 +259,7 @@ export function AnySpendBuySpin({
259
259
  endTime_: wheelInfo[2],
260
260
  totalPrizesAvailable_: wheelInfo[3],
261
261
  prizesRequestedCount_: wheelInfo[4],
262
- state_: wheelInfo[5]
262
+ state_: wheelInfo[5],
263
263
  };
264
264
 
265
265
  setPaymentConfig(paymentConfig);
@@ -327,7 +327,7 @@ export function AnySpendBuySpin({
327
327
  setIsQuantityValid(false);
328
328
  setUserSpinQuantity("");
329
329
  setValidationError(
330
- `Only ${(wheelInfo.totalPrizesAvailable_ - wheelInfo.prizesRequestedCount_).toString()} spins remaining`
330
+ `Only ${(wheelInfo.totalPrizesAvailable_ - wheelInfo.prizesRequestedCount_).toString()} spins remaining`,
331
331
  );
332
332
  return;
333
333
  }
@@ -354,7 +354,7 @@ export function AnySpendBuySpin({
354
354
  address: B3_TOKEN.address as `0x${string}`,
355
355
  abi: erc20Abi,
356
356
  functionName: "allowance",
357
- args: [address, paymentConfig.entryModule as `0x${string}`]
357
+ args: [address, paymentConfig.entryModule as `0x${string}`],
358
358
  });
359
359
 
360
360
  // If allowance is insufficient, request approval
@@ -365,7 +365,7 @@ export function AnySpendBuySpin({
365
365
  address: B3_TOKEN.address as `0x${string}`,
366
366
  abi: erc20Abi,
367
367
  functionName: "approve",
368
- args: [paymentConfig.entryModule as `0x${string}`, totalCost]
368
+ args: [paymentConfig.entryModule as `0x${string}`, totalCost],
369
369
  });
370
370
 
371
371
  toast.info("Approval confirmed. Proceeding with spin purchase...");
@@ -377,7 +377,7 @@ export function AnySpendBuySpin({
377
377
  address: spinwheelContractAddress as `0x${string}`,
378
378
  abi: SPIN_WHEEL_ABI,
379
379
  functionName: "buyEntriesAndSpin",
380
- args: [address, BigInt(userSpinQuantity)]
380
+ args: [address, BigInt(userSpinQuantity)],
381
381
  });
382
382
 
383
383
  setBuyingTxHash(buyHash);
@@ -481,17 +481,17 @@ export function AnySpendBuySpin({
481
481
  case "not_started":
482
482
  return {
483
483
  title: "Spin Wheel Not Started",
484
- message: `Starts at ${formatDate(wheelInfo.startTime_)}`
484
+ message: `Starts at ${formatDate(wheelInfo.startTime_)}`,
485
485
  };
486
486
  case "ended":
487
487
  return {
488
488
  title: "Spin Wheel Ended",
489
- message: `Ended at ${formatDate(wheelInfo.endTime_)}`
489
+ message: `Ended at ${formatDate(wheelInfo.endTime_)}`,
490
490
  };
491
491
  case "sold_out":
492
492
  return {
493
493
  title: "All Spins Have Been Claimed",
494
- message: "Stay tuned for the next spin wheel event!"
494
+ message: "Stay tuned for the next spin wheel event!",
495
495
  };
496
496
  default:
497
497
  return null;
@@ -509,7 +509,7 @@ export function AnySpendBuySpin({
509
509
  animate={{
510
510
  opacity: hasMounted ? 1 : 0,
511
511
  y: hasMounted ? 0 : 20,
512
- filter: hasMounted ? "blur(0px)" : "blur(10px)"
512
+ filter: hasMounted ? "blur(0px)" : "blur(10px)",
513
513
  }}
514
514
  transition={{ duration: 0.3, delay: 0, ease: "easeInOut" }}
515
515
  className={`flex justify-center ${isActive ? "mb-4" : ""}`}
@@ -529,7 +529,7 @@ export function AnySpendBuySpin({
529
529
  animate={{
530
530
  opacity: hasMounted ? 1 : 0,
531
531
  y: hasMounted ? 0 : 20,
532
- filter: hasMounted ? "blur(0px)" : "blur(10px)"
532
+ filter: hasMounted ? "blur(0px)" : "blur(10px)",
533
533
  }}
534
534
  transition={{ duration: 0.3, delay: 0.1, ease: "easeInOut" }}
535
535
  className="text-center"
@@ -569,7 +569,7 @@ export function AnySpendBuySpin({
569
569
  animate={{
570
570
  opacity: hasMounted ? 1 : 0,
571
571
  y: hasMounted ? 0 : 20,
572
- filter: hasMounted ? "blur(0px)" : "blur(10px)"
572
+ filter: hasMounted ? "blur(0px)" : "blur(10px)",
573
573
  }}
574
574
  transition={{ duration: 0.3, delay: 0.2, ease: "easeInOut" }}
575
575
  className="bg-b3-react-background w-full p-6"
@@ -669,7 +669,7 @@ export function AnySpendBuySpin({
669
669
  encodedData={encodedData}
670
670
  metadata={{
671
671
  type: OrderType.Custom,
672
- action: `buy ${userSpinQuantity} spin${userSpinQuantity !== "1" ? "s" : ""}`
672
+ action: `buy ${userSpinQuantity} spin${userSpinQuantity !== "1" ? "s" : ""}`,
673
673
  }}
674
674
  header={header}
675
675
  onSuccess={txHash => onSuccess?.(txHash)}
@@ -21,7 +21,7 @@ import {
21
21
  useAnyspendOrderAndTransactions,
22
22
  useAnyspendQuote,
23
23
  useAnyspendTokenList,
24
- useGeoOnrampOptions
24
+ useGeoOnrampOptions,
25
25
  } from "@b3dotfun/sdk/anyspend";
26
26
  import {
27
27
  Badge,
@@ -42,7 +42,7 @@ import {
42
42
  useModalStore,
43
43
  useRouter,
44
44
  useSearchParamsSSR,
45
- useTokenBalancesByChain
45
+ useTokenBalancesByChain,
46
46
  } from "@b3dotfun/sdk/global-account/react";
47
47
  import { cn } from "@b3dotfun/sdk/shared/utils";
48
48
  import centerTruncate from "@b3dotfun/sdk/shared/utils/centerTruncate";
@@ -64,7 +64,7 @@ enum PanelView {
64
64
  CONFIRM_ORDER,
65
65
  HISTORY,
66
66
  ORDER_DETAILS,
67
- LOADING
67
+ LOADING,
68
68
  }
69
69
 
70
70
  function generateGetRelayQuoteRequest({
@@ -78,7 +78,7 @@ function generateGetRelayQuoteRequest({
78
78
  tokenId,
79
79
  contractType,
80
80
  encodedData,
81
- spenderAddress
81
+ spenderAddress,
82
82
  }: {
83
83
  orderType: OrderType;
84
84
  srcChainId: number;
@@ -103,7 +103,7 @@ function generateGetRelayQuoteRequest({
103
103
  price: dstAmount,
104
104
  contractAddress: contractAddress,
105
105
  tokenId: tokenId!,
106
- contractType: contractType!
106
+ contractType: contractType!,
107
107
  };
108
108
  }
109
109
  case OrderType.JoinTournament: {
@@ -114,7 +114,7 @@ function generateGetRelayQuoteRequest({
114
114
  dstChain: dstChainId,
115
115
  dstTokenAddress: dstToken.address,
116
116
  price: dstAmount,
117
- contractAddress: contractAddress
117
+ contractAddress: contractAddress,
118
118
  };
119
119
  }
120
120
  case OrderType.FundTournament: {
@@ -125,7 +125,7 @@ function generateGetRelayQuoteRequest({
125
125
  dstChain: dstChainId,
126
126
  dstTokenAddress: dstToken.address,
127
127
  fundAmount: dstAmount,
128
- contractAddress: contractAddress
128
+ contractAddress: contractAddress,
129
129
  };
130
130
  }
131
131
  case OrderType.Custom: {
@@ -139,8 +139,8 @@ function generateGetRelayQuoteRequest({
139
139
  amount: dstAmount,
140
140
  data: encodedData,
141
141
  to: contractAddress,
142
- spenderAddress: spenderAddress
143
- }
142
+ spenderAddress: spenderAddress,
143
+ },
144
144
  };
145
145
  }
146
146
  default: {
@@ -164,7 +164,7 @@ export function AnySpendCustom({
164
164
  metadata,
165
165
  header,
166
166
  onSuccess,
167
- showRecipient = true
167
+ showRecipient = true,
168
168
  }: {
169
169
  isMainnet?: boolean;
170
170
  loadOrder?: string;
@@ -180,7 +180,7 @@ export function AnySpendCustom({
180
180
  metadata: AnySpendMetadata;
181
181
  header: ({
182
182
  anyspendPrice,
183
- isLoadingAnyspendPrice
183
+ isLoadingAnyspendPrice,
184
184
  }: {
185
185
  anyspendPrice: GetQuoteResponse | undefined;
186
186
  isLoadingAnyspendPrice: boolean;
@@ -196,7 +196,7 @@ export function AnySpendCustom({
196
196
  const router = useRouter();
197
197
 
198
198
  const [activePanel, setActivePanel] = useState<PanelView>(
199
- loadOrder ? PanelView.ORDER_DETAILS : PanelView.CONFIRM_ORDER
199
+ loadOrder ? PanelView.ORDER_DETAILS : PanelView.CONFIRM_ORDER,
200
200
  );
201
201
  const [activeTab, setActiveTab] = useState<"crypto" | "fiat">("crypto");
202
202
 
@@ -225,7 +225,7 @@ export function AnySpendCustom({
225
225
  const { nativeTokens, fungibleTokens } = useTokenBalancesByChain({
226
226
  address: currentWallet?.wallet?.address || "",
227
227
  chainsIds: [srcChainId],
228
- enabled: !!currentWallet?.wallet?.address && !!chainName
228
+ enabled: !!currentWallet?.wallet?.address && !!chainName,
229
229
  });
230
230
 
231
231
  // Find a token with a balance, prioritizing tokens the user already owns
@@ -290,14 +290,14 @@ export function AnySpendCustom({
290
290
  tokenId: isNftMetadata(metadata) ? metadata.nftContract.tokenId : undefined,
291
291
  contractType: isNftMetadata(metadata) ? metadata.nftContract.type : undefined,
292
292
  encodedData: encodedData,
293
- spenderAddress: spenderAddress
293
+ spenderAddress: spenderAddress,
294
294
  });
295
295
  const { anyspendQuote, isLoadingAnyspendQuote } = useAnyspendQuote(isMainnet, getRelayQuoteRequest);
296
296
 
297
297
  // Get geo data and onramp options (after quote is available)
298
298
  const { geoData, isOnrampSupported } = useGeoOnrampOptions(
299
299
  isMainnet,
300
- anyspendQuote?.data?.currencyIn?.amountUsd || "0"
300
+ anyspendQuote?.data?.currencyIn?.amountUsd || "0",
301
301
  );
302
302
 
303
303
  const { orderAndTransactions: oat } = useAnyspendOrderAndTransactions(isMainnet, orderId);
@@ -354,7 +354,7 @@ export function AnySpendCustom({
354
354
  onError: error => {
355
355
  console.error(error);
356
356
  toast.error("Failed to create order: " + error.message);
357
- }
357
+ },
358
358
  });
359
359
 
360
360
  const { createOrder: createOnrampOrder, isCreatingOrder: isCreatingOnrampOrder } = useAnyspendCreateOnrampOrder({
@@ -364,14 +364,14 @@ export function AnySpendCustom({
364
364
  onError: error => {
365
365
  console.error(error);
366
366
  toast.error("Failed to create order: " + error.message);
367
- }
367
+ },
368
368
  });
369
369
 
370
370
  const isCreatingOrder = isCreatingRegularOrder || isCreatingOnrampOrder;
371
371
 
372
372
  const handleCreateOrder = async (
373
373
  recipientAddress: string,
374
- onramp?: { paymentMethod: string; vendor: OnrampVendor }
374
+ onramp?: { paymentMethod: string; vendor: OnrampVendor },
375
375
  ) => {
376
376
  try {
377
377
  invariant(anyspendQuote, "Relay price is not found");
@@ -396,7 +396,7 @@ export function AnySpendCustom({
396
396
  name: metadata.nftContract.name,
397
397
  description: metadata.nftContract.description,
398
398
  imageUrl: metadata.nftContract.imageUrl,
399
- price: dstAmount
399
+ price: dstAmount,
400
400
  } as Nft)
401
401
  : ({
402
402
  type: NftType.ERC721,
@@ -405,14 +405,14 @@ export function AnySpendCustom({
405
405
  price: dstAmount,
406
406
  name: metadata.nftContract.name,
407
407
  description: metadata.nftContract.description,
408
- imageUrl: metadata.nftContract.imageUrl
408
+ imageUrl: metadata.nftContract.imageUrl,
409
409
  } as Nft)
410
410
  : undefined,
411
411
  tournament: isTournamentMetadata(metadata)
412
412
  ? {
413
413
  ...metadata.tournament,
414
414
  contractAddress: contractAddress,
415
- entryPriceOrFundAmount: dstAmount
415
+ entryPriceOrFundAmount: dstAmount,
416
416
  }
417
417
  : undefined,
418
418
  // only populate payload for custom tx
@@ -422,9 +422,9 @@ export function AnySpendCustom({
422
422
  data: encodedData,
423
423
  spenderAddress: spenderAddress,
424
424
  to: contractAddress,
425
- action: metadata.action
425
+ action: metadata.action,
426
426
  }
427
- : undefined
427
+ : undefined,
428
428
  } as CreateOrderParams;
429
429
 
430
430
  if (onramp) {
@@ -441,9 +441,9 @@ export function AnySpendCustom({
441
441
  redirectUrl:
442
442
  window.location.origin === "https://basement.fun"
443
443
  ? "https://basement.fun/deposit"
444
- : window.location.origin
444
+ : window.location.origin,
445
445
  },
446
- expectedDstAmount: anyspendQuote?.data?.currencyOut?.amount?.toString() || "0"
446
+ expectedDstAmount: anyspendQuote?.data?.currencyOut?.amount?.toString() || "0",
447
447
  });
448
448
  } else {
449
449
  void createRegularOrder(createOrderParams);
@@ -463,11 +463,11 @@ export function AnySpendCustom({
463
463
  ...b3,
464
464
  rpc: "https://mainnet-rpc.b3.fun",
465
465
  blockExplorers: [{ name: "B3 Explorer", url: "https://explorer.b3.fun/" }],
466
- testnet: undefined
466
+ testnet: undefined,
467
467
  },
468
468
  partnerId: String(process.env.NEXT_PUBLIC_GLOBAL_ACCOUNTS_PARTNER_ID),
469
469
  type: "signInWithB3",
470
- showBackButton: false
470
+ showBackButton: false,
471
471
  });
472
472
  setB3ModalOpen(true);
473
473
  return;
@@ -490,7 +490,7 @@ export function AnySpendCustom({
490
490
  animate={{
491
491
  opacity: hasMounted ? 1 : 0,
492
492
  y: hasMounted ? 0 : 20,
493
- filter: hasMounted ? "blur(0px)" : "blur(10px)"
493
+ filter: hasMounted ? "blur(0px)" : "blur(10px)",
494
494
  }}
495
495
  transition={{ duration: 0.3, delay: 0.2, ease: "easeInOut" }}
496
496
  className="flex w-full items-center justify-between gap-4"
@@ -529,7 +529,7 @@ export function AnySpendCustom({
529
529
  <div
530
530
  className={cn(
531
531
  "mx-auto flex w-full max-w-2xl flex-col items-center p-5",
532
- mode === "modal" && "bg-b3-react-background"
532
+ mode === "modal" && "bg-b3-react-background",
533
533
  )}
534
534
  >
535
535
  <OrderHistory
@@ -546,7 +546,7 @@ export function AnySpendCustom({
546
546
  <div
547
547
  className={cn(
548
548
  "mx-auto flex max-h-[90dvh] w-full flex-col items-center gap-4 overflow-y-auto p-5",
549
- mode === "modal" && "bg-b3-react-background"
549
+ mode === "modal" && "bg-b3-react-background",
550
550
  )}
551
551
  >
552
552
  {oat && (
@@ -579,7 +579,7 @@ export function AnySpendCustom({
579
579
  <div
580
580
  className={cn(
581
581
  "mx-auto flex w-full flex-col items-center gap-4 p-5",
582
- mode === "modal" && "bg-b3-react-background"
582
+ mode === "modal" && "bg-b3-react-background",
583
583
  )}
584
584
  >
585
585
  {/* Status Badge */}
@@ -686,7 +686,7 @@ export function AnySpendCustom({
686
686
  animate={{
687
687
  opacity: hasMounted ? 1 : 0,
688
688
  y: hasMounted ? 0 : 20,
689
- filter: hasMounted ? "blur(0px)" : "blur(10px)"
689
+ filter: hasMounted ? "blur(0px)" : "blur(10px)",
690
690
  }}
691
691
  transition={{ duration: 0.3, delay: 0, ease: "easeInOut" }}
692
692
  className="relative flex w-full items-center justify-between"
@@ -711,7 +711,7 @@ export function AnySpendCustom({
711
711
  animate={{
712
712
  opacity: hasMounted ? 1 : 0,
713
713
  y: hasMounted ? 0 : 20,
714
- filter: hasMounted ? "blur(0px)" : "blur(10px)"
714
+ filter: hasMounted ? "blur(0px)" : "blur(10px)",
715
715
  }}
716
716
  transition={{ duration: 0.3, delay: 0.1, ease: "easeInOut" }}
717
717
  className="relative flex w-full items-center justify-between"
@@ -732,7 +732,7 @@ export function AnySpendCustom({
732
732
  animate={{
733
733
  opacity: hasMounted ? 1 : 0,
734
734
  y: hasMounted ? 0 : 20,
735
- filter: hasMounted ? "blur(0px)" : "blur(10px)"
735
+ filter: hasMounted ? "blur(0px)" : "blur(10px)",
736
736
  }}
737
737
  transition={{ duration: 0.3, delay: 0.3, ease: "easeInOut" }}
738
738
  className="flex w-full flex-col gap-2"
@@ -796,7 +796,7 @@ export function AnySpendCustom({
796
796
  imageUrl: metadata.nftContract.imageUrl,
797
797
  name: metadata.nftContract.name,
798
798
  description: metadata.nftContract.description,
799
- price: dstAmount
799
+ price: dstAmount,
800
800
  }
801
801
  : {
802
802
  type: NftType.ERC721,
@@ -804,7 +804,7 @@ export function AnySpendCustom({
804
804
  name: metadata.nftContract.name,
805
805
  description: metadata.nftContract.description,
806
806
  imageUrl: metadata.nftContract.imageUrl,
807
- price: dstAmount
807
+ price: dstAmount,
808
808
  }
809
809
  : undefined
810
810
  }
@@ -815,7 +815,7 @@ export function AnySpendCustom({
815
815
  amount: dstAmount,
816
816
  data: encodedData,
817
817
  to: contractAddress,
818
- spenderAddress: spenderAddress
818
+ spenderAddress: spenderAddress,
819
819
  }
820
820
  : undefined
821
821
  }
@@ -845,7 +845,7 @@ export function AnySpendCustom({
845
845
  variants={{
846
846
  enter: { x: 300, opacity: 0 },
847
847
  center: { x: 0, opacity: 1 },
848
- exit: { x: -300, opacity: 0 }
848
+ exit: { x: -300, opacity: 0 },
849
849
  }}
850
850
  transition={{ type: "spring", stiffness: 300, damping: 30 }}
851
851
  >
@@ -861,7 +861,7 @@ export function AnySpendCustom({
861
861
  </div>,
862
862
  <div key="loading-view" className="w-full">
863
863
  {loadingView}
864
- </div>
864
+ </div>,
865
865
  ]}
866
866
  </TransitionPanel>
867
867
  </StyleRoot>
@@ -16,7 +16,7 @@ export function AnySpendNFT({
16
16
  mode = "modal",
17
17
  recipientAddress,
18
18
  nftContract,
19
- onSuccess
19
+ onSuccess,
20
20
  }: {
21
21
  isMainnet?: boolean;
22
22
  loadOrder?: string;
@@ -27,7 +27,7 @@ export function AnySpendNFT({
27
27
  }) {
28
28
  const header = ({
29
29
  anyspendPrice,
30
- isLoadingAnyspendPrice
30
+ isLoadingAnyspendPrice,
31
31
  }: {
32
32
  anyspendPrice: GetQuoteResponse | undefined;
33
33
  isLoadingAnyspendPrice: boolean;
@@ -52,7 +52,7 @@ export function AnySpendNFT({
52
52
  <AnimatePresence mode="wait">
53
53
  <div
54
54
  className={cn("text-as-primary group flex items-center text-3xl font-semibold transition-all", {
55
- "opacity-0": isLoadingAnyspendPrice
55
+ "opacity-0": isLoadingAnyspendPrice,
56
56
  })}
57
57
  >
58
58
  {formatDisplayNumber(anyspendPrice?.data?.currencyIn?.amountUsd, { style: "currency" })}
@@ -81,7 +81,7 @@ export function AnySpendNFT({
81
81
  encodedData="0x"
82
82
  metadata={{
83
83
  type: OrderType.MintNFT,
84
- nftContract: nftContract
84
+ nftContract: nftContract,
85
85
  }}
86
86
  header={header}
87
87
  onSuccess={onSuccess}
@@ -14,7 +14,7 @@ export function AnySpendNFTButton({ nftContract = DEFAULT_NFT_CONTRACT, recipien
14
14
  setB3ModalContentType({
15
15
  type: "anySpendNft",
16
16
  nftContract,
17
- recipientAddress
17
+ recipientAddress,
18
18
  });
19
19
  setB3ModalOpen(true);
20
20
  };