@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.
- package/dist/cjs/anyspend/abis/abi-usdc-base.js +97 -97
- package/dist/cjs/anyspend/abis/erc20-staking.js +51 -51
- package/dist/cjs/anyspend/constants/index.js +10 -10
- package/dist/cjs/anyspend/react/components/AnySpend.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpend.js +20 -20
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +32 -32
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +29 -29
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +4 -4
- package/dist/cjs/anyspend/react/components/AnySpendNFTButton.js +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +17 -17
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +4 -4
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.js +1 -1
- package/dist/cjs/anyspend/react/components/common/OrderDetails.js +9 -9
- package/dist/cjs/anyspend/react/components/common/OrderToken.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/common/OrderToken.js +4 -4
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.js +2 -2
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +2 -2
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +7 -7
- package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.js +1 -1
- package/dist/cjs/anyspend/react/components/common/PaymentOneClick.js +3 -3
- package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.js +12 -12
- package/dist/cjs/anyspend/react/components/common/TokenBalance.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/common/TokenBalance.js +2 -2
- package/dist/cjs/anyspend/react/components/index.d.ts +1 -0
- package/dist/cjs/anyspend/react/components/index.js +3 -1
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.js +1 -1
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.js +14 -14
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +6 -6
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.js +3 -3
- package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.js +3 -3
- package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.js +3 -3
- package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useGetGeo.js +1 -1
- package/dist/cjs/anyspend/react/hooks/usePermitData.js +19 -19
- package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useStripeSupport.js +2 -2
- package/dist/cjs/anyspend/react/providers/AnyspendProvider.js +3 -3
- package/dist/cjs/anyspend/services/anyspend.d.ts +6 -1
- package/dist/cjs/anyspend/services/anyspend.js +13 -13
- package/dist/cjs/anyspend/types/custom.js +2 -2
- package/dist/cjs/anyspend/types/globalWallet.js +1 -1
- package/dist/cjs/anyspend/types/nft.js +6 -6
- package/dist/cjs/anyspend/types/onramp.d.ts +3 -0
- package/dist/cjs/anyspend/types/onramp.js +2 -1
- package/dist/cjs/anyspend/types/order.d.ts +30 -0
- package/dist/cjs/anyspend/types/order.js +7 -7
- package/dist/cjs/anyspend/types/permit.js +1 -1
- package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +70 -0
- package/dist/cjs/anyspend/types/req-res/createOrder.js +9 -9
- package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.js +5 -5
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -0
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.js +4 -4
- package/dist/cjs/anyspend/types/req-res/getOrderByCreator.js +2 -2
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +35 -0
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +26 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.js +10 -8
- package/dist/cjs/anyspend/types/req-res/getTokenList.js +3 -3
- package/dist/cjs/anyspend/types/req-res/sendPermitData.js +2 -2
- package/dist/cjs/anyspend/types/swap.js +2 -2
- package/dist/cjs/anyspend/types/token.js +2 -2
- package/dist/cjs/anyspend/types/tournament.js +4 -4
- package/dist/cjs/anyspend/types/transaction.js +4 -4
- package/dist/cjs/anyspend/utils/chain.js +16 -16
- package/dist/cjs/anyspend/utils/format.js +2 -2
- package/dist/cjs/anyspend/utils/orderPayload.js +6 -6
- package/dist/cjs/anyspend/utils/token.js +10 -10
- package/dist/cjs/global-account/app.js +4 -4
- package/dist/cjs/global-account/app.native.js +4 -4
- package/dist/cjs/global-account/bsmnt.js +4 -4
- package/dist/cjs/global-account/bsmnt.native.js +4 -4
- package/dist/cjs/global-account/react/components/B3DynamicModal.js +1 -1
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.d.ts +2 -2
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +5 -5
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.js +4 -4
- package/dist/cjs/global-account/react/components/B3Provider/types.js +1 -1
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.js +5 -5
- package/dist/cjs/global-account/react/components/MintButton/MintButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/MintButton/MintButton.js +5 -5
- package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.js +2 -2
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.js +5 -5
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +2 -2
- package/dist/cjs/global-account/react/components/SignInWithB3/SignIn.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +12 -12
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.js +9 -9
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +2 -2
- package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.js +2 -2
- package/dist/cjs/global-account/react/components/Transak/TransakModal.js +4 -4
- package/dist/cjs/global-account/react/components/custom/Button.js +5 -5
- package/dist/cjs/global-account/react/components/custom/Icon.js +1 -1
- package/dist/cjs/global-account/react/components/custom/ManageAccountButton.js +1 -1
- package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.js +3 -3
- package/dist/cjs/global-account/react/components/index.d.ts +4 -4
- package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.js +1 -1
- package/dist/cjs/global-account/react/components/ui/Loading.js +2 -2
- package/dist/cjs/global-account/react/components/ui/ShinyButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/ShinyButton.js +3 -3
- package/dist/cjs/global-account/react/components/ui/TabSystem.js +1 -1
- package/dist/cjs/global-account/react/components/ui/Tabs.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/Tabs.js +1 -1
- package/dist/cjs/global-account/react/components/ui/badge.js +4 -4
- package/dist/cjs/global-account/react/components/ui/button.js +5 -5
- package/dist/cjs/global-account/react/components/ui/command.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/dialog.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/drawer.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/glare-card-rounded.js +12 -12
- package/dist/cjs/global-account/react/components/ui/glare-card.js +11 -11
- package/dist/cjs/global-account/react/components/ui/input.js +1 -1
- package/dist/cjs/global-account/react/components/ui/text-loop.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/text-loop.js +2 -2
- package/dist/cjs/global-account/react/components/ui/text-shimmer.js +2 -2
- package/dist/cjs/global-account/react/hooks/useAccountAssets.js +4 -4
- package/dist/cjs/global-account/react/hooks/useAccountWallet.js +4 -4
- package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.d.ts +2 -2
- package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.js +6 -6
- package/dist/cjs/global-account/react/hooks/useAuthentication.js +3 -3
- package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.js +7 -7
- package/dist/cjs/global-account/react/hooks/useB3EnsName.js +5 -5
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.js +10 -10
- package/dist/cjs/global-account/react/hooks/useBsmntProfile.js +1 -1
- package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.js +3 -3
- package/dist/cjs/global-account/react/hooks/useClaim.js +4 -4
- package/dist/cjs/global-account/react/hooks/useConnect.js +3 -3
- package/dist/cjs/global-account/react/hooks/useExchangeRate.js +3 -3
- package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.js +7 -7
- package/dist/cjs/global-account/react/hooks/useGetGeo.js +1 -1
- package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.js +2 -2
- package/dist/cjs/global-account/react/hooks/useNativeBalance.js +6 -6
- package/dist/cjs/global-account/react/hooks/useOnchainName.js +10 -10
- package/dist/cjs/global-account/react/hooks/useOneBalance.js +2 -2
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.js +3 -3
- package/dist/cjs/global-account/react/hooks/useRouter.js +6 -6
- package/dist/cjs/global-account/react/hooks/useSiwe.js +4 -4
- package/dist/cjs/global-account/react/hooks/useTokenBalance.js +6 -6
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.js +9 -9
- package/dist/cjs/global-account/react/hooks/useTokenData.js +3 -3
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.js +10 -10
- package/dist/cjs/global-account/react/hooks/useTokenPrice.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useTokenPrice.js +6 -6
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.js +7 -7
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.js +2 -2
- package/dist/cjs/global-account/react/hooks/useURLParams.js +1 -1
- package/dist/cjs/global-account/react/stores/index.d.ts +1 -1
- package/dist/cjs/global-account/react/stores/useAuthStore.js +3 -3
- package/dist/cjs/global-account/react/stores/useModalStore.js +3 -3
- package/dist/cjs/global-account/server.js +3 -3
- package/dist/cjs/global-account/types/chain-networks.js +8 -8
- package/dist/cjs/global-account/types/feature-flags.js +1 -1
- package/dist/cjs/shared/constants/chains/b3Chain.js +35 -35
- package/dist/cjs/shared/constants/chains/chainPlatformMap.js +1 -1
- package/dist/cjs/shared/constants/chains/supported.js +1 -1
- package/dist/cjs/shared/constants/index.js +1 -1
- package/dist/cjs/shared/thirdweb/initiateClient.js +2 -2
- package/dist/cjs/shared/thirdweb/openapi-ts.config.js +1 -1
- package/dist/cjs/shared/utils/b3Ens.js +4 -4
- package/dist/cjs/shared/utils/chain-transformers.js +9 -9
- package/dist/cjs/shared/utils/fetchBalances.js +4 -4
- package/dist/cjs/shared/utils/insights.js +28 -28
- package/dist/cjs/shared/utils/ipfs.js +1 -1
- package/dist/cjs/shared/utils/number.js +3 -3
- package/dist/cjs/shared/utils/simplehash.js +22 -22
- package/dist/cjs/shared/utils/thirdweb-insights.js +15 -15
- package/dist/esm/anyspend/abis/abi-usdc-base.js +97 -97
- package/dist/esm/anyspend/abis/erc20-staking.js +51 -51
- package/dist/esm/anyspend/constants/index.js +10 -10
- package/dist/esm/anyspend/react/components/AnySpend.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpend.js +22 -22
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +33 -33
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +2 -2
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +31 -31
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +4 -4
- package/dist/esm/anyspend/react/components/AnySpendNFTButton.js +1 -1
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +18 -18
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +4 -4
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.d.ts +1 -1
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.js +1 -1
- package/dist/esm/anyspend/react/components/common/OrderDetails.js +12 -12
- package/dist/esm/anyspend/react/components/common/OrderToken.d.ts +1 -1
- package/dist/esm/anyspend/react/components/common/OrderToken.js +4 -4
- package/dist/esm/anyspend/react/components/common/OrderTokenAmount.d.ts +1 -1
- package/dist/esm/anyspend/react/components/common/OrderTokenAmount.js +2 -2
- package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +1 -1
- package/dist/esm/anyspend/react/components/common/PanelOnramp.js +2 -2
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.d.ts +1 -1
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +8 -8
- package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.js +1 -1
- package/dist/esm/anyspend/react/components/common/PaymentOneClick.js +3 -3
- package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.js +12 -12
- package/dist/esm/anyspend/react/components/common/TokenBalance.d.ts +1 -1
- package/dist/esm/anyspend/react/components/common/TokenBalance.js +2 -2
- package/dist/esm/anyspend/react/components/index.d.ts +1 -0
- package/dist/esm/anyspend/react/components/index.js +1 -0
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.d.ts +1 -1
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.js +1 -1
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.js +15 -15
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +6 -6
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.js +3 -3
- package/dist/esm/anyspend/react/hooks/useAnyspendQuote.js +2 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.js +3 -3
- package/dist/esm/anyspend/react/hooks/useAnyspendTokens.js +3 -3
- package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.js +2 -2
- package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.js +2 -2
- package/dist/esm/anyspend/react/hooks/useGetGeo.js +1 -1
- package/dist/esm/anyspend/react/hooks/usePermitData.js +19 -19
- package/dist/esm/anyspend/react/hooks/useStripeClientSecret.js +2 -2
- package/dist/esm/anyspend/react/hooks/useStripeSupport.js +2 -2
- package/dist/esm/anyspend/react/providers/AnyspendProvider.js +3 -3
- package/dist/esm/anyspend/services/anyspend.d.ts +6 -1
- package/dist/esm/anyspend/services/anyspend.js +14 -14
- package/dist/esm/anyspend/types/custom.js +2 -2
- package/dist/esm/anyspend/types/globalWallet.js +1 -1
- package/dist/esm/anyspend/types/nft.js +6 -6
- package/dist/esm/anyspend/types/onramp.d.ts +3 -0
- package/dist/esm/anyspend/types/onramp.js +2 -1
- package/dist/esm/anyspend/types/order.d.ts +30 -0
- package/dist/esm/anyspend/types/order.js +7 -7
- package/dist/esm/anyspend/types/permit.js +1 -1
- package/dist/esm/anyspend/types/req-res/createOrder.d.ts +70 -0
- package/dist/esm/anyspend/types/req-res/createOrder.js +9 -9
- package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.js +5 -5
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -0
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.js +4 -4
- package/dist/esm/anyspend/types/req-res/getOrderByCreator.js +2 -2
- package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +35 -0
- package/dist/esm/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/esm/anyspend/types/req-res/getQuote.d.ts +26 -0
- package/dist/esm/anyspend/types/req-res/getQuote.js +10 -8
- package/dist/esm/anyspend/types/req-res/getTokenList.js +3 -3
- package/dist/esm/anyspend/types/req-res/sendPermitData.js +2 -2
- package/dist/esm/anyspend/types/swap.js +2 -2
- package/dist/esm/anyspend/types/token.js +2 -2
- package/dist/esm/anyspend/types/tournament.js +4 -4
- package/dist/esm/anyspend/types/transaction.js +4 -4
- package/dist/esm/anyspend/utils/chain.js +18 -18
- package/dist/esm/anyspend/utils/format.js +2 -2
- package/dist/esm/anyspend/utils/orderPayload.js +6 -6
- package/dist/esm/anyspend/utils/token.js +10 -10
- package/dist/esm/global-account/app.js +4 -4
- package/dist/esm/global-account/app.native.js +4 -4
- package/dist/esm/global-account/bsmnt.js +4 -4
- package/dist/esm/global-account/bsmnt.native.js +4 -4
- package/dist/esm/global-account/react/components/B3DynamicModal.js +2 -2
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.d.ts +2 -2
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +5 -5
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.js +4 -4
- package/dist/esm/global-account/react/components/B3Provider/types.js +1 -1
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.js +6 -6
- package/dist/esm/global-account/react/components/MintButton/MintButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/MintButton/MintButton.js +5 -5
- package/dist/esm/global-account/react/components/RelayKitProviderWrapper.js +2 -2
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.js +6 -6
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/SignIn.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +13 -13
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.js +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.js +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.js +9 -9
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +3 -3
- package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.js +2 -2
- package/dist/esm/global-account/react/components/Transak/TransakModal.js +4 -4
- package/dist/esm/global-account/react/components/custom/Button.js +5 -5
- package/dist/esm/global-account/react/components/custom/Icon.js +1 -1
- package/dist/esm/global-account/react/components/custom/ManageAccountButton.js +1 -1
- package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.js +3 -3
- package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.js +1 -1
- package/dist/esm/global-account/react/components/index.d.ts +4 -4
- package/dist/esm/global-account/react/components/index.js +4 -4
- package/dist/esm/global-account/react/components/magicui/AnimatedLottie.js +1 -1
- package/dist/esm/global-account/react/components/ui/Loading.js +2 -2
- package/dist/esm/global-account/react/components/ui/ShinyButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/ShinyButton.js +3 -3
- package/dist/esm/global-account/react/components/ui/TabSystem.js +1 -1
- package/dist/esm/global-account/react/components/ui/Tabs.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/Tabs.js +1 -1
- package/dist/esm/global-account/react/components/ui/badge.js +4 -4
- package/dist/esm/global-account/react/components/ui/button.js +5 -5
- package/dist/esm/global-account/react/components/ui/command.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/command.js +1 -1
- package/dist/esm/global-account/react/components/ui/dialog.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/dialog.js +1 -1
- package/dist/esm/global-account/react/components/ui/drawer.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/drawer.js +1 -1
- package/dist/esm/global-account/react/components/ui/glare-card-rounded.js +12 -12
- package/dist/esm/global-account/react/components/ui/glare-card.js +11 -11
- package/dist/esm/global-account/react/components/ui/input.js +1 -1
- package/dist/esm/global-account/react/components/ui/text-loop.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/text-loop.js +2 -2
- package/dist/esm/global-account/react/components/ui/text-shimmer.js +2 -2
- package/dist/esm/global-account/react/hooks/useAccountAssets.js +4 -4
- package/dist/esm/global-account/react/hooks/useAccountWallet.js +4 -4
- package/dist/esm/global-account/react/hooks/useAddTWSessionKey.d.ts +2 -2
- package/dist/esm/global-account/react/hooks/useAddTWSessionKey.js +6 -6
- package/dist/esm/global-account/react/hooks/useAuthentication.js +3 -3
- package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.js +7 -7
- package/dist/esm/global-account/react/hooks/useB3EnsName.js +5 -5
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.js +10 -10
- package/dist/esm/global-account/react/hooks/useBsmntProfile.js +1 -1
- package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.js +3 -3
- package/dist/esm/global-account/react/hooks/useClaim.js +4 -4
- package/dist/esm/global-account/react/hooks/useConnect.js +3 -3
- package/dist/esm/global-account/react/hooks/useExchangeRate.js +3 -3
- package/dist/esm/global-account/react/hooks/useGetAllTWSigners.js +7 -7
- package/dist/esm/global-account/react/hooks/useGetGeo.js +1 -1
- package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.js +2 -2
- package/dist/esm/global-account/react/hooks/useNativeBalance.js +6 -6
- package/dist/esm/global-account/react/hooks/useOnchainName.js +10 -10
- package/dist/esm/global-account/react/hooks/useOneBalance.js +2 -2
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.js +3 -3
- package/dist/esm/global-account/react/hooks/useRouter.js +6 -6
- package/dist/esm/global-account/react/hooks/useSiwe.js +4 -4
- package/dist/esm/global-account/react/hooks/useTokenBalance.js +6 -6
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.js +9 -9
- package/dist/esm/global-account/react/hooks/useTokenData.js +3 -3
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.js +10 -10
- package/dist/esm/global-account/react/hooks/useTokenPrice.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useTokenPrice.js +6 -6
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.js +7 -7
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.js +2 -2
- package/dist/esm/global-account/react/hooks/useURLParams.js +1 -1
- package/dist/esm/global-account/react/stores/index.d.ts +1 -1
- package/dist/esm/global-account/react/stores/useAuthStore.js +3 -3
- package/dist/esm/global-account/react/stores/useModalStore.js +3 -3
- package/dist/esm/global-account/server.js +3 -3
- package/dist/esm/global-account/types/chain-networks.js +8 -8
- package/dist/esm/global-account/types/feature-flags.js +1 -1
- package/dist/esm/shared/constants/chains/b3Chain.js +35 -35
- package/dist/esm/shared/constants/chains/chainPlatformMap.js +1 -1
- package/dist/esm/shared/constants/chains/supported.js +1 -1
- package/dist/esm/shared/constants/index.js +1 -1
- package/dist/esm/shared/thirdweb/initiateClient.js +2 -2
- package/dist/esm/shared/thirdweb/openapi-ts.config.js +1 -1
- package/dist/esm/shared/utils/b3Ens.js +4 -4
- package/dist/esm/shared/utils/chain-transformers.js +9 -9
- package/dist/esm/shared/utils/fetchBalances.js +4 -4
- package/dist/esm/shared/utils/insights.js +28 -28
- package/dist/esm/shared/utils/ipfs.js +1 -1
- package/dist/esm/shared/utils/number.js +3 -3
- package/dist/esm/shared/utils/simplehash.js +23 -23
- package/dist/esm/shared/utils/thirdweb-insights.js +15 -15
- package/dist/types/anyspend/react/components/AnySpend.d.ts +1 -1
- package/dist/types/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
- package/dist/types/anyspend/react/components/AnySpendCustom.d.ts +2 -2
- package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +1 -1
- package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/ChainTokenIcon.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/OrderToken.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/OrderTokenAmount.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/PanelOnrampPayment.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/TokenBalance.d.ts +1 -1
- package/dist/types/anyspend/react/components/index.d.ts +1 -0
- package/dist/types/anyspend/react/components/modals/EnterRecipientModal.d.ts +1 -1
- package/dist/types/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
- package/dist/types/anyspend/services/anyspend.d.ts +6 -1
- package/dist/types/anyspend/types/onramp.d.ts +3 -0
- package/dist/types/anyspend/types/order.d.ts +30 -0
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +70 -0
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -0
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +35 -0
- package/dist/types/anyspend/types/req-res/getQuote.d.ts +26 -0
- package/dist/types/global-account/react/components/B3Provider/B3Provider.d.ts +2 -2
- package/dist/types/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
- package/dist/types/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
- package/dist/types/global-account/react/components/MintButton/MintButton.d.ts +1 -1
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
- package/dist/types/global-account/react/components/index.d.ts +4 -4
- package/dist/types/global-account/react/components/ui/ShinyButton.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/Tabs.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/command.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/dialog.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/drawer.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/text-loop.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useAddTWSessionKey.d.ts +2 -2
- package/dist/types/global-account/react/hooks/useBestTransactionPath.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useRemoveSessionKey.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useTokenBalancesByChain.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useTokenPrice.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useTokenPriceWithFallback.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useTokensFromAddress.d.ts +1 -1
- package/dist/types/global-account/react/stores/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/anyspend/abis/abi-usdc-base.ts +97 -97
- package/src/anyspend/abis/erc20-staking.ts +51 -51
- package/src/anyspend/constants/index.ts +10 -10
- package/src/anyspend/react/components/AnySpend.tsx +33 -32
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +34 -34
- package/src/anyspend/react/components/AnySpendCustom.tsx +39 -39
- package/src/anyspend/react/components/AnySpendNFT.tsx +4 -4
- package/src/anyspend/react/components/AnySpendNFTButton.tsx +1 -1
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +18 -18
- package/src/anyspend/react/components/AnySpendTournament.tsx +4 -4
- package/src/anyspend/react/components/common/ChainTokenIcon.tsx +1 -1
- package/src/anyspend/react/components/common/OrderDetails.tsx +15 -15
- package/src/anyspend/react/components/common/OrderHistoryItem.tsx +3 -3
- package/src/anyspend/react/components/common/OrderToken.tsx +5 -5
- package/src/anyspend/react/components/common/OrderTokenAmount.tsx +4 -4
- package/src/anyspend/react/components/common/PanelOnramp.tsx +3 -3
- package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +8 -8
- package/src/anyspend/react/components/common/PaymentMethodIcons.tsx +1 -1
- package/src/anyspend/react/components/common/PaymentOneClick.tsx +3 -3
- package/src/anyspend/react/components/common/PaymentStripeWeb2.tsx +14 -14
- package/src/anyspend/react/components/common/TokenBalance.tsx +2 -2
- package/src/anyspend/react/components/index.ts +1 -0
- package/src/anyspend/react/components/modals/EnterRecipientModal.tsx +1 -1
- package/src/anyspend/react/components/webview/WebviewOnrampPayment.tsx +18 -18
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +7 -7
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +7 -7
- package/src/anyspend/react/hooks/useAnyspendOrderAndTransactions.ts +3 -3
- package/src/anyspend/react/hooks/useAnyspendOrderHistory.ts +4 -4
- package/src/anyspend/react/hooks/useAnyspendQuote.ts +5 -5
- package/src/anyspend/react/hooks/useAnyspendSendPermitData.ts +3 -3
- package/src/anyspend/react/hooks/useAnyspendTokens.ts +4 -4
- package/src/anyspend/react/hooks/useCoinbaseOnrampOptions.ts +3 -3
- package/src/anyspend/react/hooks/useGeoOnrampOptions.ts +3 -3
- package/src/anyspend/react/hooks/useGetGeo.ts +1 -1
- package/src/anyspend/react/hooks/usePermitData.ts +19 -19
- package/src/anyspend/react/hooks/useStripeClientSecret.ts +3 -3
- package/src/anyspend/react/hooks/useStripeSupport.ts +3 -3
- package/src/anyspend/react/providers/AnyspendProvider.tsx +3 -3
- package/src/anyspend/services/anyspend.ts +23 -23
- package/src/anyspend/types/chain.ts +1 -1
- package/src/anyspend/types/custom.ts +2 -2
- package/src/anyspend/types/globalWallet.ts +1 -1
- package/src/anyspend/types/nft.ts +7 -7
- package/src/anyspend/types/onramp.ts +3 -2
- package/src/anyspend/types/order.ts +9 -9
- package/src/anyspend/types/permit.ts +1 -1
- package/src/anyspend/types/relay.ts +1 -1
- package/src/anyspend/types/req-res/createOrder.ts +9 -9
- package/src/anyspend/types/req-res/getCoinbaseOnrampOptions.ts +5 -5
- package/src/anyspend/types/req-res/getOrderAndTransactions.ts +4 -4
- package/src/anyspend/types/req-res/getOrderByCreator.ts +2 -2
- package/src/anyspend/types/req-res/getOrderHistory.ts +1 -1
- package/src/anyspend/types/req-res/getQuote.ts +10 -8
- package/src/anyspend/types/req-res/getTokenList.ts +4 -4
- package/src/anyspend/types/req-res/sendPermitData.ts +2 -2
- package/src/anyspend/types/swap.ts +2 -2
- package/src/anyspend/types/token.ts +2 -2
- package/src/anyspend/types/tournament.ts +4 -4
- package/src/anyspend/types/transaction.ts +4 -4
- package/src/anyspend/utils/chain.ts +25 -25
- package/src/anyspend/utils/format.ts +2 -2
- package/src/anyspend/utils/orderPayload.ts +6 -6
- package/src/anyspend/utils/token.ts +10 -10
- package/src/global-account/app.native.ts +5 -5
- package/src/global-account/app.ts +5 -5
- package/src/global-account/bsmnt.native.ts +5 -5
- package/src/global-account/bsmnt.ts +5 -5
- package/src/global-account/react/components/B3DynamicModal.tsx +3 -3
- package/src/global-account/react/components/B3Provider/B3Provider.native.tsx +4 -4
- package/src/global-account/react/components/B3Provider/B3Provider.tsx +5 -5
- package/src/global-account/react/components/B3Provider/types.ts +1 -1
- package/src/global-account/react/components/ManageAccount/ManageAccount.tsx +6 -6
- package/src/global-account/react/components/MintButton/MintButton.tsx +5 -5
- package/src/global-account/react/components/RelayKitProviderWrapper.tsx +2 -2
- package/src/global-account/react/components/RequestPermissions/RequestPermissions.tsx +7 -7
- package/src/global-account/react/components/RequestPermissions/RequestPermissionsButton.tsx +2 -2
- package/src/global-account/react/components/SignInWithB3/SignIn.tsx +4 -4
- package/src/global-account/react/components/SignInWithB3/SignInWithB3.tsx +2 -2
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Flow.tsx +14 -14
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Privy.tsx +2 -2
- package/src/global-account/react/components/SignInWithB3/components/AuthButton.tsx +1 -1
- package/src/global-account/react/components/SignInWithB3/components/WalletRow.tsx +1 -1
- package/src/global-account/react/components/SignInWithB3/steps/LoginStep.tsx +10 -10
- package/src/global-account/react/components/SignInWithB3/steps/LoginStepCustom.tsx +3 -3
- package/src/global-account/react/components/SignInWithB3/utils/signInUtils.ts +2 -2
- package/src/global-account/react/components/Transak/TransakModal.tsx +4 -4
- package/src/global-account/react/components/custom/Button.tsx +7 -7
- package/src/global-account/react/components/custom/Icon.tsx +1 -1
- package/src/global-account/react/components/custom/ManageAccountButton.tsx +1 -1
- package/src/global-account/react/components/custom/StaggeredFadeLoader.tsx +3 -3
- package/src/global-account/react/components/custom/WalletConnectorIcon.tsx +1 -1
- package/src/global-account/react/components/index.ts +4 -4
- package/src/global-account/react/components/magicui/AnimatedLottie.tsx +5 -5
- package/src/global-account/react/components/ui/Loading.tsx +2 -2
- package/src/global-account/react/components/ui/ShinyButton.tsx +5 -5
- package/src/global-account/react/components/ui/TabSystem.tsx +2 -2
- package/src/global-account/react/components/ui/Tabs.tsx +4 -4
- package/src/global-account/react/components/ui/badge.tsx +5 -5
- package/src/global-account/react/components/ui/button.tsx +7 -7
- package/src/global-account/react/components/ui/command.tsx +5 -5
- package/src/global-account/react/components/ui/dialog.tsx +5 -5
- package/src/global-account/react/components/ui/drawer.tsx +2 -2
- package/src/global-account/react/components/ui/glare-card-rounded.tsx +12 -12
- package/src/global-account/react/components/ui/glare-card.tsx +11 -11
- package/src/global-account/react/components/ui/input.tsx +2 -2
- package/src/global-account/react/components/ui/popover.tsx +1 -1
- package/src/global-account/react/components/ui/scroll-area.tsx +1 -1
- package/src/global-account/react/components/ui/text-loop.tsx +2 -2
- package/src/global-account/react/components/ui/text-shimmer.tsx +3 -3
- package/src/global-account/react/components/ui/tooltip.tsx +1 -1
- package/src/global-account/react/hooks/useAccountAssets.ts +4 -4
- package/src/global-account/react/hooks/useAccountWallet.tsx +5 -5
- package/src/global-account/react/hooks/useAddTWSessionKey.tsx +7 -7
- package/src/global-account/react/hooks/useAuthentication.ts +3 -3
- package/src/global-account/react/hooks/useB3BalanceFromAddresses.ts +9 -9
- package/src/global-account/react/hooks/useB3EnsName.ts +6 -6
- package/src/global-account/react/hooks/useBestTransactionPath.tsx +11 -11
- package/src/global-account/react/hooks/useBsmntProfile.ts +1 -1
- package/src/global-account/react/hooks/useChainSwitchWithAction.ts +4 -4
- package/src/global-account/react/hooks/useClaim.tsx +5 -5
- package/src/global-account/react/hooks/useConnect.tsx +4 -4
- package/src/global-account/react/hooks/useExchangeRate.tsx +3 -3
- package/src/global-account/react/hooks/useGetAllTWSigners.tsx +9 -9
- package/src/global-account/react/hooks/useGetGeo.tsx +1 -1
- package/src/global-account/react/hooks/useHandleConnectWithPrivy.tsx +2 -2
- package/src/global-account/react/hooks/useMediaQuery.tsx +1 -1
- package/src/global-account/react/hooks/useNativeBalance.tsx +7 -7
- package/src/global-account/react/hooks/useOnchainName.tsx +11 -11
- package/src/global-account/react/hooks/useOneBalance.tsx +2 -2
- package/src/global-account/react/hooks/useQueryB3.ts +2 -2
- package/src/global-account/react/hooks/useQueryBSMNT.ts +2 -2
- package/src/global-account/react/hooks/useRemoveSessionKey.tsx +5 -5
- package/src/global-account/react/hooks/useRouter.tsx +6 -6
- package/src/global-account/react/hooks/useSiwe.tsx +4 -4
- package/src/global-account/react/hooks/useTokenBalance.tsx +6 -6
- package/src/global-account/react/hooks/useTokenBalancesByChain.tsx +10 -10
- package/src/global-account/react/hooks/useTokenData.ts +3 -3
- package/src/global-account/react/hooks/useTokenFromUrl.tsx +11 -11
- package/src/global-account/react/hooks/useTokenPrice.tsx +7 -7
- package/src/global-account/react/hooks/useTokenPriceWithFallback.tsx +7 -7
- package/src/global-account/react/hooks/useTokensFromAddress.ts +2 -2
- package/src/global-account/react/hooks/useURLParams.ts +2 -2
- package/src/global-account/react/stores/index.ts +1 -1
- package/src/global-account/react/stores/useAuthStore.ts +3 -3
- package/src/global-account/react/stores/useModalStore.ts +3 -3
- package/src/global-account/server.ts +3 -3
- package/src/global-account/types/chain-networks.ts +10 -10
- package/src/global-account/types/feature-flags.ts +2 -2
- package/src/shared/constants/chains/b3Chain.ts +35 -35
- package/src/shared/constants/chains/chainPlatformMap.ts +1 -1
- package/src/shared/constants/chains/supported.ts +1 -1
- package/src/shared/constants/index.ts +1 -1
- package/src/shared/thirdweb/initiateClient.ts +2 -2
- package/src/shared/thirdweb/openapi-ts.config.ts +1 -1
- package/src/shared/utils/b3Ens.ts +4 -4
- package/src/shared/utils/chain-transformers.ts +9 -9
- package/src/shared/utils/fetchBalances.ts +5 -5
- package/src/shared/utils/fetchBsmntProfile.ts +1 -1
- package/src/shared/utils/insights.ts +31 -31
- package/src/shared/utils/ipfs.ts +1 -1
- package/src/shared/utils/number.ts +5 -5
- package/src/shared/utils/simplehash.ts +28 -28
- package/src/shared/utils/thirdweb-insights.ts +20 -20
|
@@ -15,18 +15,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
15
15
|
paymentMethod: z.ZodString;
|
|
16
16
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
17
17
|
redirectUrl: z.ZodString;
|
|
18
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
18
19
|
}, "strip", z.ZodTypeAny, {
|
|
19
20
|
country: string;
|
|
20
21
|
vendor: import("../onramp").OnrampVendor;
|
|
21
22
|
paymentMethod: string;
|
|
22
23
|
redirectUrl: string;
|
|
23
24
|
ipAddress?: string | undefined;
|
|
25
|
+
stripeAmountInCents?: number | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
country: string;
|
|
26
28
|
vendor: import("../onramp").OnrampVendor;
|
|
27
29
|
paymentMethod: string;
|
|
28
30
|
redirectUrl: string;
|
|
29
31
|
ipAddress?: string | undefined;
|
|
32
|
+
stripeAmountInCents?: number | undefined;
|
|
30
33
|
}>>;
|
|
31
34
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
32
35
|
} & {
|
|
@@ -191,6 +194,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
191
194
|
paymentMethod: string;
|
|
192
195
|
redirectUrl: string;
|
|
193
196
|
ipAddress?: string | undefined;
|
|
197
|
+
stripeAmountInCents?: number | undefined;
|
|
194
198
|
} | undefined;
|
|
195
199
|
}, {
|
|
196
200
|
type: OrderType.Swap;
|
|
@@ -234,6 +238,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
234
238
|
paymentMethod: string;
|
|
235
239
|
redirectUrl: string;
|
|
236
240
|
ipAddress?: string | undefined;
|
|
241
|
+
stripeAmountInCents?: number | undefined;
|
|
237
242
|
} | undefined;
|
|
238
243
|
}>, z.ZodObject<{
|
|
239
244
|
recipientAddress: z.ZodString;
|
|
@@ -249,18 +254,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
249
254
|
paymentMethod: z.ZodString;
|
|
250
255
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
251
256
|
redirectUrl: z.ZodString;
|
|
257
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
252
258
|
}, "strip", z.ZodTypeAny, {
|
|
253
259
|
country: string;
|
|
254
260
|
vendor: import("../onramp").OnrampVendor;
|
|
255
261
|
paymentMethod: string;
|
|
256
262
|
redirectUrl: string;
|
|
257
263
|
ipAddress?: string | undefined;
|
|
264
|
+
stripeAmountInCents?: number | undefined;
|
|
258
265
|
}, {
|
|
259
266
|
country: string;
|
|
260
267
|
vendor: import("../onramp").OnrampVendor;
|
|
261
268
|
paymentMethod: string;
|
|
262
269
|
redirectUrl: string;
|
|
263
270
|
ipAddress?: string | undefined;
|
|
271
|
+
stripeAmountInCents?: number | undefined;
|
|
264
272
|
}>>;
|
|
265
273
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
266
274
|
} & {
|
|
@@ -517,6 +525,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
517
525
|
paymentMethod: string;
|
|
518
526
|
redirectUrl: string;
|
|
519
527
|
ipAddress?: string | undefined;
|
|
528
|
+
stripeAmountInCents?: number | undefined;
|
|
520
529
|
} | undefined;
|
|
521
530
|
}, {
|
|
522
531
|
type: OrderType.MintNFT;
|
|
@@ -576,6 +585,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
576
585
|
paymentMethod: string;
|
|
577
586
|
redirectUrl: string;
|
|
578
587
|
ipAddress?: string | undefined;
|
|
588
|
+
stripeAmountInCents?: number | undefined;
|
|
579
589
|
} | undefined;
|
|
580
590
|
}>, z.ZodObject<{
|
|
581
591
|
recipientAddress: z.ZodString;
|
|
@@ -591,18 +601,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
591
601
|
paymentMethod: z.ZodString;
|
|
592
602
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
593
603
|
redirectUrl: z.ZodString;
|
|
604
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
594
605
|
}, "strip", z.ZodTypeAny, {
|
|
595
606
|
country: string;
|
|
596
607
|
vendor: import("../onramp").OnrampVendor;
|
|
597
608
|
paymentMethod: string;
|
|
598
609
|
redirectUrl: string;
|
|
599
610
|
ipAddress?: string | undefined;
|
|
611
|
+
stripeAmountInCents?: number | undefined;
|
|
600
612
|
}, {
|
|
601
613
|
country: string;
|
|
602
614
|
vendor: import("../onramp").OnrampVendor;
|
|
603
615
|
paymentMethod: string;
|
|
604
616
|
redirectUrl: string;
|
|
605
617
|
ipAddress?: string | undefined;
|
|
618
|
+
stripeAmountInCents?: number | undefined;
|
|
606
619
|
}>>;
|
|
607
620
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
608
621
|
} & {
|
|
@@ -801,6 +814,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
801
814
|
paymentMethod: string;
|
|
802
815
|
redirectUrl: string;
|
|
803
816
|
ipAddress?: string | undefined;
|
|
817
|
+
stripeAmountInCents?: number | undefined;
|
|
804
818
|
} | undefined;
|
|
805
819
|
}, {
|
|
806
820
|
type: OrderType.JoinTournament;
|
|
@@ -850,6 +864,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
850
864
|
paymentMethod: string;
|
|
851
865
|
redirectUrl: string;
|
|
852
866
|
ipAddress?: string | undefined;
|
|
867
|
+
stripeAmountInCents?: number | undefined;
|
|
853
868
|
} | undefined;
|
|
854
869
|
}>, z.ZodObject<{
|
|
855
870
|
recipientAddress: z.ZodString;
|
|
@@ -865,18 +880,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
865
880
|
paymentMethod: z.ZodString;
|
|
866
881
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
867
882
|
redirectUrl: z.ZodString;
|
|
883
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
868
884
|
}, "strip", z.ZodTypeAny, {
|
|
869
885
|
country: string;
|
|
870
886
|
vendor: import("../onramp").OnrampVendor;
|
|
871
887
|
paymentMethod: string;
|
|
872
888
|
redirectUrl: string;
|
|
873
889
|
ipAddress?: string | undefined;
|
|
890
|
+
stripeAmountInCents?: number | undefined;
|
|
874
891
|
}, {
|
|
875
892
|
country: string;
|
|
876
893
|
vendor: import("../onramp").OnrampVendor;
|
|
877
894
|
paymentMethod: string;
|
|
878
895
|
redirectUrl: string;
|
|
879
896
|
ipAddress?: string | undefined;
|
|
897
|
+
stripeAmountInCents?: number | undefined;
|
|
880
898
|
}>>;
|
|
881
899
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
882
900
|
} & {
|
|
@@ -1075,6 +1093,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1075
1093
|
paymentMethod: string;
|
|
1076
1094
|
redirectUrl: string;
|
|
1077
1095
|
ipAddress?: string | undefined;
|
|
1096
|
+
stripeAmountInCents?: number | undefined;
|
|
1078
1097
|
} | undefined;
|
|
1079
1098
|
}, {
|
|
1080
1099
|
type: OrderType.FundTournament;
|
|
@@ -1124,6 +1143,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1124
1143
|
paymentMethod: string;
|
|
1125
1144
|
redirectUrl: string;
|
|
1126
1145
|
ipAddress?: string | undefined;
|
|
1146
|
+
stripeAmountInCents?: number | undefined;
|
|
1127
1147
|
} | undefined;
|
|
1128
1148
|
}>, z.ZodObject<{
|
|
1129
1149
|
recipientAddress: z.ZodString;
|
|
@@ -1139,18 +1159,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1139
1159
|
paymentMethod: z.ZodString;
|
|
1140
1160
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1141
1161
|
redirectUrl: z.ZodString;
|
|
1162
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1142
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1143
1164
|
country: string;
|
|
1144
1165
|
vendor: import("../onramp").OnrampVendor;
|
|
1145
1166
|
paymentMethod: string;
|
|
1146
1167
|
redirectUrl: string;
|
|
1147
1168
|
ipAddress?: string | undefined;
|
|
1169
|
+
stripeAmountInCents?: number | undefined;
|
|
1148
1170
|
}, {
|
|
1149
1171
|
country: string;
|
|
1150
1172
|
vendor: import("../onramp").OnrampVendor;
|
|
1151
1173
|
paymentMethod: string;
|
|
1152
1174
|
redirectUrl: string;
|
|
1153
1175
|
ipAddress?: string | undefined;
|
|
1176
|
+
stripeAmountInCents?: number | undefined;
|
|
1154
1177
|
}>>;
|
|
1155
1178
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
1156
1179
|
} & {
|
|
@@ -1327,6 +1350,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1327
1350
|
paymentMethod: string;
|
|
1328
1351
|
redirectUrl: string;
|
|
1329
1352
|
ipAddress?: string | undefined;
|
|
1353
|
+
stripeAmountInCents?: number | undefined;
|
|
1330
1354
|
} | undefined;
|
|
1331
1355
|
}, {
|
|
1332
1356
|
type: OrderType.Custom;
|
|
@@ -1373,6 +1397,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1373
1397
|
paymentMethod: string;
|
|
1374
1398
|
redirectUrl: string;
|
|
1375
1399
|
ipAddress?: string | undefined;
|
|
1400
|
+
stripeAmountInCents?: number | undefined;
|
|
1376
1401
|
} | undefined;
|
|
1377
1402
|
}>]>;
|
|
1378
1403
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1418,6 +1443,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1418
1443
|
paymentMethod: string;
|
|
1419
1444
|
redirectUrl: string;
|
|
1420
1445
|
ipAddress?: string | undefined;
|
|
1446
|
+
stripeAmountInCents?: number | undefined;
|
|
1421
1447
|
} | undefined;
|
|
1422
1448
|
} | {
|
|
1423
1449
|
type: OrderType.MintNFT;
|
|
@@ -1477,6 +1503,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1477
1503
|
paymentMethod: string;
|
|
1478
1504
|
redirectUrl: string;
|
|
1479
1505
|
ipAddress?: string | undefined;
|
|
1506
|
+
stripeAmountInCents?: number | undefined;
|
|
1480
1507
|
} | undefined;
|
|
1481
1508
|
} | {
|
|
1482
1509
|
type: OrderType.JoinTournament;
|
|
@@ -1526,6 +1553,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1526
1553
|
paymentMethod: string;
|
|
1527
1554
|
redirectUrl: string;
|
|
1528
1555
|
ipAddress?: string | undefined;
|
|
1556
|
+
stripeAmountInCents?: number | undefined;
|
|
1529
1557
|
} | undefined;
|
|
1530
1558
|
} | {
|
|
1531
1559
|
type: OrderType.FundTournament;
|
|
@@ -1575,6 +1603,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1575
1603
|
paymentMethod: string;
|
|
1576
1604
|
redirectUrl: string;
|
|
1577
1605
|
ipAddress?: string | undefined;
|
|
1606
|
+
stripeAmountInCents?: number | undefined;
|
|
1578
1607
|
} | undefined;
|
|
1579
1608
|
} | {
|
|
1580
1609
|
type: OrderType.Custom;
|
|
@@ -1621,6 +1650,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1621
1650
|
paymentMethod: string;
|
|
1622
1651
|
redirectUrl: string;
|
|
1623
1652
|
ipAddress?: string | undefined;
|
|
1653
|
+
stripeAmountInCents?: number | undefined;
|
|
1624
1654
|
} | undefined;
|
|
1625
1655
|
};
|
|
1626
1656
|
}, {
|
|
@@ -1666,6 +1696,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1666
1696
|
paymentMethod: string;
|
|
1667
1697
|
redirectUrl: string;
|
|
1668
1698
|
ipAddress?: string | undefined;
|
|
1699
|
+
stripeAmountInCents?: number | undefined;
|
|
1669
1700
|
} | undefined;
|
|
1670
1701
|
} | {
|
|
1671
1702
|
type: OrderType.MintNFT;
|
|
@@ -1725,6 +1756,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1725
1756
|
paymentMethod: string;
|
|
1726
1757
|
redirectUrl: string;
|
|
1727
1758
|
ipAddress?: string | undefined;
|
|
1759
|
+
stripeAmountInCents?: number | undefined;
|
|
1728
1760
|
} | undefined;
|
|
1729
1761
|
} | {
|
|
1730
1762
|
type: OrderType.JoinTournament;
|
|
@@ -1774,6 +1806,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1774
1806
|
paymentMethod: string;
|
|
1775
1807
|
redirectUrl: string;
|
|
1776
1808
|
ipAddress?: string | undefined;
|
|
1809
|
+
stripeAmountInCents?: number | undefined;
|
|
1777
1810
|
} | undefined;
|
|
1778
1811
|
} | {
|
|
1779
1812
|
type: OrderType.FundTournament;
|
|
@@ -1823,6 +1856,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1823
1856
|
paymentMethod: string;
|
|
1824
1857
|
redirectUrl: string;
|
|
1825
1858
|
ipAddress?: string | undefined;
|
|
1859
|
+
stripeAmountInCents?: number | undefined;
|
|
1826
1860
|
} | undefined;
|
|
1827
1861
|
} | {
|
|
1828
1862
|
type: OrderType.Custom;
|
|
@@ -1869,6 +1903,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1869
1903
|
paymentMethod: string;
|
|
1870
1904
|
redirectUrl: string;
|
|
1871
1905
|
ipAddress?: string | undefined;
|
|
1906
|
+
stripeAmountInCents?: number | undefined;
|
|
1872
1907
|
} | undefined;
|
|
1873
1908
|
};
|
|
1874
1909
|
}>;
|
|
@@ -1895,18 +1930,21 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
1895
1930
|
paymentMethod: z.ZodString;
|
|
1896
1931
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1897
1932
|
redirectUrl: z.ZodString;
|
|
1933
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1898
1934
|
}, "strip", z.ZodTypeAny, {
|
|
1899
1935
|
country: string;
|
|
1900
1936
|
vendor: import("../onramp").OnrampVendor;
|
|
1901
1937
|
paymentMethod: string;
|
|
1902
1938
|
redirectUrl: string;
|
|
1903
1939
|
ipAddress?: string | undefined;
|
|
1940
|
+
stripeAmountInCents?: number | undefined;
|
|
1904
1941
|
}, {
|
|
1905
1942
|
country: string;
|
|
1906
1943
|
vendor: import("../onramp").OnrampVendor;
|
|
1907
1944
|
paymentMethod: string;
|
|
1908
1945
|
redirectUrl: string;
|
|
1909
1946
|
ipAddress?: string | undefined;
|
|
1947
|
+
stripeAmountInCents?: number | undefined;
|
|
1910
1948
|
}>>;
|
|
1911
1949
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1912
1950
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -2093,6 +2131,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2093
2131
|
paymentMethod: string;
|
|
2094
2132
|
redirectUrl: string;
|
|
2095
2133
|
ipAddress?: string | undefined;
|
|
2134
|
+
stripeAmountInCents?: number | undefined;
|
|
2096
2135
|
} | null;
|
|
2097
2136
|
creatorAddress: string | null;
|
|
2098
2137
|
partnerId: string | null;
|
|
@@ -2151,6 +2190,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2151
2190
|
paymentMethod: string;
|
|
2152
2191
|
redirectUrl: string;
|
|
2153
2192
|
ipAddress?: string | undefined;
|
|
2193
|
+
stripeAmountInCents?: number | undefined;
|
|
2154
2194
|
} | null;
|
|
2155
2195
|
creatorAddress: string | null;
|
|
2156
2196
|
partnerId: string | null;
|
|
@@ -2186,18 +2226,21 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2186
2226
|
paymentMethod: z.ZodString;
|
|
2187
2227
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2188
2228
|
redirectUrl: z.ZodString;
|
|
2229
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2189
2230
|
}, "strip", z.ZodTypeAny, {
|
|
2190
2231
|
country: string;
|
|
2191
2232
|
vendor: import("../onramp").OnrampVendor;
|
|
2192
2233
|
paymentMethod: string;
|
|
2193
2234
|
redirectUrl: string;
|
|
2194
2235
|
ipAddress?: string | undefined;
|
|
2236
|
+
stripeAmountInCents?: number | undefined;
|
|
2195
2237
|
}, {
|
|
2196
2238
|
country: string;
|
|
2197
2239
|
vendor: import("../onramp").OnrampVendor;
|
|
2198
2240
|
paymentMethod: string;
|
|
2199
2241
|
redirectUrl: string;
|
|
2200
2242
|
ipAddress?: string | undefined;
|
|
2243
|
+
stripeAmountInCents?: number | undefined;
|
|
2201
2244
|
}>>;
|
|
2202
2245
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2203
2246
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -2474,6 +2517,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2474
2517
|
paymentMethod: string;
|
|
2475
2518
|
redirectUrl: string;
|
|
2476
2519
|
ipAddress?: string | undefined;
|
|
2520
|
+
stripeAmountInCents?: number | undefined;
|
|
2477
2521
|
} | null;
|
|
2478
2522
|
creatorAddress: string | null;
|
|
2479
2523
|
partnerId: string | null;
|
|
@@ -2548,6 +2592,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2548
2592
|
paymentMethod: string;
|
|
2549
2593
|
redirectUrl: string;
|
|
2550
2594
|
ipAddress?: string | undefined;
|
|
2595
|
+
stripeAmountInCents?: number | undefined;
|
|
2551
2596
|
} | null;
|
|
2552
2597
|
creatorAddress: string | null;
|
|
2553
2598
|
partnerId: string | null;
|
|
@@ -2585,18 +2630,21 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2585
2630
|
paymentMethod: z.ZodString;
|
|
2586
2631
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2587
2632
|
redirectUrl: z.ZodString;
|
|
2633
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2588
2634
|
}, "strip", z.ZodTypeAny, {
|
|
2589
2635
|
country: string;
|
|
2590
2636
|
vendor: import("../onramp").OnrampVendor;
|
|
2591
2637
|
paymentMethod: string;
|
|
2592
2638
|
redirectUrl: string;
|
|
2593
2639
|
ipAddress?: string | undefined;
|
|
2640
|
+
stripeAmountInCents?: number | undefined;
|
|
2594
2641
|
}, {
|
|
2595
2642
|
country: string;
|
|
2596
2643
|
vendor: import("../onramp").OnrampVendor;
|
|
2597
2644
|
paymentMethod: string;
|
|
2598
2645
|
redirectUrl: string;
|
|
2599
2646
|
ipAddress?: string | undefined;
|
|
2647
|
+
stripeAmountInCents?: number | undefined;
|
|
2600
2648
|
}>>;
|
|
2601
2649
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2602
2650
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -2817,6 +2865,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2817
2865
|
paymentMethod: string;
|
|
2818
2866
|
redirectUrl: string;
|
|
2819
2867
|
ipAddress?: string | undefined;
|
|
2868
|
+
stripeAmountInCents?: number | undefined;
|
|
2820
2869
|
} | null;
|
|
2821
2870
|
creatorAddress: string | null;
|
|
2822
2871
|
partnerId: string | null;
|
|
@@ -2881,6 +2930,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2881
2930
|
paymentMethod: string;
|
|
2882
2931
|
redirectUrl: string;
|
|
2883
2932
|
ipAddress?: string | undefined;
|
|
2933
|
+
stripeAmountInCents?: number | undefined;
|
|
2884
2934
|
} | null;
|
|
2885
2935
|
creatorAddress: string | null;
|
|
2886
2936
|
partnerId: string | null;
|
|
@@ -2916,18 +2966,21 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2916
2966
|
paymentMethod: z.ZodString;
|
|
2917
2967
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2918
2968
|
redirectUrl: z.ZodString;
|
|
2969
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2919
2970
|
}, "strip", z.ZodTypeAny, {
|
|
2920
2971
|
country: string;
|
|
2921
2972
|
vendor: import("../onramp").OnrampVendor;
|
|
2922
2973
|
paymentMethod: string;
|
|
2923
2974
|
redirectUrl: string;
|
|
2924
2975
|
ipAddress?: string | undefined;
|
|
2976
|
+
stripeAmountInCents?: number | undefined;
|
|
2925
2977
|
}, {
|
|
2926
2978
|
country: string;
|
|
2927
2979
|
vendor: import("../onramp").OnrampVendor;
|
|
2928
2980
|
paymentMethod: string;
|
|
2929
2981
|
redirectUrl: string;
|
|
2930
2982
|
ipAddress?: string | undefined;
|
|
2983
|
+
stripeAmountInCents?: number | undefined;
|
|
2931
2984
|
}>>;
|
|
2932
2985
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2933
2986
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -3148,6 +3201,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3148
3201
|
paymentMethod: string;
|
|
3149
3202
|
redirectUrl: string;
|
|
3150
3203
|
ipAddress?: string | undefined;
|
|
3204
|
+
stripeAmountInCents?: number | undefined;
|
|
3151
3205
|
} | null;
|
|
3152
3206
|
creatorAddress: string | null;
|
|
3153
3207
|
partnerId: string | null;
|
|
@@ -3212,6 +3266,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3212
3266
|
paymentMethod: string;
|
|
3213
3267
|
redirectUrl: string;
|
|
3214
3268
|
ipAddress?: string | undefined;
|
|
3269
|
+
stripeAmountInCents?: number | undefined;
|
|
3215
3270
|
} | null;
|
|
3216
3271
|
creatorAddress: string | null;
|
|
3217
3272
|
partnerId: string | null;
|
|
@@ -3247,18 +3302,21 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3247
3302
|
paymentMethod: z.ZodString;
|
|
3248
3303
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
3249
3304
|
redirectUrl: z.ZodString;
|
|
3305
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
3250
3306
|
}, "strip", z.ZodTypeAny, {
|
|
3251
3307
|
country: string;
|
|
3252
3308
|
vendor: import("../onramp").OnrampVendor;
|
|
3253
3309
|
paymentMethod: string;
|
|
3254
3310
|
redirectUrl: string;
|
|
3255
3311
|
ipAddress?: string | undefined;
|
|
3312
|
+
stripeAmountInCents?: number | undefined;
|
|
3256
3313
|
}, {
|
|
3257
3314
|
country: string;
|
|
3258
3315
|
vendor: import("../onramp").OnrampVendor;
|
|
3259
3316
|
paymentMethod: string;
|
|
3260
3317
|
redirectUrl: string;
|
|
3261
3318
|
ipAddress?: string | undefined;
|
|
3319
|
+
stripeAmountInCents?: number | undefined;
|
|
3262
3320
|
}>>;
|
|
3263
3321
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
3264
3322
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -3455,6 +3513,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3455
3513
|
paymentMethod: string;
|
|
3456
3514
|
redirectUrl: string;
|
|
3457
3515
|
ipAddress?: string | undefined;
|
|
3516
|
+
stripeAmountInCents?: number | undefined;
|
|
3458
3517
|
} | null;
|
|
3459
3518
|
creatorAddress: string | null;
|
|
3460
3519
|
partnerId: string | null;
|
|
@@ -3516,6 +3575,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3516
3575
|
paymentMethod: string;
|
|
3517
3576
|
redirectUrl: string;
|
|
3518
3577
|
ipAddress?: string | undefined;
|
|
3578
|
+
stripeAmountInCents?: number | undefined;
|
|
3519
3579
|
} | null;
|
|
3520
3580
|
creatorAddress: string | null;
|
|
3521
3581
|
partnerId: string | null;
|
|
@@ -3580,6 +3640,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3580
3640
|
paymentMethod: string;
|
|
3581
3641
|
redirectUrl: string;
|
|
3582
3642
|
ipAddress?: string | undefined;
|
|
3643
|
+
stripeAmountInCents?: number | undefined;
|
|
3583
3644
|
} | null;
|
|
3584
3645
|
creatorAddress: string | null;
|
|
3585
3646
|
partnerId: string | null;
|
|
@@ -3652,6 +3713,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3652
3713
|
paymentMethod: string;
|
|
3653
3714
|
redirectUrl: string;
|
|
3654
3715
|
ipAddress?: string | undefined;
|
|
3716
|
+
stripeAmountInCents?: number | undefined;
|
|
3655
3717
|
} | null;
|
|
3656
3718
|
creatorAddress: string | null;
|
|
3657
3719
|
partnerId: string | null;
|
|
@@ -3718,6 +3780,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3718
3780
|
paymentMethod: string;
|
|
3719
3781
|
redirectUrl: string;
|
|
3720
3782
|
ipAddress?: string | undefined;
|
|
3783
|
+
stripeAmountInCents?: number | undefined;
|
|
3721
3784
|
} | null;
|
|
3722
3785
|
creatorAddress: string | null;
|
|
3723
3786
|
partnerId: string | null;
|
|
@@ -3782,6 +3845,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3782
3845
|
paymentMethod: string;
|
|
3783
3846
|
redirectUrl: string;
|
|
3784
3847
|
ipAddress?: string | undefined;
|
|
3848
|
+
stripeAmountInCents?: number | undefined;
|
|
3785
3849
|
} | null;
|
|
3786
3850
|
creatorAddress: string | null;
|
|
3787
3851
|
partnerId: string | null;
|
|
@@ -3841,6 +3905,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3841
3905
|
paymentMethod: string;
|
|
3842
3906
|
redirectUrl: string;
|
|
3843
3907
|
ipAddress?: string | undefined;
|
|
3908
|
+
stripeAmountInCents?: number | undefined;
|
|
3844
3909
|
} | null;
|
|
3845
3910
|
creatorAddress: string | null;
|
|
3846
3911
|
partnerId: string | null;
|
|
@@ -3906,6 +3971,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3906
3971
|
paymentMethod: string;
|
|
3907
3972
|
redirectUrl: string;
|
|
3908
3973
|
ipAddress?: string | undefined;
|
|
3974
|
+
stripeAmountInCents?: number | undefined;
|
|
3909
3975
|
} | null;
|
|
3910
3976
|
creatorAddress: string | null;
|
|
3911
3977
|
partnerId: string | null;
|
|
@@ -3978,6 +4044,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3978
4044
|
paymentMethod: string;
|
|
3979
4045
|
redirectUrl: string;
|
|
3980
4046
|
ipAddress?: string | undefined;
|
|
4047
|
+
stripeAmountInCents?: number | undefined;
|
|
3981
4048
|
} | null;
|
|
3982
4049
|
creatorAddress: string | null;
|
|
3983
4050
|
partnerId: string | null;
|
|
@@ -4044,6 +4111,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4044
4111
|
paymentMethod: string;
|
|
4045
4112
|
redirectUrl: string;
|
|
4046
4113
|
ipAddress?: string | undefined;
|
|
4114
|
+
stripeAmountInCents?: number | undefined;
|
|
4047
4115
|
} | null;
|
|
4048
4116
|
creatorAddress: string | null;
|
|
4049
4117
|
partnerId: string | null;
|
|
@@ -4108,6 +4176,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4108
4176
|
paymentMethod: string;
|
|
4109
4177
|
redirectUrl: string;
|
|
4110
4178
|
ipAddress?: string | undefined;
|
|
4179
|
+
stripeAmountInCents?: number | undefined;
|
|
4111
4180
|
} | null;
|
|
4112
4181
|
creatorAddress: string | null;
|
|
4113
4182
|
partnerId: string | null;
|
|
@@ -4167,6 +4236,7 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4167
4236
|
paymentMethod: string;
|
|
4168
4237
|
redirectUrl: string;
|
|
4169
4238
|
ipAddress?: string | undefined;
|
|
4239
|
+
stripeAmountInCents?: number | undefined;
|
|
4170
4240
|
} | null;
|
|
4171
4241
|
creatorAddress: string | null;
|
|
4172
4242
|
partnerId: string | null;
|
|
@@ -14,32 +14,32 @@ const zBaseCreateOrderBody = z.object({
|
|
|
14
14
|
srcAmount: z.string(),
|
|
15
15
|
partnerId: z.string().optional(),
|
|
16
16
|
onramp: zOnrampMetadata.optional(),
|
|
17
|
-
creatorAddress: z.string().optional()
|
|
17
|
+
creatorAddress: z.string().optional(),
|
|
18
18
|
});
|
|
19
19
|
const zCreateSwapOrderBody = zBaseCreateOrderBody.extend({
|
|
20
20
|
type: z.literal(OrderType.Swap),
|
|
21
21
|
payload: zSwapPayload,
|
|
22
|
-
metadata: zSwapMetadata
|
|
22
|
+
metadata: zSwapMetadata,
|
|
23
23
|
});
|
|
24
24
|
const zCreateMintNftOrderBody = zBaseCreateOrderBody.extend({
|
|
25
25
|
type: z.literal(OrderType.MintNFT),
|
|
26
26
|
payload: zMintNftPayload,
|
|
27
|
-
metadata: zMintNftMetadata
|
|
27
|
+
metadata: zMintNftMetadata,
|
|
28
28
|
});
|
|
29
29
|
const zCreateJoinTournamentOrderBody = zBaseCreateOrderBody.extend({
|
|
30
30
|
type: z.literal(OrderType.JoinTournament),
|
|
31
31
|
payload: zJoinTournamentPayload,
|
|
32
|
-
metadata: zTournamentMetadata
|
|
32
|
+
metadata: zTournamentMetadata,
|
|
33
33
|
});
|
|
34
34
|
const zCreateFundTournamentOrderBody = zBaseCreateOrderBody.extend({
|
|
35
35
|
type: z.literal(OrderType.FundTournament),
|
|
36
36
|
payload: zFundTournamentPayload,
|
|
37
|
-
metadata: zTournamentMetadata
|
|
37
|
+
metadata: zTournamentMetadata,
|
|
38
38
|
});
|
|
39
39
|
const zCreateCustomOrderBody = zBaseCreateOrderBody.extend({
|
|
40
40
|
type: z.literal(OrderType.Custom),
|
|
41
41
|
payload: zCustomPayload,
|
|
42
|
-
metadata: zCustomMetadata
|
|
42
|
+
metadata: zCustomMetadata,
|
|
43
43
|
});
|
|
44
44
|
export const zCreateOrderRequest = z.object({
|
|
45
45
|
body: z.discriminatedUnion("type", [
|
|
@@ -47,12 +47,12 @@ export const zCreateOrderRequest = z.object({
|
|
|
47
47
|
zCreateMintNftOrderBody,
|
|
48
48
|
zCreateJoinTournamentOrderBody,
|
|
49
49
|
zCreateFundTournamentOrderBody,
|
|
50
|
-
zCreateCustomOrderBody
|
|
51
|
-
])
|
|
50
|
+
zCreateCustomOrderBody,
|
|
51
|
+
]),
|
|
52
52
|
});
|
|
53
53
|
export const zCreateOrderResponse = z.object({
|
|
54
54
|
success: z.boolean(),
|
|
55
55
|
message: z.string(),
|
|
56
56
|
data: zOrder,
|
|
57
|
-
statusCode: z.number()
|
|
57
|
+
statusCode: z.number(),
|
|
58
58
|
});
|
|
@@ -3,26 +3,26 @@ const zNetwork = z.object({
|
|
|
3
3
|
name: z.string(),
|
|
4
4
|
displayName: z.string(),
|
|
5
5
|
contractAddress: z.string(),
|
|
6
|
-
chainId: z.string()
|
|
6
|
+
chainId: z.string(),
|
|
7
7
|
});
|
|
8
8
|
const zPaymentLimit = z.object({
|
|
9
9
|
id: z.string(),
|
|
10
10
|
min: z.string(),
|
|
11
|
-
max: z.string()
|
|
11
|
+
max: z.string(),
|
|
12
12
|
});
|
|
13
13
|
const zPaymentCurrency = z.object({
|
|
14
14
|
id: z.string(),
|
|
15
|
-
limits: z.array(zPaymentLimit)
|
|
15
|
+
limits: z.array(zPaymentLimit),
|
|
16
16
|
});
|
|
17
17
|
const zPurchaseCurrency = z.object({
|
|
18
18
|
id: z.string(),
|
|
19
19
|
name: z.string(),
|
|
20
20
|
symbol: z.string(),
|
|
21
21
|
networks: z.array(zNetwork),
|
|
22
|
-
iconUrl: z.string()
|
|
22
|
+
iconUrl: z.string(),
|
|
23
23
|
});
|
|
24
24
|
// Main response schema
|
|
25
25
|
export const zGetCoinbaseOnrampOptionsResponse = z.object({
|
|
26
26
|
paymentCurrencies: z.array(zPaymentCurrency),
|
|
27
|
-
purchaseCurrencies: z.array(zPurchaseCurrency)
|
|
27
|
+
purchaseCurrencies: z.array(zPurchaseCurrency),
|
|
28
28
|
});
|