@b3dotfun/sdk 0.0.7-alpha.19 → 0.0.7-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 -13
- package/dist/cjs/anyspend/index.d.ts +0 -1
- package/dist/cjs/anyspend/index.js +0 -1
- 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 +66 -68
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +4 -4
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +90 -133
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +2 -3
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +5 -7
- 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 +20 -21
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +4 -7
- 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 +23 -52
- 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 +0 -1
- package/dist/cjs/anyspend/react/components/index.js +1 -3
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.js +6 -6
- 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.d.ts +18 -3
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +6 -6
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +0 -14
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -14
- 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 +2 -9
- package/dist/cjs/anyspend/services/anyspend.js +14 -14
- package/dist/cjs/anyspend/types/custom.js +2 -2
- package/dist/cjs/anyspend/types/globalWallet.js +1 -1
- package/dist/cjs/anyspend/types/index.d.ts +0 -1
- package/dist/cjs/anyspend/types/index.js +0 -1
- package/dist/cjs/anyspend/types/nft.d.ts +0 -7
- package/dist/cjs/anyspend/types/nft.js +6 -8
- package/dist/cjs/anyspend/types/onramp.d.ts +0 -3
- package/dist/cjs/anyspend/types/onramp.js +1 -2
- package/dist/cjs/anyspend/types/order.d.ts +0 -40
- 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 +0 -98
- 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 +0 -63
- 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 +0 -49
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +0 -37
- package/dist/cjs/anyspend/types/req-res/getQuote.js +9 -14
- 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.d.ts +3 -3
- package/dist/cjs/anyspend/utils/orderPayload.js +8 -22
- 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 +3 -3
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +6 -6
- 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/SignInWithB3.d.ts +2 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +17 -12
- 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/StyleRoot.js +1 -0
- 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/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 +8 -8
- 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.d.ts +4 -8
- package/dist/cjs/global-account/react/hooks/useB3EnsName.js +23 -32
- 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 +14 -14
- 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.d.ts +0 -2
- 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.d.ts +0 -1
- package/dist/cjs/shared/constants/index.js +2 -3
- 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/index.d.ts +0 -9
- package/dist/cjs/shared/utils/index.js +0 -17
- 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 -13
- package/dist/esm/anyspend/index.d.ts +0 -1
- package/dist/esm/anyspend/index.js +0 -1
- 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 +39 -41
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +4 -4
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +71 -114
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +2 -3
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +5 -7
- 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 +21 -22
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +4 -7
- 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 +24 -53
- 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 +0 -1
- package/dist/esm/anyspend/react/components/index.js +0 -1
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.d.ts +1 -1
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.js +2 -2
- 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.d.ts +18 -3
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +7 -7
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +0 -14
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -14
- 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 +2 -9
- package/dist/esm/anyspend/services/anyspend.js +15 -15
- package/dist/esm/anyspend/types/custom.js +2 -2
- package/dist/esm/anyspend/types/globalWallet.js +1 -1
- package/dist/esm/anyspend/types/index.d.ts +0 -1
- package/dist/esm/anyspend/types/index.js +0 -1
- package/dist/esm/anyspend/types/nft.d.ts +0 -7
- package/dist/esm/anyspend/types/nft.js +6 -8
- package/dist/esm/anyspend/types/onramp.d.ts +0 -3
- package/dist/esm/anyspend/types/onramp.js +1 -2
- package/dist/esm/anyspend/types/order.d.ts +0 -40
- 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 +0 -98
- 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 +0 -63
- 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 +0 -49
- package/dist/esm/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/esm/anyspend/types/req-res/getQuote.d.ts +0 -37
- package/dist/esm/anyspend/types/req-res/getQuote.js +9 -14
- 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.d.ts +3 -3
- package/dist/esm/anyspend/utils/orderPayload.js +9 -23
- 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 +3 -3
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +6 -6
- 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/SignInWithB3.d.ts +2 -1
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +13 -8
- 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/StyleRoot.js +1 -0
- 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/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 +8 -8
- 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.d.ts +4 -8
- package/dist/esm/global-account/react/hooks/useB3EnsName.js +22 -34
- 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 +13 -13
- 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.d.ts +0 -2
- 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.d.ts +0 -1
- package/dist/esm/shared/constants/index.js +1 -2
- 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/index.d.ts +0 -9
- package/dist/esm/shared/utils/index.js +0 -15
- 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/styles/index.css +1 -1
- package/dist/types/anyspend/index.d.ts +0 -1
- 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 +4 -4
- package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +2 -3
- 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 +0 -1
- 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/useAnyspendCreateOnrampOrder.d.ts +18 -3
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +0 -14
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -14
- package/dist/types/anyspend/services/anyspend.d.ts +2 -9
- package/dist/types/anyspend/types/index.d.ts +0 -1
- package/dist/types/anyspend/types/nft.d.ts +0 -7
- package/dist/types/anyspend/types/onramp.d.ts +0 -3
- package/dist/types/anyspend/types/order.d.ts +0 -40
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +0 -98
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +0 -63
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +0 -49
- package/dist/types/anyspend/types/req-res/getQuote.d.ts +0 -37
- package/dist/types/anyspend/utils/orderPayload.d.ts +3 -3
- package/dist/types/global-account/react/components/B3Provider/B3Provider.d.ts +3 -3
- 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/SignInWithB3.d.ts +2 -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/useB3EnsName.d.ts +4 -8
- 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/dist/types/global-account/react/stores/useModalStore.d.ts +0 -2
- package/dist/types/shared/constants/index.d.ts +0 -1
- package/dist/types/shared/utils/index.d.ts +0 -9
- package/package.json +3 -15
- 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 +11 -13
- package/src/anyspend/index.ts +0 -1
- package/src/anyspend/react/components/AnySpend.tsx +32 -33
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +41 -46
- package/src/anyspend/react/components/AnySpendCustom.tsx +70 -158
- package/src/anyspend/react/components/AnySpendNFT.tsx +6 -11
- package/src/anyspend/react/components/AnySpendNFTButton.tsx +1 -1
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +22 -23
- package/src/anyspend/react/components/AnySpendTournament.tsx +4 -7
- package/src/anyspend/react/components/common/ChainTokenIcon.tsx +1 -1
- package/src/anyspend/react/components/common/OrderDetails.tsx +31 -75
- 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 +0 -1
- package/src/anyspend/react/components/modals/EnterRecipientModal.tsx +2 -2
- package/src/anyspend/react/components/webview/WebviewOnrampPayment.tsx +18 -18
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +20 -10
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +8 -9
- 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 +25 -25
- 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/index.ts +0 -1
- package/src/anyspend/types/nft.ts +7 -10
- package/src/anyspend/types/onramp.ts +2 -3
- 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 +9 -14
- 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 +9 -21
- 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 +8 -7
- 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/SignInWithB3.tsx +28 -16
- 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/StyleRoot.tsx +1 -0
- 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/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 +9 -9
- 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 +31 -43
- 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 +14 -14
- 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 -5
- 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 -3
- 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/index.ts +0 -16
- 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
- package/dist/cjs/anyspend/types/metadata.d.ts +0 -26
- package/dist/cjs/anyspend/types/metadata.js +0 -16
- package/dist/cjs/global-account/react/components/SignInWithB3/SignIn.d.ts +0 -14
- package/dist/cjs/global-account/react/components/SignInWithB3/SignIn.js +0 -50
- package/dist/cjs/global-account/react/components/custom/Icon.d.ts +0 -7
- package/dist/cjs/global-account/react/components/custom/Icon.js +0 -52
- package/dist/cjs/global-account/react/components/custom/ManageAccountButton.d.ts +0 -4
- package/dist/cjs/global-account/react/components/custom/ManageAccountButton.js +0 -20
- package/dist/cjs/shared/react/hooks/index.d.ts +0 -1
- package/dist/cjs/shared/react/hooks/index.js +0 -17
- package/dist/cjs/shared/react/hooks/useNavigation.d.ts +0 -17
- package/dist/cjs/shared/react/hooks/useNavigation.js +0 -57
- package/dist/cjs/shared/react/index.d.ts +0 -1
- package/dist/cjs/shared/react/index.js +0 -17
- package/dist/esm/anyspend/types/metadata.d.ts +0 -26
- package/dist/esm/anyspend/types/metadata.js +0 -11
- package/dist/esm/global-account/react/components/SignInWithB3/SignIn.d.ts +0 -14
- package/dist/esm/global-account/react/components/SignInWithB3/SignIn.js +0 -44
- package/dist/esm/global-account/react/components/custom/Icon.d.ts +0 -7
- package/dist/esm/global-account/react/components/custom/Icon.js +0 -50
- package/dist/esm/global-account/react/components/custom/ManageAccountButton.d.ts +0 -4
- package/dist/esm/global-account/react/components/custom/ManageAccountButton.js +0 -17
- package/dist/esm/shared/react/hooks/index.d.ts +0 -1
- package/dist/esm/shared/react/hooks/index.js +0 -1
- package/dist/esm/shared/react/hooks/useNavigation.d.ts +0 -17
- package/dist/esm/shared/react/hooks/useNavigation.js +0 -52
- package/dist/esm/shared/react/index.d.ts +0 -1
- package/dist/esm/shared/react/index.js +0 -1
- package/dist/types/anyspend/types/metadata.d.ts +0 -26
- package/dist/types/global-account/react/components/SignInWithB3/SignIn.d.ts +0 -14
- package/dist/types/global-account/react/components/custom/Icon.d.ts +0 -7
- package/dist/types/global-account/react/components/custom/ManageAccountButton.d.ts +0 -4
- package/dist/types/shared/react/hooks/index.d.ts +0 -1
- package/dist/types/shared/react/hooks/useNavigation.d.ts +0 -17
- package/dist/types/shared/react/index.d.ts +0 -1
- package/src/anyspend/types/metadata.ts +0 -41
- package/src/global-account/react/components/SignInWithB3/SignIn.tsx +0 -190
- package/src/global-account/react/components/custom/Icon.tsx +0 -102
- package/src/global-account/react/components/custom/ManageAccountButton.tsx +0 -33
- package/src/shared/react/hooks/index.ts +0 -1
- package/src/shared/react/hooks/useNavigation.ts +0 -61
- package/src/shared/react/index.ts +0 -1
|
@@ -15,21 +15,18 @@ 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>;
|
|
19
18
|
}, "strip", z.ZodTypeAny, {
|
|
20
19
|
country: string;
|
|
21
20
|
vendor: import("../onramp").OnrampVendor;
|
|
22
21
|
paymentMethod: string;
|
|
23
22
|
redirectUrl: string;
|
|
24
23
|
ipAddress?: string | undefined;
|
|
25
|
-
stripeAmountInCents?: number | undefined;
|
|
26
24
|
}, {
|
|
27
25
|
country: string;
|
|
28
26
|
vendor: import("../onramp").OnrampVendor;
|
|
29
27
|
paymentMethod: string;
|
|
30
28
|
redirectUrl: string;
|
|
31
29
|
ipAddress?: string | undefined;
|
|
32
|
-
stripeAmountInCents?: number | undefined;
|
|
33
30
|
}>>;
|
|
34
31
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
35
32
|
} & {
|
|
@@ -194,7 +191,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
194
191
|
paymentMethod: string;
|
|
195
192
|
redirectUrl: string;
|
|
196
193
|
ipAddress?: string | undefined;
|
|
197
|
-
stripeAmountInCents?: number | undefined;
|
|
198
194
|
} | undefined;
|
|
199
195
|
}, {
|
|
200
196
|
type: OrderType.Swap;
|
|
@@ -238,7 +234,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
238
234
|
paymentMethod: string;
|
|
239
235
|
redirectUrl: string;
|
|
240
236
|
ipAddress?: string | undefined;
|
|
241
|
-
stripeAmountInCents?: number | undefined;
|
|
242
237
|
} | undefined;
|
|
243
238
|
}>, z.ZodObject<{
|
|
244
239
|
recipientAddress: z.ZodString;
|
|
@@ -254,39 +249,30 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
254
249
|
paymentMethod: z.ZodString;
|
|
255
250
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
256
251
|
redirectUrl: z.ZodString;
|
|
257
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
258
252
|
}, "strip", z.ZodTypeAny, {
|
|
259
253
|
country: string;
|
|
260
254
|
vendor: import("../onramp").OnrampVendor;
|
|
261
255
|
paymentMethod: string;
|
|
262
256
|
redirectUrl: string;
|
|
263
257
|
ipAddress?: string | undefined;
|
|
264
|
-
stripeAmountInCents?: number | undefined;
|
|
265
258
|
}, {
|
|
266
259
|
country: string;
|
|
267
260
|
vendor: import("../onramp").OnrampVendor;
|
|
268
261
|
paymentMethod: string;
|
|
269
262
|
redirectUrl: string;
|
|
270
263
|
ipAddress?: string | undefined;
|
|
271
|
-
stripeAmountInCents?: number | undefined;
|
|
272
264
|
}>>;
|
|
273
265
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
274
266
|
} & {
|
|
275
267
|
type: z.ZodLiteral<OrderType.MintNFT>;
|
|
276
268
|
payload: z.ZodObject<{
|
|
277
269
|
contractAddress: z.ZodString;
|
|
278
|
-
tokenId: z.ZodNullable<z.ZodNumber>;
|
|
279
|
-
contractType: z.ZodNativeEnum<typeof import("../nft").NftType>;
|
|
280
270
|
nftPrice: z.ZodString;
|
|
281
271
|
}, "strip", z.ZodTypeAny, {
|
|
282
272
|
contractAddress: string;
|
|
283
|
-
tokenId: number | null;
|
|
284
|
-
contractType: import("../nft").NftType;
|
|
285
273
|
nftPrice: string;
|
|
286
274
|
}, {
|
|
287
275
|
contractAddress: string;
|
|
288
|
-
tokenId: number | null;
|
|
289
|
-
contractType: import("../nft").NftType;
|
|
290
276
|
nftPrice: string;
|
|
291
277
|
}>;
|
|
292
278
|
metadata: z.ZodObject<{
|
|
@@ -513,8 +499,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
513
499
|
srcAmount: string;
|
|
514
500
|
payload: {
|
|
515
501
|
contractAddress: string;
|
|
516
|
-
tokenId: number | null;
|
|
517
|
-
contractType: import("../nft").NftType;
|
|
518
502
|
nftPrice: string;
|
|
519
503
|
};
|
|
520
504
|
creatorAddress?: string | undefined;
|
|
@@ -525,7 +509,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
525
509
|
paymentMethod: string;
|
|
526
510
|
redirectUrl: string;
|
|
527
511
|
ipAddress?: string | undefined;
|
|
528
|
-
stripeAmountInCents?: number | undefined;
|
|
529
512
|
} | undefined;
|
|
530
513
|
}, {
|
|
531
514
|
type: OrderType.MintNFT;
|
|
@@ -573,8 +556,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
573
556
|
srcAmount: string;
|
|
574
557
|
payload: {
|
|
575
558
|
contractAddress: string;
|
|
576
|
-
tokenId: number | null;
|
|
577
|
-
contractType: import("../nft").NftType;
|
|
578
559
|
nftPrice: string;
|
|
579
560
|
};
|
|
580
561
|
creatorAddress?: string | undefined;
|
|
@@ -585,7 +566,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
585
566
|
paymentMethod: string;
|
|
586
567
|
redirectUrl: string;
|
|
587
568
|
ipAddress?: string | undefined;
|
|
588
|
-
stripeAmountInCents?: number | undefined;
|
|
589
569
|
} | undefined;
|
|
590
570
|
}>, z.ZodObject<{
|
|
591
571
|
recipientAddress: z.ZodString;
|
|
@@ -601,21 +581,18 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
601
581
|
paymentMethod: z.ZodString;
|
|
602
582
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
603
583
|
redirectUrl: z.ZodString;
|
|
604
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
605
584
|
}, "strip", z.ZodTypeAny, {
|
|
606
585
|
country: string;
|
|
607
586
|
vendor: import("../onramp").OnrampVendor;
|
|
608
587
|
paymentMethod: string;
|
|
609
588
|
redirectUrl: string;
|
|
610
589
|
ipAddress?: string | undefined;
|
|
611
|
-
stripeAmountInCents?: number | undefined;
|
|
612
590
|
}, {
|
|
613
591
|
country: string;
|
|
614
592
|
vendor: import("../onramp").OnrampVendor;
|
|
615
593
|
paymentMethod: string;
|
|
616
594
|
redirectUrl: string;
|
|
617
595
|
ipAddress?: string | undefined;
|
|
618
|
-
stripeAmountInCents?: number | undefined;
|
|
619
596
|
}>>;
|
|
620
597
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
621
598
|
} & {
|
|
@@ -814,7 +791,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
814
791
|
paymentMethod: string;
|
|
815
792
|
redirectUrl: string;
|
|
816
793
|
ipAddress?: string | undefined;
|
|
817
|
-
stripeAmountInCents?: number | undefined;
|
|
818
794
|
} | undefined;
|
|
819
795
|
}, {
|
|
820
796
|
type: OrderType.JoinTournament;
|
|
@@ -864,7 +840,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
864
840
|
paymentMethod: string;
|
|
865
841
|
redirectUrl: string;
|
|
866
842
|
ipAddress?: string | undefined;
|
|
867
|
-
stripeAmountInCents?: number | undefined;
|
|
868
843
|
} | undefined;
|
|
869
844
|
}>, z.ZodObject<{
|
|
870
845
|
recipientAddress: z.ZodString;
|
|
@@ -880,21 +855,18 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
880
855
|
paymentMethod: z.ZodString;
|
|
881
856
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
882
857
|
redirectUrl: z.ZodString;
|
|
883
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
884
858
|
}, "strip", z.ZodTypeAny, {
|
|
885
859
|
country: string;
|
|
886
860
|
vendor: import("../onramp").OnrampVendor;
|
|
887
861
|
paymentMethod: string;
|
|
888
862
|
redirectUrl: string;
|
|
889
863
|
ipAddress?: string | undefined;
|
|
890
|
-
stripeAmountInCents?: number | undefined;
|
|
891
864
|
}, {
|
|
892
865
|
country: string;
|
|
893
866
|
vendor: import("../onramp").OnrampVendor;
|
|
894
867
|
paymentMethod: string;
|
|
895
868
|
redirectUrl: string;
|
|
896
869
|
ipAddress?: string | undefined;
|
|
897
|
-
stripeAmountInCents?: number | undefined;
|
|
898
870
|
}>>;
|
|
899
871
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
900
872
|
} & {
|
|
@@ -1093,7 +1065,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1093
1065
|
paymentMethod: string;
|
|
1094
1066
|
redirectUrl: string;
|
|
1095
1067
|
ipAddress?: string | undefined;
|
|
1096
|
-
stripeAmountInCents?: number | undefined;
|
|
1097
1068
|
} | undefined;
|
|
1098
1069
|
}, {
|
|
1099
1070
|
type: OrderType.FundTournament;
|
|
@@ -1143,7 +1114,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1143
1114
|
paymentMethod: string;
|
|
1144
1115
|
redirectUrl: string;
|
|
1145
1116
|
ipAddress?: string | undefined;
|
|
1146
|
-
stripeAmountInCents?: number | undefined;
|
|
1147
1117
|
} | undefined;
|
|
1148
1118
|
}>, z.ZodObject<{
|
|
1149
1119
|
recipientAddress: z.ZodString;
|
|
@@ -1159,21 +1129,18 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1159
1129
|
paymentMethod: z.ZodString;
|
|
1160
1130
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1161
1131
|
redirectUrl: z.ZodString;
|
|
1162
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1163
1132
|
}, "strip", z.ZodTypeAny, {
|
|
1164
1133
|
country: string;
|
|
1165
1134
|
vendor: import("../onramp").OnrampVendor;
|
|
1166
1135
|
paymentMethod: string;
|
|
1167
1136
|
redirectUrl: string;
|
|
1168
1137
|
ipAddress?: string | undefined;
|
|
1169
|
-
stripeAmountInCents?: number | undefined;
|
|
1170
1138
|
}, {
|
|
1171
1139
|
country: string;
|
|
1172
1140
|
vendor: import("../onramp").OnrampVendor;
|
|
1173
1141
|
paymentMethod: string;
|
|
1174
1142
|
redirectUrl: string;
|
|
1175
1143
|
ipAddress?: string | undefined;
|
|
1176
|
-
stripeAmountInCents?: number | undefined;
|
|
1177
1144
|
}>>;
|
|
1178
1145
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
1179
1146
|
} & {
|
|
@@ -1350,7 +1317,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1350
1317
|
paymentMethod: string;
|
|
1351
1318
|
redirectUrl: string;
|
|
1352
1319
|
ipAddress?: string | undefined;
|
|
1353
|
-
stripeAmountInCents?: number | undefined;
|
|
1354
1320
|
} | undefined;
|
|
1355
1321
|
}, {
|
|
1356
1322
|
type: OrderType.Custom;
|
|
@@ -1397,7 +1363,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1397
1363
|
paymentMethod: string;
|
|
1398
1364
|
redirectUrl: string;
|
|
1399
1365
|
ipAddress?: string | undefined;
|
|
1400
|
-
stripeAmountInCents?: number | undefined;
|
|
1401
1366
|
} | undefined;
|
|
1402
1367
|
}>]>;
|
|
1403
1368
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1443,7 +1408,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1443
1408
|
paymentMethod: string;
|
|
1444
1409
|
redirectUrl: string;
|
|
1445
1410
|
ipAddress?: string | undefined;
|
|
1446
|
-
stripeAmountInCents?: number | undefined;
|
|
1447
1411
|
} | undefined;
|
|
1448
1412
|
} | {
|
|
1449
1413
|
type: OrderType.MintNFT;
|
|
@@ -1491,8 +1455,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1491
1455
|
srcAmount: string;
|
|
1492
1456
|
payload: {
|
|
1493
1457
|
contractAddress: string;
|
|
1494
|
-
tokenId: number | null;
|
|
1495
|
-
contractType: import("../nft").NftType;
|
|
1496
1458
|
nftPrice: string;
|
|
1497
1459
|
};
|
|
1498
1460
|
creatorAddress?: string | undefined;
|
|
@@ -1503,7 +1465,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1503
1465
|
paymentMethod: string;
|
|
1504
1466
|
redirectUrl: string;
|
|
1505
1467
|
ipAddress?: string | undefined;
|
|
1506
|
-
stripeAmountInCents?: number | undefined;
|
|
1507
1468
|
} | undefined;
|
|
1508
1469
|
} | {
|
|
1509
1470
|
type: OrderType.JoinTournament;
|
|
@@ -1553,7 +1514,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1553
1514
|
paymentMethod: string;
|
|
1554
1515
|
redirectUrl: string;
|
|
1555
1516
|
ipAddress?: string | undefined;
|
|
1556
|
-
stripeAmountInCents?: number | undefined;
|
|
1557
1517
|
} | undefined;
|
|
1558
1518
|
} | {
|
|
1559
1519
|
type: OrderType.FundTournament;
|
|
@@ -1603,7 +1563,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1603
1563
|
paymentMethod: string;
|
|
1604
1564
|
redirectUrl: string;
|
|
1605
1565
|
ipAddress?: string | undefined;
|
|
1606
|
-
stripeAmountInCents?: number | undefined;
|
|
1607
1566
|
} | undefined;
|
|
1608
1567
|
} | {
|
|
1609
1568
|
type: OrderType.Custom;
|
|
@@ -1650,7 +1609,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1650
1609
|
paymentMethod: string;
|
|
1651
1610
|
redirectUrl: string;
|
|
1652
1611
|
ipAddress?: string | undefined;
|
|
1653
|
-
stripeAmountInCents?: number | undefined;
|
|
1654
1612
|
} | undefined;
|
|
1655
1613
|
};
|
|
1656
1614
|
}, {
|
|
@@ -1696,7 +1654,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1696
1654
|
paymentMethod: string;
|
|
1697
1655
|
redirectUrl: string;
|
|
1698
1656
|
ipAddress?: string | undefined;
|
|
1699
|
-
stripeAmountInCents?: number | undefined;
|
|
1700
1657
|
} | undefined;
|
|
1701
1658
|
} | {
|
|
1702
1659
|
type: OrderType.MintNFT;
|
|
@@ -1744,8 +1701,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1744
1701
|
srcAmount: string;
|
|
1745
1702
|
payload: {
|
|
1746
1703
|
contractAddress: string;
|
|
1747
|
-
tokenId: number | null;
|
|
1748
|
-
contractType: import("../nft").NftType;
|
|
1749
1704
|
nftPrice: string;
|
|
1750
1705
|
};
|
|
1751
1706
|
creatorAddress?: string | undefined;
|
|
@@ -1756,7 +1711,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1756
1711
|
paymentMethod: string;
|
|
1757
1712
|
redirectUrl: string;
|
|
1758
1713
|
ipAddress?: string | undefined;
|
|
1759
|
-
stripeAmountInCents?: number | undefined;
|
|
1760
1714
|
} | undefined;
|
|
1761
1715
|
} | {
|
|
1762
1716
|
type: OrderType.JoinTournament;
|
|
@@ -1806,7 +1760,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1806
1760
|
paymentMethod: string;
|
|
1807
1761
|
redirectUrl: string;
|
|
1808
1762
|
ipAddress?: string | undefined;
|
|
1809
|
-
stripeAmountInCents?: number | undefined;
|
|
1810
1763
|
} | undefined;
|
|
1811
1764
|
} | {
|
|
1812
1765
|
type: OrderType.FundTournament;
|
|
@@ -1856,7 +1809,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1856
1809
|
paymentMethod: string;
|
|
1857
1810
|
redirectUrl: string;
|
|
1858
1811
|
ipAddress?: string | undefined;
|
|
1859
|
-
stripeAmountInCents?: number | undefined;
|
|
1860
1812
|
} | undefined;
|
|
1861
1813
|
} | {
|
|
1862
1814
|
type: OrderType.Custom;
|
|
@@ -1903,7 +1855,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1903
1855
|
paymentMethod: string;
|
|
1904
1856
|
redirectUrl: string;
|
|
1905
1857
|
ipAddress?: string | undefined;
|
|
1906
|
-
stripeAmountInCents?: number | undefined;
|
|
1907
1858
|
} | undefined;
|
|
1908
1859
|
};
|
|
1909
1860
|
}>;
|
|
@@ -1930,21 +1881,18 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
1930
1881
|
paymentMethod: z.ZodString;
|
|
1931
1882
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1932
1883
|
redirectUrl: z.ZodString;
|
|
1933
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1934
1884
|
}, "strip", z.ZodTypeAny, {
|
|
1935
1885
|
country: string;
|
|
1936
1886
|
vendor: import("../onramp").OnrampVendor;
|
|
1937
1887
|
paymentMethod: string;
|
|
1938
1888
|
redirectUrl: string;
|
|
1939
1889
|
ipAddress?: string | undefined;
|
|
1940
|
-
stripeAmountInCents?: number | undefined;
|
|
1941
1890
|
}, {
|
|
1942
1891
|
country: string;
|
|
1943
1892
|
vendor: import("../onramp").OnrampVendor;
|
|
1944
1893
|
paymentMethod: string;
|
|
1945
1894
|
redirectUrl: string;
|
|
1946
1895
|
ipAddress?: string | undefined;
|
|
1947
|
-
stripeAmountInCents?: number | undefined;
|
|
1948
1896
|
}>>;
|
|
1949
1897
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1950
1898
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -2131,7 +2079,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2131
2079
|
paymentMethod: string;
|
|
2132
2080
|
redirectUrl: string;
|
|
2133
2081
|
ipAddress?: string | undefined;
|
|
2134
|
-
stripeAmountInCents?: number | undefined;
|
|
2135
2082
|
} | null;
|
|
2136
2083
|
creatorAddress: string | null;
|
|
2137
2084
|
partnerId: string | null;
|
|
@@ -2190,7 +2137,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2190
2137
|
paymentMethod: string;
|
|
2191
2138
|
redirectUrl: string;
|
|
2192
2139
|
ipAddress?: string | undefined;
|
|
2193
|
-
stripeAmountInCents?: number | undefined;
|
|
2194
2140
|
} | null;
|
|
2195
2141
|
creatorAddress: string | null;
|
|
2196
2142
|
partnerId: string | null;
|
|
@@ -2226,21 +2172,18 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2226
2172
|
paymentMethod: z.ZodString;
|
|
2227
2173
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2228
2174
|
redirectUrl: z.ZodString;
|
|
2229
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2230
2175
|
}, "strip", z.ZodTypeAny, {
|
|
2231
2176
|
country: string;
|
|
2232
2177
|
vendor: import("../onramp").OnrampVendor;
|
|
2233
2178
|
paymentMethod: string;
|
|
2234
2179
|
redirectUrl: string;
|
|
2235
2180
|
ipAddress?: string | undefined;
|
|
2236
|
-
stripeAmountInCents?: number | undefined;
|
|
2237
2181
|
}, {
|
|
2238
2182
|
country: string;
|
|
2239
2183
|
vendor: import("../onramp").OnrampVendor;
|
|
2240
2184
|
paymentMethod: string;
|
|
2241
2185
|
redirectUrl: string;
|
|
2242
2186
|
ipAddress?: string | undefined;
|
|
2243
|
-
stripeAmountInCents?: number | undefined;
|
|
2244
2187
|
}>>;
|
|
2245
2188
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2246
2189
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -2269,18 +2212,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2269
2212
|
type: z.ZodLiteral<OrderType.MintNFT>;
|
|
2270
2213
|
payload: z.ZodObject<{
|
|
2271
2214
|
contractAddress: z.ZodString;
|
|
2272
|
-
tokenId: z.ZodNullable<z.ZodNumber>;
|
|
2273
|
-
contractType: z.ZodNativeEnum<typeof import("../nft").NftType>;
|
|
2274
2215
|
nftPrice: z.ZodString;
|
|
2275
2216
|
}, "strip", z.ZodTypeAny, {
|
|
2276
2217
|
contractAddress: string;
|
|
2277
|
-
tokenId: number | null;
|
|
2278
|
-
contractType: import("../nft").NftType;
|
|
2279
2218
|
nftPrice: string;
|
|
2280
2219
|
}, {
|
|
2281
2220
|
contractAddress: string;
|
|
2282
|
-
tokenId: number | null;
|
|
2283
|
-
contractType: import("../nft").NftType;
|
|
2284
2221
|
nftPrice: string;
|
|
2285
2222
|
}>;
|
|
2286
2223
|
metadata: z.ZodObject<{
|
|
@@ -2517,7 +2454,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2517
2454
|
paymentMethod: string;
|
|
2518
2455
|
redirectUrl: string;
|
|
2519
2456
|
ipAddress?: string | undefined;
|
|
2520
|
-
stripeAmountInCents?: number | undefined;
|
|
2521
2457
|
} | null;
|
|
2522
2458
|
creatorAddress: string | null;
|
|
2523
2459
|
partnerId: string | null;
|
|
@@ -2532,8 +2468,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2532
2468
|
} | null;
|
|
2533
2469
|
payload: {
|
|
2534
2470
|
contractAddress: string;
|
|
2535
|
-
tokenId: number | null;
|
|
2536
|
-
contractType: import("../nft").NftType;
|
|
2537
2471
|
nftPrice: string;
|
|
2538
2472
|
};
|
|
2539
2473
|
}, {
|
|
@@ -2592,7 +2526,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2592
2526
|
paymentMethod: string;
|
|
2593
2527
|
redirectUrl: string;
|
|
2594
2528
|
ipAddress?: string | undefined;
|
|
2595
|
-
stripeAmountInCents?: number | undefined;
|
|
2596
2529
|
} | null;
|
|
2597
2530
|
creatorAddress: string | null;
|
|
2598
2531
|
partnerId: string | null;
|
|
@@ -2607,8 +2540,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2607
2540
|
} | null;
|
|
2608
2541
|
payload: {
|
|
2609
2542
|
contractAddress: string;
|
|
2610
|
-
tokenId: number | null;
|
|
2611
|
-
contractType: import("../nft").NftType;
|
|
2612
2543
|
nftPrice: string;
|
|
2613
2544
|
};
|
|
2614
2545
|
}>, z.ZodObject<{
|
|
@@ -2630,21 +2561,18 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2630
2561
|
paymentMethod: z.ZodString;
|
|
2631
2562
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2632
2563
|
redirectUrl: z.ZodString;
|
|
2633
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2634
2564
|
}, "strip", z.ZodTypeAny, {
|
|
2635
2565
|
country: string;
|
|
2636
2566
|
vendor: import("../onramp").OnrampVendor;
|
|
2637
2567
|
paymentMethod: string;
|
|
2638
2568
|
redirectUrl: string;
|
|
2639
2569
|
ipAddress?: string | undefined;
|
|
2640
|
-
stripeAmountInCents?: number | undefined;
|
|
2641
2570
|
}, {
|
|
2642
2571
|
country: string;
|
|
2643
2572
|
vendor: import("../onramp").OnrampVendor;
|
|
2644
2573
|
paymentMethod: string;
|
|
2645
2574
|
redirectUrl: string;
|
|
2646
2575
|
ipAddress?: string | undefined;
|
|
2647
|
-
stripeAmountInCents?: number | undefined;
|
|
2648
2576
|
}>>;
|
|
2649
2577
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2650
2578
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -2865,7 +2793,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2865
2793
|
paymentMethod: string;
|
|
2866
2794
|
redirectUrl: string;
|
|
2867
2795
|
ipAddress?: string | undefined;
|
|
2868
|
-
stripeAmountInCents?: number | undefined;
|
|
2869
2796
|
} | null;
|
|
2870
2797
|
creatorAddress: string | null;
|
|
2871
2798
|
partnerId: string | null;
|
|
@@ -2930,7 +2857,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2930
2857
|
paymentMethod: string;
|
|
2931
2858
|
redirectUrl: string;
|
|
2932
2859
|
ipAddress?: string | undefined;
|
|
2933
|
-
stripeAmountInCents?: number | undefined;
|
|
2934
2860
|
} | null;
|
|
2935
2861
|
creatorAddress: string | null;
|
|
2936
2862
|
partnerId: string | null;
|
|
@@ -2966,21 +2892,18 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2966
2892
|
paymentMethod: z.ZodString;
|
|
2967
2893
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2968
2894
|
redirectUrl: z.ZodString;
|
|
2969
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2970
2895
|
}, "strip", z.ZodTypeAny, {
|
|
2971
2896
|
country: string;
|
|
2972
2897
|
vendor: import("../onramp").OnrampVendor;
|
|
2973
2898
|
paymentMethod: string;
|
|
2974
2899
|
redirectUrl: string;
|
|
2975
2900
|
ipAddress?: string | undefined;
|
|
2976
|
-
stripeAmountInCents?: number | undefined;
|
|
2977
2901
|
}, {
|
|
2978
2902
|
country: string;
|
|
2979
2903
|
vendor: import("../onramp").OnrampVendor;
|
|
2980
2904
|
paymentMethod: string;
|
|
2981
2905
|
redirectUrl: string;
|
|
2982
2906
|
ipAddress?: string | undefined;
|
|
2983
|
-
stripeAmountInCents?: number | undefined;
|
|
2984
2907
|
}>>;
|
|
2985
2908
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2986
2909
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -3201,7 +3124,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3201
3124
|
paymentMethod: string;
|
|
3202
3125
|
redirectUrl: string;
|
|
3203
3126
|
ipAddress?: string | undefined;
|
|
3204
|
-
stripeAmountInCents?: number | undefined;
|
|
3205
3127
|
} | null;
|
|
3206
3128
|
creatorAddress: string | null;
|
|
3207
3129
|
partnerId: string | null;
|
|
@@ -3266,7 +3188,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3266
3188
|
paymentMethod: string;
|
|
3267
3189
|
redirectUrl: string;
|
|
3268
3190
|
ipAddress?: string | undefined;
|
|
3269
|
-
stripeAmountInCents?: number | undefined;
|
|
3270
3191
|
} | null;
|
|
3271
3192
|
creatorAddress: string | null;
|
|
3272
3193
|
partnerId: string | null;
|
|
@@ -3302,21 +3223,18 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3302
3223
|
paymentMethod: z.ZodString;
|
|
3303
3224
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
3304
3225
|
redirectUrl: z.ZodString;
|
|
3305
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
3306
3226
|
}, "strip", z.ZodTypeAny, {
|
|
3307
3227
|
country: string;
|
|
3308
3228
|
vendor: import("../onramp").OnrampVendor;
|
|
3309
3229
|
paymentMethod: string;
|
|
3310
3230
|
redirectUrl: string;
|
|
3311
3231
|
ipAddress?: string | undefined;
|
|
3312
|
-
stripeAmountInCents?: number | undefined;
|
|
3313
3232
|
}, {
|
|
3314
3233
|
country: string;
|
|
3315
3234
|
vendor: import("../onramp").OnrampVendor;
|
|
3316
3235
|
paymentMethod: string;
|
|
3317
3236
|
redirectUrl: string;
|
|
3318
3237
|
ipAddress?: string | undefined;
|
|
3319
|
-
stripeAmountInCents?: number | undefined;
|
|
3320
3238
|
}>>;
|
|
3321
3239
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
3322
3240
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -3513,7 +3431,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3513
3431
|
paymentMethod: string;
|
|
3514
3432
|
redirectUrl: string;
|
|
3515
3433
|
ipAddress?: string | undefined;
|
|
3516
|
-
stripeAmountInCents?: number | undefined;
|
|
3517
3434
|
} | null;
|
|
3518
3435
|
creatorAddress: string | null;
|
|
3519
3436
|
partnerId: string | null;
|
|
@@ -3575,7 +3492,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3575
3492
|
paymentMethod: string;
|
|
3576
3493
|
redirectUrl: string;
|
|
3577
3494
|
ipAddress?: string | undefined;
|
|
3578
|
-
stripeAmountInCents?: number | undefined;
|
|
3579
3495
|
} | null;
|
|
3580
3496
|
creatorAddress: string | null;
|
|
3581
3497
|
partnerId: string | null;
|
|
@@ -3640,7 +3556,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3640
3556
|
paymentMethod: string;
|
|
3641
3557
|
redirectUrl: string;
|
|
3642
3558
|
ipAddress?: string | undefined;
|
|
3643
|
-
stripeAmountInCents?: number | undefined;
|
|
3644
3559
|
} | null;
|
|
3645
3560
|
creatorAddress: string | null;
|
|
3646
3561
|
partnerId: string | null;
|
|
@@ -3713,7 +3628,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3713
3628
|
paymentMethod: string;
|
|
3714
3629
|
redirectUrl: string;
|
|
3715
3630
|
ipAddress?: string | undefined;
|
|
3716
|
-
stripeAmountInCents?: number | undefined;
|
|
3717
3631
|
} | null;
|
|
3718
3632
|
creatorAddress: string | null;
|
|
3719
3633
|
partnerId: string | null;
|
|
@@ -3728,8 +3642,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3728
3642
|
} | null;
|
|
3729
3643
|
payload: {
|
|
3730
3644
|
contractAddress: string;
|
|
3731
|
-
tokenId: number | null;
|
|
3732
|
-
contractType: import("../nft").NftType;
|
|
3733
3645
|
nftPrice: string;
|
|
3734
3646
|
};
|
|
3735
3647
|
} | {
|
|
@@ -3780,7 +3692,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3780
3692
|
paymentMethod: string;
|
|
3781
3693
|
redirectUrl: string;
|
|
3782
3694
|
ipAddress?: string | undefined;
|
|
3783
|
-
stripeAmountInCents?: number | undefined;
|
|
3784
3695
|
} | null;
|
|
3785
3696
|
creatorAddress: string | null;
|
|
3786
3697
|
partnerId: string | null;
|
|
@@ -3845,7 +3756,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3845
3756
|
paymentMethod: string;
|
|
3846
3757
|
redirectUrl: string;
|
|
3847
3758
|
ipAddress?: string | undefined;
|
|
3848
|
-
stripeAmountInCents?: number | undefined;
|
|
3849
3759
|
} | null;
|
|
3850
3760
|
creatorAddress: string | null;
|
|
3851
3761
|
partnerId: string | null;
|
|
@@ -3905,7 +3815,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3905
3815
|
paymentMethod: string;
|
|
3906
3816
|
redirectUrl: string;
|
|
3907
3817
|
ipAddress?: string | undefined;
|
|
3908
|
-
stripeAmountInCents?: number | undefined;
|
|
3909
3818
|
} | null;
|
|
3910
3819
|
creatorAddress: string | null;
|
|
3911
3820
|
partnerId: string | null;
|
|
@@ -3971,7 +3880,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3971
3880
|
paymentMethod: string;
|
|
3972
3881
|
redirectUrl: string;
|
|
3973
3882
|
ipAddress?: string | undefined;
|
|
3974
|
-
stripeAmountInCents?: number | undefined;
|
|
3975
3883
|
} | null;
|
|
3976
3884
|
creatorAddress: string | null;
|
|
3977
3885
|
partnerId: string | null;
|
|
@@ -4044,7 +3952,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4044
3952
|
paymentMethod: string;
|
|
4045
3953
|
redirectUrl: string;
|
|
4046
3954
|
ipAddress?: string | undefined;
|
|
4047
|
-
stripeAmountInCents?: number | undefined;
|
|
4048
3955
|
} | null;
|
|
4049
3956
|
creatorAddress: string | null;
|
|
4050
3957
|
partnerId: string | null;
|
|
@@ -4059,8 +3966,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4059
3966
|
} | null;
|
|
4060
3967
|
payload: {
|
|
4061
3968
|
contractAddress: string;
|
|
4062
|
-
tokenId: number | null;
|
|
4063
|
-
contractType: import("../nft").NftType;
|
|
4064
3969
|
nftPrice: string;
|
|
4065
3970
|
};
|
|
4066
3971
|
} | {
|
|
@@ -4111,7 +4016,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4111
4016
|
paymentMethod: string;
|
|
4112
4017
|
redirectUrl: string;
|
|
4113
4018
|
ipAddress?: string | undefined;
|
|
4114
|
-
stripeAmountInCents?: number | undefined;
|
|
4115
4019
|
} | null;
|
|
4116
4020
|
creatorAddress: string | null;
|
|
4117
4021
|
partnerId: string | null;
|
|
@@ -4176,7 +4080,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4176
4080
|
paymentMethod: string;
|
|
4177
4081
|
redirectUrl: string;
|
|
4178
4082
|
ipAddress?: string | undefined;
|
|
4179
|
-
stripeAmountInCents?: number | undefined;
|
|
4180
4083
|
} | null;
|
|
4181
4084
|
creatorAddress: string | null;
|
|
4182
4085
|
partnerId: string | null;
|
|
@@ -4236,7 +4139,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4236
4139
|
paymentMethod: string;
|
|
4237
4140
|
redirectUrl: string;
|
|
4238
4141
|
ipAddress?: string | undefined;
|
|
4239
|
-
stripeAmountInCents?: number | undefined;
|
|
4240
4142
|
} | null;
|
|
4241
4143
|
creatorAddress: string | null;
|
|
4242
4144
|
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
|
});
|