@b3dotfun/sdk 0.0.7 → 0.0.8
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/abis/signature-minting.d.ts +79 -0
- package/dist/cjs/anyspend/abis/signature-minting.js +45 -0
- package/dist/cjs/anyspend/constants/index.js +13 -10
- package/dist/cjs/anyspend/index.d.ts +4 -2
- package/dist/cjs/anyspend/index.js +4 -4
- package/dist/cjs/anyspend/react/components/AnySpend.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpend.js +69 -68
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +68 -66
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +4 -4
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +158 -101
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +3 -2
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +7 -5
- 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 +21 -20
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +7 -4
- package/dist/cjs/anyspend/react/components/AnyspendSignatureMint.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/AnyspendSignatureMint.js +77 -0
- 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 +52 -63
- package/dist/cjs/anyspend/react/components/common/OrderHistory.js +6 -6
- 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 +9 -9
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +15 -14
- 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 +26 -25
- 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/common/Warning.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/common/Warning.js +7 -0
- package/dist/cjs/anyspend/react/components/index.d.ts +2 -0
- package/dist/cjs/anyspend/react/components/index.js +5 -1
- 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/WebviewOnrampOrderStatus.js +0 -1
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.js +26 -25
- package/dist/cjs/anyspend/react/hooks/index.d.ts +1 -2
- package/dist/cjs/anyspend/react/hooks/index.js +1 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +3 -18
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +1 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +6 -6
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +14 -70
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +14 -70
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.js +3 -3
- package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.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/useSigMint.d.ts +140 -0
- package/dist/cjs/anyspend/react/hooks/useSigMint.js +39 -0
- 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 +7 -6
- package/dist/cjs/anyspend/services/anyspend.d.ts +9 -40
- package/dist/cjs/anyspend/services/anyspend.js +11 -24
- 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 +1 -1
- package/dist/cjs/anyspend/types/index.js +1 -1
- package/dist/cjs/anyspend/types/metadata.d.ts +26 -0
- package/dist/cjs/anyspend/types/metadata.js +16 -0
- package/dist/cjs/anyspend/types/nft.d.ts +7 -0
- package/dist/cjs/anyspend/types/nft.js +8 -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 +40 -200
- package/dist/cjs/anyspend/types/order.js +7 -12
- package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +98 -235
- 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 +63 -305
- 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 +49 -235
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +37 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.js +14 -9
- package/dist/cjs/anyspend/types/req-res/getTokenList.js +3 -3
- package/dist/cjs/anyspend/types/req-res/index.d.ts +0 -1
- package/dist/cjs/anyspend/types/req-res/index.js +0 -1
- package/dist/cjs/anyspend/types/signature-mint.d.ts +69 -0
- package/dist/cjs/anyspend/types/signature-mint.js +2 -0
- 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 -6
- package/dist/cjs/anyspend/utils/orderPayload.d.ts +3 -3
- package/dist/cjs/anyspend/utils/orderPayload.js +22 -8
- 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 +13 -3
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.d.ts +3 -3
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +17 -16
- 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.d.ts +14 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignIn.js +50 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +1 -2
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +12 -17
- 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 +0 -1
- 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.d.ts +7 -0
- package/dist/cjs/global-account/react/components/custom/Icon.js +52 -0
- package/dist/cjs/global-account/react/components/custom/ManageAccountButton.d.ts +4 -0
- package/dist/cjs/global-account/react/components/custom/ManageAccountButton.js +20 -0
- 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/components/ui/tooltip.js +1 -1
- 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 +8 -4
- package/dist/cjs/global-account/react/hooks/useB3EnsName.js +32 -23
- 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 +18 -1
- 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/index.d.ts +0 -0
- package/dist/cjs/index.js +2 -0
- 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 +4 -1
- package/dist/cjs/shared/constants/index.d.ts +1 -0
- package/dist/cjs/shared/constants/index.js +3 -2
- package/dist/cjs/shared/react/hooks/index.d.ts +1 -0
- package/dist/cjs/shared/react/hooks/index.js +17 -0
- package/dist/cjs/shared/react/hooks/useNavigation.d.ts +17 -0
- package/dist/cjs/shared/react/hooks/useNavigation.js +57 -0
- package/dist/cjs/shared/react/index.d.ts +1 -0
- package/dist/cjs/shared/react/index.js +17 -0
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.d.ts +2 -2
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.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/formatUsername.d.ts +1 -0
- package/dist/cjs/shared/utils/formatUsername.js +8 -0
- package/dist/cjs/shared/utils/index.d.ts +3 -1
- package/dist/cjs/shared/utils/index.js +4 -6
- 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/cjs/shared/utils/truncateAddress.d.ts +6 -0
- package/dist/cjs/shared/utils/truncateAddress.js +16 -0
- 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/abis/signature-minting.d.ts +79 -0
- package/dist/esm/anyspend/abis/signature-minting.js +42 -0
- package/dist/esm/anyspend/constants/index.js +13 -10
- package/dist/esm/anyspend/index.d.ts +4 -2
- package/dist/esm/anyspend/index.js +4 -4
- package/dist/esm/anyspend/react/components/AnySpend.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpend.js +23 -22
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +41 -39
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +4 -4
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +138 -81
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +3 -2
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +7 -5
- 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 +22 -21
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +7 -4
- package/dist/esm/anyspend/react/components/AnyspendSignatureMint.d.ts +8 -0
- package/dist/esm/anyspend/react/components/AnyspendSignatureMint.js +71 -0
- 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 +53 -64
- package/dist/esm/anyspend/react/components/common/OrderHistory.js +1 -1
- 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 +3 -3
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.d.ts +1 -1
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +9 -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 +14 -13
- 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/common/Warning.d.ts +3 -0
- package/dist/esm/anyspend/react/components/common/Warning.js +4 -0
- package/dist/esm/anyspend/react/components/index.d.ts +2 -0
- package/dist/esm/anyspend/react/components/index.js +2 -0
- 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/WebviewOnrampOrderStatus.js +0 -1
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.js +16 -15
- package/dist/esm/anyspend/react/hooks/index.d.ts +1 -2
- package/dist/esm/anyspend/react/hooks/index.js +1 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +3 -18
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +1 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +7 -7
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +14 -70
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +14 -70
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.js +3 -3
- package/dist/esm/anyspend/react/hooks/useAnyspendQuote.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/useSigMint.d.ts +140 -0
- package/dist/esm/anyspend/react/hooks/useSigMint.js +33 -0
- 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 +5 -4
- package/dist/esm/anyspend/services/anyspend.d.ts +9 -40
- package/dist/esm/anyspend/services/anyspend.js +12 -25
- 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 +1 -1
- package/dist/esm/anyspend/types/index.js +1 -1
- package/dist/esm/anyspend/types/metadata.d.ts +26 -0
- package/dist/esm/anyspend/types/metadata.js +11 -0
- package/dist/esm/anyspend/types/nft.d.ts +7 -0
- package/dist/esm/anyspend/types/nft.js +8 -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 +40 -200
- package/dist/esm/anyspend/types/order.js +7 -12
- package/dist/esm/anyspend/types/req-res/createOrder.d.ts +98 -235
- 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 +63 -305
- 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 +49 -235
- package/dist/esm/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/esm/anyspend/types/req-res/getQuote.d.ts +37 -0
- package/dist/esm/anyspend/types/req-res/getQuote.js +14 -9
- package/dist/esm/anyspend/types/req-res/getTokenList.js +3 -3
- package/dist/esm/anyspend/types/req-res/index.d.ts +0 -1
- package/dist/esm/anyspend/types/req-res/index.js +0 -1
- package/dist/esm/anyspend/types/signature-mint.d.ts +69 -0
- package/dist/esm/anyspend/types/signature-mint.js +1 -0
- 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 -6
- package/dist/esm/anyspend/utils/orderPayload.d.ts +3 -3
- package/dist/esm/anyspend/utils/orderPayload.js +23 -9
- 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 +14 -4
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.d.ts +3 -3
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +8 -7
- 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.d.ts +14 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignIn.js +44 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +1 -2
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +8 -13
- 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 +0 -1
- 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.d.ts +7 -0
- package/dist/esm/global-account/react/components/custom/Icon.js +50 -0
- package/dist/esm/global-account/react/components/custom/ManageAccountButton.d.ts +4 -0
- package/dist/esm/global-account/react/components/custom/ManageAccountButton.js +17 -0
- 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/components/ui/tooltip.js +1 -1
- 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 +8 -4
- package/dist/esm/global-account/react/hooks/useB3EnsName.js +34 -22
- 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 +18 -1
- 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/index.d.ts +0 -0
- package/dist/esm/index.js +2 -0
- 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 +4 -1
- package/dist/esm/shared/constants/index.d.ts +1 -0
- package/dist/esm/shared/constants/index.js +2 -1
- package/dist/esm/shared/react/hooks/index.d.ts +1 -0
- package/dist/esm/shared/react/hooks/index.js +1 -0
- package/dist/esm/shared/react/hooks/useNavigation.d.ts +17 -0
- package/dist/esm/shared/react/hooks/useNavigation.js +52 -0
- package/dist/esm/shared/react/index.d.ts +1 -0
- package/dist/esm/shared/react/index.js +1 -0
- package/dist/esm/shared/thirdweb/generated/sdk.gen.d.ts +2 -2
- package/dist/esm/shared/thirdweb/generated/sdk.gen.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/formatUsername.d.ts +1 -0
- package/dist/esm/shared/utils/formatUsername.js +5 -0
- package/dist/esm/shared/utils/index.d.ts +3 -1
- package/dist/esm/shared/utils/index.js +4 -5
- 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/esm/shared/utils/truncateAddress.d.ts +6 -0
- package/dist/esm/shared/utils/truncateAddress.js +12 -0
- package/dist/styles/index.css +1 -1
- package/dist/types/anyspend/abis/signature-minting.d.ts +79 -0
- package/dist/types/anyspend/index.d.ts +4 -2
- 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 +3 -2
- package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/types/anyspend/react/components/AnyspendSignatureMint.d.ts +8 -0
- 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/common/Warning.d.ts +3 -0
- package/dist/types/anyspend/react/components/index.d.ts +2 -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/index.d.ts +1 -2
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +3 -18
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +1 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +14 -70
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +14 -70
- package/dist/types/anyspend/react/hooks/useSigMint.d.ts +140 -0
- package/dist/types/anyspend/services/anyspend.d.ts +9 -40
- package/dist/types/anyspend/types/index.d.ts +1 -1
- package/dist/types/anyspend/types/metadata.d.ts +26 -0
- package/dist/types/anyspend/types/nft.d.ts +7 -0
- package/dist/types/anyspend/types/onramp.d.ts +3 -0
- package/dist/types/anyspend/types/order.d.ts +40 -200
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +98 -235
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +63 -305
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +49 -235
- package/dist/types/anyspend/types/req-res/getQuote.d.ts +37 -0
- package/dist/types/anyspend/types/req-res/index.d.ts +0 -1
- package/dist/types/anyspend/types/signature-mint.d.ts +69 -0
- 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/SignIn.d.ts +14 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +1 -2
- 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/custom/Icon.d.ts +7 -0
- package/dist/types/global-account/react/components/custom/ManageAccountButton.d.ts +4 -0
- 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 +8 -4
- 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 +18 -1
- package/dist/types/index.d.ts +0 -0
- package/dist/types/shared/constants/index.d.ts +1 -0
- package/dist/types/shared/react/hooks/index.d.ts +1 -0
- package/dist/types/shared/react/hooks/useNavigation.d.ts +17 -0
- package/dist/types/shared/react/index.d.ts +1 -0
- package/dist/types/shared/thirdweb/generated/sdk.gen.d.ts +2 -2
- package/dist/types/shared/utils/formatUsername.d.ts +1 -0
- package/dist/types/shared/utils/index.d.ts +3 -1
- package/dist/types/shared/utils/truncateAddress.d.ts +6 -0
- package/package.json +24 -4
- package/src/anyspend/README.md +12 -0
- package/src/anyspend/abis/abi-usdc-base.ts +97 -97
- package/src/anyspend/abis/erc20-staking.ts +51 -51
- package/src/anyspend/abis/signature-minting.ts +43 -0
- package/src/anyspend/constants/index.ts +13 -11
- package/src/anyspend/index.ts +4 -6
- package/src/anyspend/react/components/AnySpend.tsx +44 -39
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +46 -41
- package/src/anyspend/react/components/AnySpendCustom.tsx +214 -89
- package/src/anyspend/react/components/AnySpendNFT.tsx +11 -6
- package/src/anyspend/react/components/AnySpendNFTButton.tsx +1 -1
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +23 -22
- package/src/anyspend/react/components/AnySpendTournament.tsx +7 -4
- package/src/anyspend/react/components/AnyspendSignatureMint.tsx +147 -0
- package/src/anyspend/react/components/common/ChainTokenIcon.tsx +1 -1
- package/src/anyspend/react/components/common/OrderDetails.tsx +75 -77
- package/src/anyspend/react/components/common/OrderHistory.tsx +1 -1
- 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 +4 -4
- package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +9 -17
- 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 +16 -15
- package/src/anyspend/react/components/common/TokenBalance.tsx +2 -2
- package/src/anyspend/react/components/common/Warning.tsx +7 -0
- package/src/anyspend/react/components/index.ts +2 -0
- package/src/anyspend/react/components/modals/EnterRecipientModal.tsx +2 -2
- package/src/anyspend/react/components/webview/WebviewOnrampOrderStatus.tsx +0 -1
- package/src/anyspend/react/components/webview/WebviewOnrampPayment.tsx +18 -20
- package/src/anyspend/react/hooks/index.ts +1 -2
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +10 -20
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +9 -8
- 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 +6 -6
- 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/useSigMint.tsx +55 -0
- 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 +9 -4
- package/src/anyspend/services/anyspend.ts +21 -39
- 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 +1 -1
- package/src/anyspend/types/metadata.ts +41 -0
- package/src/anyspend/types/nft.ts +10 -7
- package/src/anyspend/types/onramp.ts +3 -2
- package/src/anyspend/types/order.ts +9 -16
- 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 +14 -9
- package/src/anyspend/types/req-res/getTokenList.ts +4 -4
- package/src/anyspend/types/req-res/index.ts +0 -1
- package/src/anyspend/types/signature-mint.ts +77 -0
- 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 -7
- package/src/anyspend/utils/orderPayload.ts +21 -9
- 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 +15 -6
- package/src/global-account/react/components/B3Provider/B3Provider.native.tsx +4 -4
- package/src/global-account/react/components/B3Provider/B3Provider.tsx +22 -20
- 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 +190 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3.tsx +16 -28
- 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 +0 -1
- 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 +102 -0
- package/src/global-account/react/components/custom/ManageAccountButton.tsx +33 -0
- 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 +2 -2
- 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 +43 -31
- 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 +23 -4
- 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/index.ts +1 -0
- 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 +6 -1
- package/src/shared/constants/index.ts +3 -1
- package/src/shared/react/hooks/index.ts +1 -0
- package/src/shared/react/hooks/useNavigation.ts +61 -0
- package/src/shared/react/index.ts +1 -0
- package/src/shared/thirdweb/generated/sdk.gen.ts +3 -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/formatUsername.ts +5 -0
- package/src/shared/utils/index.ts +4 -6
- 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/src/shared/utils/truncateAddress.ts +11 -0
- package/src/styles/index.css +5 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +0 -16
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.js +0 -39
- package/dist/cjs/anyspend/react/hooks/usePermitData.d.ts +0 -92
- package/dist/cjs/anyspend/react/hooks/usePermitData.js +0 -158
- package/dist/cjs/anyspend/types/permit.d.ts +0 -21
- package/dist/cjs/anyspend/types/permit.js +0 -11
- package/dist/cjs/anyspend/types/req-res/sendPermitData.d.ts +0 -66
- package/dist/cjs/anyspend/types/req-res/sendPermitData.js +0 -11
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +0 -16
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.js +0 -36
- package/dist/esm/anyspend/react/hooks/usePermitData.d.ts +0 -92
- package/dist/esm/anyspend/react/hooks/usePermitData.js +0 -154
- package/dist/esm/anyspend/types/permit.d.ts +0 -21
- package/dist/esm/anyspend/types/permit.js +0 -8
- package/dist/esm/anyspend/types/req-res/sendPermitData.d.ts +0 -66
- package/dist/esm/anyspend/types/req-res/sendPermitData.js +0 -8
- package/dist/types/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +0 -16
- package/dist/types/anyspend/react/hooks/usePermitData.d.ts +0 -92
- package/dist/types/anyspend/types/permit.d.ts +0 -21
- package/dist/types/anyspend/types/req-res/sendPermitData.d.ts +0 -66
- package/src/anyspend/react/hooks/useAnyspendSendPermitData.ts +0 -38
- package/src/anyspend/react/hooks/usePermitData.ts +0 -183
- package/src/anyspend/types/permit.ts +0 -10
- package/src/anyspend/types/req-res/sendPermitData.ts +0 -10
|
@@ -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,30 +254,39 @@ 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
|
} & {
|
|
267
275
|
type: z.ZodLiteral<OrderType.MintNFT>;
|
|
268
276
|
payload: z.ZodObject<{
|
|
269
277
|
contractAddress: z.ZodString;
|
|
278
|
+
tokenId: z.ZodNullable<z.ZodNumber>;
|
|
279
|
+
contractType: z.ZodNativeEnum<typeof import("../nft").NftType>;
|
|
270
280
|
nftPrice: z.ZodString;
|
|
271
281
|
}, "strip", z.ZodTypeAny, {
|
|
272
282
|
contractAddress: string;
|
|
283
|
+
tokenId: number | null;
|
|
284
|
+
contractType: import("../nft").NftType;
|
|
273
285
|
nftPrice: string;
|
|
274
286
|
}, {
|
|
275
287
|
contractAddress: string;
|
|
288
|
+
tokenId: number | null;
|
|
289
|
+
contractType: import("../nft").NftType;
|
|
276
290
|
nftPrice: string;
|
|
277
291
|
}>;
|
|
278
292
|
metadata: z.ZodObject<{
|
|
@@ -499,6 +513,8 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
499
513
|
srcAmount: string;
|
|
500
514
|
payload: {
|
|
501
515
|
contractAddress: string;
|
|
516
|
+
tokenId: number | null;
|
|
517
|
+
contractType: import("../nft").NftType;
|
|
502
518
|
nftPrice: string;
|
|
503
519
|
};
|
|
504
520
|
creatorAddress?: string | undefined;
|
|
@@ -509,6 +525,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
509
525
|
paymentMethod: string;
|
|
510
526
|
redirectUrl: string;
|
|
511
527
|
ipAddress?: string | undefined;
|
|
528
|
+
stripeAmountInCents?: number | undefined;
|
|
512
529
|
} | undefined;
|
|
513
530
|
}, {
|
|
514
531
|
type: OrderType.MintNFT;
|
|
@@ -556,6 +573,8 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
556
573
|
srcAmount: string;
|
|
557
574
|
payload: {
|
|
558
575
|
contractAddress: string;
|
|
576
|
+
tokenId: number | null;
|
|
577
|
+
contractType: import("../nft").NftType;
|
|
559
578
|
nftPrice: string;
|
|
560
579
|
};
|
|
561
580
|
creatorAddress?: string | undefined;
|
|
@@ -566,6 +585,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
566
585
|
paymentMethod: string;
|
|
567
586
|
redirectUrl: string;
|
|
568
587
|
ipAddress?: string | undefined;
|
|
588
|
+
stripeAmountInCents?: number | undefined;
|
|
569
589
|
} | undefined;
|
|
570
590
|
}>, z.ZodObject<{
|
|
571
591
|
recipientAddress: z.ZodString;
|
|
@@ -581,18 +601,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
581
601
|
paymentMethod: z.ZodString;
|
|
582
602
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
583
603
|
redirectUrl: z.ZodString;
|
|
604
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
584
605
|
}, "strip", z.ZodTypeAny, {
|
|
585
606
|
country: string;
|
|
586
607
|
vendor: import("../onramp").OnrampVendor;
|
|
587
608
|
paymentMethod: string;
|
|
588
609
|
redirectUrl: string;
|
|
589
610
|
ipAddress?: string | undefined;
|
|
611
|
+
stripeAmountInCents?: number | undefined;
|
|
590
612
|
}, {
|
|
591
613
|
country: string;
|
|
592
614
|
vendor: import("../onramp").OnrampVendor;
|
|
593
615
|
paymentMethod: string;
|
|
594
616
|
redirectUrl: string;
|
|
595
617
|
ipAddress?: string | undefined;
|
|
618
|
+
stripeAmountInCents?: number | undefined;
|
|
596
619
|
}>>;
|
|
597
620
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
598
621
|
} & {
|
|
@@ -791,6 +814,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
791
814
|
paymentMethod: string;
|
|
792
815
|
redirectUrl: string;
|
|
793
816
|
ipAddress?: string | undefined;
|
|
817
|
+
stripeAmountInCents?: number | undefined;
|
|
794
818
|
} | undefined;
|
|
795
819
|
}, {
|
|
796
820
|
type: OrderType.JoinTournament;
|
|
@@ -840,6 +864,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
840
864
|
paymentMethod: string;
|
|
841
865
|
redirectUrl: string;
|
|
842
866
|
ipAddress?: string | undefined;
|
|
867
|
+
stripeAmountInCents?: number | undefined;
|
|
843
868
|
} | undefined;
|
|
844
869
|
}>, z.ZodObject<{
|
|
845
870
|
recipientAddress: z.ZodString;
|
|
@@ -855,18 +880,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
855
880
|
paymentMethod: z.ZodString;
|
|
856
881
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
857
882
|
redirectUrl: z.ZodString;
|
|
883
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
858
884
|
}, "strip", z.ZodTypeAny, {
|
|
859
885
|
country: string;
|
|
860
886
|
vendor: import("../onramp").OnrampVendor;
|
|
861
887
|
paymentMethod: string;
|
|
862
888
|
redirectUrl: string;
|
|
863
889
|
ipAddress?: string | undefined;
|
|
890
|
+
stripeAmountInCents?: number | undefined;
|
|
864
891
|
}, {
|
|
865
892
|
country: string;
|
|
866
893
|
vendor: import("../onramp").OnrampVendor;
|
|
867
894
|
paymentMethod: string;
|
|
868
895
|
redirectUrl: string;
|
|
869
896
|
ipAddress?: string | undefined;
|
|
897
|
+
stripeAmountInCents?: number | undefined;
|
|
870
898
|
}>>;
|
|
871
899
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
872
900
|
} & {
|
|
@@ -1065,6 +1093,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1065
1093
|
paymentMethod: string;
|
|
1066
1094
|
redirectUrl: string;
|
|
1067
1095
|
ipAddress?: string | undefined;
|
|
1096
|
+
stripeAmountInCents?: number | undefined;
|
|
1068
1097
|
} | undefined;
|
|
1069
1098
|
}, {
|
|
1070
1099
|
type: OrderType.FundTournament;
|
|
@@ -1114,6 +1143,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1114
1143
|
paymentMethod: string;
|
|
1115
1144
|
redirectUrl: string;
|
|
1116
1145
|
ipAddress?: string | undefined;
|
|
1146
|
+
stripeAmountInCents?: number | undefined;
|
|
1117
1147
|
} | undefined;
|
|
1118
1148
|
}>, z.ZodObject<{
|
|
1119
1149
|
recipientAddress: z.ZodString;
|
|
@@ -1129,18 +1159,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1129
1159
|
paymentMethod: z.ZodString;
|
|
1130
1160
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1131
1161
|
redirectUrl: z.ZodString;
|
|
1162
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1132
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1133
1164
|
country: string;
|
|
1134
1165
|
vendor: import("../onramp").OnrampVendor;
|
|
1135
1166
|
paymentMethod: string;
|
|
1136
1167
|
redirectUrl: string;
|
|
1137
1168
|
ipAddress?: string | undefined;
|
|
1169
|
+
stripeAmountInCents?: number | undefined;
|
|
1138
1170
|
}, {
|
|
1139
1171
|
country: string;
|
|
1140
1172
|
vendor: import("../onramp").OnrampVendor;
|
|
1141
1173
|
paymentMethod: string;
|
|
1142
1174
|
redirectUrl: string;
|
|
1143
1175
|
ipAddress?: string | undefined;
|
|
1176
|
+
stripeAmountInCents?: number | undefined;
|
|
1144
1177
|
}>>;
|
|
1145
1178
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
1146
1179
|
} & {
|
|
@@ -1317,6 +1350,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1317
1350
|
paymentMethod: string;
|
|
1318
1351
|
redirectUrl: string;
|
|
1319
1352
|
ipAddress?: string | undefined;
|
|
1353
|
+
stripeAmountInCents?: number | undefined;
|
|
1320
1354
|
} | undefined;
|
|
1321
1355
|
}, {
|
|
1322
1356
|
type: OrderType.Custom;
|
|
@@ -1363,6 +1397,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1363
1397
|
paymentMethod: string;
|
|
1364
1398
|
redirectUrl: string;
|
|
1365
1399
|
ipAddress?: string | undefined;
|
|
1400
|
+
stripeAmountInCents?: number | undefined;
|
|
1366
1401
|
} | undefined;
|
|
1367
1402
|
}>]>;
|
|
1368
1403
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1408,6 +1443,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1408
1443
|
paymentMethod: string;
|
|
1409
1444
|
redirectUrl: string;
|
|
1410
1445
|
ipAddress?: string | undefined;
|
|
1446
|
+
stripeAmountInCents?: number | undefined;
|
|
1411
1447
|
} | undefined;
|
|
1412
1448
|
} | {
|
|
1413
1449
|
type: OrderType.MintNFT;
|
|
@@ -1455,6 +1491,8 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1455
1491
|
srcAmount: string;
|
|
1456
1492
|
payload: {
|
|
1457
1493
|
contractAddress: string;
|
|
1494
|
+
tokenId: number | null;
|
|
1495
|
+
contractType: import("../nft").NftType;
|
|
1458
1496
|
nftPrice: string;
|
|
1459
1497
|
};
|
|
1460
1498
|
creatorAddress?: string | undefined;
|
|
@@ -1465,6 +1503,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1465
1503
|
paymentMethod: string;
|
|
1466
1504
|
redirectUrl: string;
|
|
1467
1505
|
ipAddress?: string | undefined;
|
|
1506
|
+
stripeAmountInCents?: number | undefined;
|
|
1468
1507
|
} | undefined;
|
|
1469
1508
|
} | {
|
|
1470
1509
|
type: OrderType.JoinTournament;
|
|
@@ -1514,6 +1553,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1514
1553
|
paymentMethod: string;
|
|
1515
1554
|
redirectUrl: string;
|
|
1516
1555
|
ipAddress?: string | undefined;
|
|
1556
|
+
stripeAmountInCents?: number | undefined;
|
|
1517
1557
|
} | undefined;
|
|
1518
1558
|
} | {
|
|
1519
1559
|
type: OrderType.FundTournament;
|
|
@@ -1563,6 +1603,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1563
1603
|
paymentMethod: string;
|
|
1564
1604
|
redirectUrl: string;
|
|
1565
1605
|
ipAddress?: string | undefined;
|
|
1606
|
+
stripeAmountInCents?: number | undefined;
|
|
1566
1607
|
} | undefined;
|
|
1567
1608
|
} | {
|
|
1568
1609
|
type: OrderType.Custom;
|
|
@@ -1609,6 +1650,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1609
1650
|
paymentMethod: string;
|
|
1610
1651
|
redirectUrl: string;
|
|
1611
1652
|
ipAddress?: string | undefined;
|
|
1653
|
+
stripeAmountInCents?: number | undefined;
|
|
1612
1654
|
} | undefined;
|
|
1613
1655
|
};
|
|
1614
1656
|
}, {
|
|
@@ -1654,6 +1696,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1654
1696
|
paymentMethod: string;
|
|
1655
1697
|
redirectUrl: string;
|
|
1656
1698
|
ipAddress?: string | undefined;
|
|
1699
|
+
stripeAmountInCents?: number | undefined;
|
|
1657
1700
|
} | undefined;
|
|
1658
1701
|
} | {
|
|
1659
1702
|
type: OrderType.MintNFT;
|
|
@@ -1701,6 +1744,8 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1701
1744
|
srcAmount: string;
|
|
1702
1745
|
payload: {
|
|
1703
1746
|
contractAddress: string;
|
|
1747
|
+
tokenId: number | null;
|
|
1748
|
+
contractType: import("../nft").NftType;
|
|
1704
1749
|
nftPrice: string;
|
|
1705
1750
|
};
|
|
1706
1751
|
creatorAddress?: string | undefined;
|
|
@@ -1711,6 +1756,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1711
1756
|
paymentMethod: string;
|
|
1712
1757
|
redirectUrl: string;
|
|
1713
1758
|
ipAddress?: string | undefined;
|
|
1759
|
+
stripeAmountInCents?: number | undefined;
|
|
1714
1760
|
} | undefined;
|
|
1715
1761
|
} | {
|
|
1716
1762
|
type: OrderType.JoinTournament;
|
|
@@ -1760,6 +1806,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1760
1806
|
paymentMethod: string;
|
|
1761
1807
|
redirectUrl: string;
|
|
1762
1808
|
ipAddress?: string | undefined;
|
|
1809
|
+
stripeAmountInCents?: number | undefined;
|
|
1763
1810
|
} | undefined;
|
|
1764
1811
|
} | {
|
|
1765
1812
|
type: OrderType.FundTournament;
|
|
@@ -1809,6 +1856,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1809
1856
|
paymentMethod: string;
|
|
1810
1857
|
redirectUrl: string;
|
|
1811
1858
|
ipAddress?: string | undefined;
|
|
1859
|
+
stripeAmountInCents?: number | undefined;
|
|
1812
1860
|
} | undefined;
|
|
1813
1861
|
} | {
|
|
1814
1862
|
type: OrderType.Custom;
|
|
@@ -1855,6 +1903,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1855
1903
|
paymentMethod: string;
|
|
1856
1904
|
redirectUrl: string;
|
|
1857
1905
|
ipAddress?: string | undefined;
|
|
1906
|
+
stripeAmountInCents?: number | undefined;
|
|
1858
1907
|
} | undefined;
|
|
1859
1908
|
};
|
|
1860
1909
|
}>;
|
|
@@ -1881,42 +1930,26 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
1881
1930
|
paymentMethod: z.ZodString;
|
|
1882
1931
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1883
1932
|
redirectUrl: z.ZodString;
|
|
1933
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1884
1934
|
}, "strip", z.ZodTypeAny, {
|
|
1885
1935
|
country: string;
|
|
1886
1936
|
vendor: import("../onramp").OnrampVendor;
|
|
1887
1937
|
paymentMethod: string;
|
|
1888
1938
|
redirectUrl: string;
|
|
1889
1939
|
ipAddress?: string | undefined;
|
|
1940
|
+
stripeAmountInCents?: number | undefined;
|
|
1890
1941
|
}, {
|
|
1891
1942
|
country: string;
|
|
1892
1943
|
vendor: import("../onramp").OnrampVendor;
|
|
1893
1944
|
paymentMethod: string;
|
|
1894
1945
|
redirectUrl: string;
|
|
1895
1946
|
ipAddress?: string | undefined;
|
|
1947
|
+
stripeAmountInCents?: number | undefined;
|
|
1896
1948
|
}>>;
|
|
1897
1949
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1898
1950
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
1899
1951
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
1900
1952
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
1901
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
1902
|
-
ownerAddress: z.ZodString;
|
|
1903
|
-
deadline: z.ZodNumber;
|
|
1904
|
-
v: z.ZodNumber;
|
|
1905
|
-
r: z.ZodString;
|
|
1906
|
-
s: z.ZodString;
|
|
1907
|
-
}, "strip", z.ZodTypeAny, {
|
|
1908
|
-
ownerAddress: string;
|
|
1909
|
-
deadline: number;
|
|
1910
|
-
v: number;
|
|
1911
|
-
r: string;
|
|
1912
|
-
s: string;
|
|
1913
|
-
}, {
|
|
1914
|
-
ownerAddress: string;
|
|
1915
|
-
deadline: number;
|
|
1916
|
-
v: number;
|
|
1917
|
-
r: string;
|
|
1918
|
-
s: string;
|
|
1919
|
-
}>>;
|
|
1920
1953
|
} & {
|
|
1921
1954
|
type: z.ZodLiteral<OrderType.Swap>;
|
|
1922
1955
|
payload: z.ZodObject<{
|
|
@@ -2079,18 +2112,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2079
2112
|
paymentMethod: string;
|
|
2080
2113
|
redirectUrl: string;
|
|
2081
2114
|
ipAddress?: string | undefined;
|
|
2115
|
+
stripeAmountInCents?: number | undefined;
|
|
2082
2116
|
} | null;
|
|
2083
2117
|
creatorAddress: string | null;
|
|
2084
2118
|
partnerId: string | null;
|
|
2085
2119
|
oneClickBuyUrl: string | null;
|
|
2086
2120
|
stripePaymentIntentId: string | null;
|
|
2087
|
-
permit: {
|
|
2088
|
-
ownerAddress: string;
|
|
2089
|
-
deadline: number;
|
|
2090
|
-
v: number;
|
|
2091
|
-
r: string;
|
|
2092
|
-
s: string;
|
|
2093
|
-
} | null;
|
|
2094
2121
|
payload: {
|
|
2095
2122
|
expectedDstAmount: string;
|
|
2096
2123
|
actualDstAmount: string | null;
|
|
@@ -2137,18 +2164,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2137
2164
|
paymentMethod: string;
|
|
2138
2165
|
redirectUrl: string;
|
|
2139
2166
|
ipAddress?: string | undefined;
|
|
2167
|
+
stripeAmountInCents?: number | undefined;
|
|
2140
2168
|
} | null;
|
|
2141
2169
|
creatorAddress: string | null;
|
|
2142
2170
|
partnerId: string | null;
|
|
2143
2171
|
oneClickBuyUrl: string | null;
|
|
2144
2172
|
stripePaymentIntentId: string | null;
|
|
2145
|
-
permit: {
|
|
2146
|
-
ownerAddress: string;
|
|
2147
|
-
deadline: number;
|
|
2148
|
-
v: number;
|
|
2149
|
-
r: string;
|
|
2150
|
-
s: string;
|
|
2151
|
-
} | null;
|
|
2152
2173
|
payload: {
|
|
2153
2174
|
expectedDstAmount: string;
|
|
2154
2175
|
actualDstAmount: string | null;
|
|
@@ -2172,52 +2193,42 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2172
2193
|
paymentMethod: z.ZodString;
|
|
2173
2194
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2174
2195
|
redirectUrl: z.ZodString;
|
|
2196
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2175
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2176
2198
|
country: string;
|
|
2177
2199
|
vendor: import("../onramp").OnrampVendor;
|
|
2178
2200
|
paymentMethod: string;
|
|
2179
2201
|
redirectUrl: string;
|
|
2180
2202
|
ipAddress?: string | undefined;
|
|
2203
|
+
stripeAmountInCents?: number | undefined;
|
|
2181
2204
|
}, {
|
|
2182
2205
|
country: string;
|
|
2183
2206
|
vendor: import("../onramp").OnrampVendor;
|
|
2184
2207
|
paymentMethod: string;
|
|
2185
2208
|
redirectUrl: string;
|
|
2186
2209
|
ipAddress?: string | undefined;
|
|
2210
|
+
stripeAmountInCents?: number | undefined;
|
|
2187
2211
|
}>>;
|
|
2188
2212
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2189
2213
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
2190
2214
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
2191
2215
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
2192
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
2193
|
-
ownerAddress: z.ZodString;
|
|
2194
|
-
deadline: z.ZodNumber;
|
|
2195
|
-
v: z.ZodNumber;
|
|
2196
|
-
r: z.ZodString;
|
|
2197
|
-
s: z.ZodString;
|
|
2198
|
-
}, "strip", z.ZodTypeAny, {
|
|
2199
|
-
ownerAddress: string;
|
|
2200
|
-
deadline: number;
|
|
2201
|
-
v: number;
|
|
2202
|
-
r: string;
|
|
2203
|
-
s: string;
|
|
2204
|
-
}, {
|
|
2205
|
-
ownerAddress: string;
|
|
2206
|
-
deadline: number;
|
|
2207
|
-
v: number;
|
|
2208
|
-
r: string;
|
|
2209
|
-
s: string;
|
|
2210
|
-
}>>;
|
|
2211
2216
|
} & {
|
|
2212
2217
|
type: z.ZodLiteral<OrderType.MintNFT>;
|
|
2213
2218
|
payload: z.ZodObject<{
|
|
2214
2219
|
contractAddress: z.ZodString;
|
|
2220
|
+
tokenId: z.ZodNullable<z.ZodNumber>;
|
|
2221
|
+
contractType: z.ZodNativeEnum<typeof import("../nft").NftType>;
|
|
2215
2222
|
nftPrice: z.ZodString;
|
|
2216
2223
|
}, "strip", z.ZodTypeAny, {
|
|
2217
2224
|
contractAddress: string;
|
|
2225
|
+
tokenId: number | null;
|
|
2226
|
+
contractType: import("../nft").NftType;
|
|
2218
2227
|
nftPrice: string;
|
|
2219
2228
|
}, {
|
|
2220
2229
|
contractAddress: string;
|
|
2230
|
+
tokenId: number | null;
|
|
2231
|
+
contractType: import("../nft").NftType;
|
|
2221
2232
|
nftPrice: string;
|
|
2222
2233
|
}>;
|
|
2223
2234
|
metadata: z.ZodObject<{
|
|
@@ -2454,20 +2465,16 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2454
2465
|
paymentMethod: string;
|
|
2455
2466
|
redirectUrl: string;
|
|
2456
2467
|
ipAddress?: string | undefined;
|
|
2468
|
+
stripeAmountInCents?: number | undefined;
|
|
2457
2469
|
} | null;
|
|
2458
2470
|
creatorAddress: string | null;
|
|
2459
2471
|
partnerId: string | null;
|
|
2460
2472
|
oneClickBuyUrl: string | null;
|
|
2461
2473
|
stripePaymentIntentId: string | null;
|
|
2462
|
-
permit: {
|
|
2463
|
-
ownerAddress: string;
|
|
2464
|
-
deadline: number;
|
|
2465
|
-
v: number;
|
|
2466
|
-
r: string;
|
|
2467
|
-
s: string;
|
|
2468
|
-
} | null;
|
|
2469
2474
|
payload: {
|
|
2470
2475
|
contractAddress: string;
|
|
2476
|
+
tokenId: number | null;
|
|
2477
|
+
contractType: import("../nft").NftType;
|
|
2471
2478
|
nftPrice: string;
|
|
2472
2479
|
};
|
|
2473
2480
|
}, {
|
|
@@ -2526,20 +2533,16 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2526
2533
|
paymentMethod: string;
|
|
2527
2534
|
redirectUrl: string;
|
|
2528
2535
|
ipAddress?: string | undefined;
|
|
2536
|
+
stripeAmountInCents?: number | undefined;
|
|
2529
2537
|
} | null;
|
|
2530
2538
|
creatorAddress: string | null;
|
|
2531
2539
|
partnerId: string | null;
|
|
2532
2540
|
oneClickBuyUrl: string | null;
|
|
2533
2541
|
stripePaymentIntentId: string | null;
|
|
2534
|
-
permit: {
|
|
2535
|
-
ownerAddress: string;
|
|
2536
|
-
deadline: number;
|
|
2537
|
-
v: number;
|
|
2538
|
-
r: string;
|
|
2539
|
-
s: string;
|
|
2540
|
-
} | null;
|
|
2541
2542
|
payload: {
|
|
2542
2543
|
contractAddress: string;
|
|
2544
|
+
tokenId: number | null;
|
|
2545
|
+
contractType: import("../nft").NftType;
|
|
2543
2546
|
nftPrice: string;
|
|
2544
2547
|
};
|
|
2545
2548
|
}>, z.ZodObject<{
|
|
@@ -2561,42 +2564,26 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2561
2564
|
paymentMethod: z.ZodString;
|
|
2562
2565
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2563
2566
|
redirectUrl: z.ZodString;
|
|
2567
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2564
2568
|
}, "strip", z.ZodTypeAny, {
|
|
2565
2569
|
country: string;
|
|
2566
2570
|
vendor: import("../onramp").OnrampVendor;
|
|
2567
2571
|
paymentMethod: string;
|
|
2568
2572
|
redirectUrl: string;
|
|
2569
2573
|
ipAddress?: string | undefined;
|
|
2574
|
+
stripeAmountInCents?: number | undefined;
|
|
2570
2575
|
}, {
|
|
2571
2576
|
country: string;
|
|
2572
2577
|
vendor: import("../onramp").OnrampVendor;
|
|
2573
2578
|
paymentMethod: string;
|
|
2574
2579
|
redirectUrl: string;
|
|
2575
2580
|
ipAddress?: string | undefined;
|
|
2581
|
+
stripeAmountInCents?: number | undefined;
|
|
2576
2582
|
}>>;
|
|
2577
2583
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2578
2584
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
2579
2585
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
2580
2586
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
2581
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
2582
|
-
ownerAddress: z.ZodString;
|
|
2583
|
-
deadline: z.ZodNumber;
|
|
2584
|
-
v: z.ZodNumber;
|
|
2585
|
-
r: z.ZodString;
|
|
2586
|
-
s: z.ZodString;
|
|
2587
|
-
}, "strip", z.ZodTypeAny, {
|
|
2588
|
-
ownerAddress: string;
|
|
2589
|
-
deadline: number;
|
|
2590
|
-
v: number;
|
|
2591
|
-
r: string;
|
|
2592
|
-
s: string;
|
|
2593
|
-
}, {
|
|
2594
|
-
ownerAddress: string;
|
|
2595
|
-
deadline: number;
|
|
2596
|
-
v: number;
|
|
2597
|
-
r: string;
|
|
2598
|
-
s: string;
|
|
2599
|
-
}>>;
|
|
2600
2587
|
} & {
|
|
2601
2588
|
type: z.ZodLiteral<OrderType.JoinTournament>;
|
|
2602
2589
|
payload: z.ZodObject<{
|
|
@@ -2793,18 +2780,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2793
2780
|
paymentMethod: string;
|
|
2794
2781
|
redirectUrl: string;
|
|
2795
2782
|
ipAddress?: string | undefined;
|
|
2783
|
+
stripeAmountInCents?: number | undefined;
|
|
2796
2784
|
} | null;
|
|
2797
2785
|
creatorAddress: string | null;
|
|
2798
2786
|
partnerId: string | null;
|
|
2799
2787
|
oneClickBuyUrl: string | null;
|
|
2800
2788
|
stripePaymentIntentId: string | null;
|
|
2801
|
-
permit: {
|
|
2802
|
-
ownerAddress: string;
|
|
2803
|
-
deadline: number;
|
|
2804
|
-
v: number;
|
|
2805
|
-
r: string;
|
|
2806
|
-
s: string;
|
|
2807
|
-
} | null;
|
|
2808
2789
|
payload: {
|
|
2809
2790
|
contractAddress: string;
|
|
2810
2791
|
entryPrice: string;
|
|
@@ -2857,18 +2838,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2857
2838
|
paymentMethod: string;
|
|
2858
2839
|
redirectUrl: string;
|
|
2859
2840
|
ipAddress?: string | undefined;
|
|
2841
|
+
stripeAmountInCents?: number | undefined;
|
|
2860
2842
|
} | null;
|
|
2861
2843
|
creatorAddress: string | null;
|
|
2862
2844
|
partnerId: string | null;
|
|
2863
2845
|
oneClickBuyUrl: string | null;
|
|
2864
2846
|
stripePaymentIntentId: string | null;
|
|
2865
|
-
permit: {
|
|
2866
|
-
ownerAddress: string;
|
|
2867
|
-
deadline: number;
|
|
2868
|
-
v: number;
|
|
2869
|
-
r: string;
|
|
2870
|
-
s: string;
|
|
2871
|
-
} | null;
|
|
2872
2847
|
payload: {
|
|
2873
2848
|
contractAddress: string;
|
|
2874
2849
|
entryPrice: string;
|
|
@@ -2892,42 +2867,26 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2892
2867
|
paymentMethod: z.ZodString;
|
|
2893
2868
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2894
2869
|
redirectUrl: z.ZodString;
|
|
2870
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2895
2871
|
}, "strip", z.ZodTypeAny, {
|
|
2896
2872
|
country: string;
|
|
2897
2873
|
vendor: import("../onramp").OnrampVendor;
|
|
2898
2874
|
paymentMethod: string;
|
|
2899
2875
|
redirectUrl: string;
|
|
2900
2876
|
ipAddress?: string | undefined;
|
|
2877
|
+
stripeAmountInCents?: number | undefined;
|
|
2901
2878
|
}, {
|
|
2902
2879
|
country: string;
|
|
2903
2880
|
vendor: import("../onramp").OnrampVendor;
|
|
2904
2881
|
paymentMethod: string;
|
|
2905
2882
|
redirectUrl: string;
|
|
2906
2883
|
ipAddress?: string | undefined;
|
|
2884
|
+
stripeAmountInCents?: number | undefined;
|
|
2907
2885
|
}>>;
|
|
2908
2886
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2909
2887
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
2910
2888
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
2911
2889
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
2912
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
2913
|
-
ownerAddress: z.ZodString;
|
|
2914
|
-
deadline: z.ZodNumber;
|
|
2915
|
-
v: z.ZodNumber;
|
|
2916
|
-
r: z.ZodString;
|
|
2917
|
-
s: z.ZodString;
|
|
2918
|
-
}, "strip", z.ZodTypeAny, {
|
|
2919
|
-
ownerAddress: string;
|
|
2920
|
-
deadline: number;
|
|
2921
|
-
v: number;
|
|
2922
|
-
r: string;
|
|
2923
|
-
s: string;
|
|
2924
|
-
}, {
|
|
2925
|
-
ownerAddress: string;
|
|
2926
|
-
deadline: number;
|
|
2927
|
-
v: number;
|
|
2928
|
-
r: string;
|
|
2929
|
-
s: string;
|
|
2930
|
-
}>>;
|
|
2931
2890
|
} & {
|
|
2932
2891
|
type: z.ZodLiteral<OrderType.FundTournament>;
|
|
2933
2892
|
payload: z.ZodObject<{
|
|
@@ -3124,18 +3083,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3124
3083
|
paymentMethod: string;
|
|
3125
3084
|
redirectUrl: string;
|
|
3126
3085
|
ipAddress?: string | undefined;
|
|
3086
|
+
stripeAmountInCents?: number | undefined;
|
|
3127
3087
|
} | null;
|
|
3128
3088
|
creatorAddress: string | null;
|
|
3129
3089
|
partnerId: string | null;
|
|
3130
3090
|
oneClickBuyUrl: string | null;
|
|
3131
3091
|
stripePaymentIntentId: string | null;
|
|
3132
|
-
permit: {
|
|
3133
|
-
ownerAddress: string;
|
|
3134
|
-
deadline: number;
|
|
3135
|
-
v: number;
|
|
3136
|
-
r: string;
|
|
3137
|
-
s: string;
|
|
3138
|
-
} | null;
|
|
3139
3092
|
payload: {
|
|
3140
3093
|
contractAddress: string;
|
|
3141
3094
|
fundAmount: string;
|
|
@@ -3188,18 +3141,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3188
3141
|
paymentMethod: string;
|
|
3189
3142
|
redirectUrl: string;
|
|
3190
3143
|
ipAddress?: string | undefined;
|
|
3144
|
+
stripeAmountInCents?: number | undefined;
|
|
3191
3145
|
} | null;
|
|
3192
3146
|
creatorAddress: string | null;
|
|
3193
3147
|
partnerId: string | null;
|
|
3194
3148
|
oneClickBuyUrl: string | null;
|
|
3195
3149
|
stripePaymentIntentId: string | null;
|
|
3196
|
-
permit: {
|
|
3197
|
-
ownerAddress: string;
|
|
3198
|
-
deadline: number;
|
|
3199
|
-
v: number;
|
|
3200
|
-
r: string;
|
|
3201
|
-
s: string;
|
|
3202
|
-
} | null;
|
|
3203
3150
|
payload: {
|
|
3204
3151
|
contractAddress: string;
|
|
3205
3152
|
fundAmount: string;
|
|
@@ -3223,42 +3170,26 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3223
3170
|
paymentMethod: z.ZodString;
|
|
3224
3171
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
3225
3172
|
redirectUrl: z.ZodString;
|
|
3173
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
3226
3174
|
}, "strip", z.ZodTypeAny, {
|
|
3227
3175
|
country: string;
|
|
3228
3176
|
vendor: import("../onramp").OnrampVendor;
|
|
3229
3177
|
paymentMethod: string;
|
|
3230
3178
|
redirectUrl: string;
|
|
3231
3179
|
ipAddress?: string | undefined;
|
|
3180
|
+
stripeAmountInCents?: number | undefined;
|
|
3232
3181
|
}, {
|
|
3233
3182
|
country: string;
|
|
3234
3183
|
vendor: import("../onramp").OnrampVendor;
|
|
3235
3184
|
paymentMethod: string;
|
|
3236
3185
|
redirectUrl: string;
|
|
3237
3186
|
ipAddress?: string | undefined;
|
|
3187
|
+
stripeAmountInCents?: number | undefined;
|
|
3238
3188
|
}>>;
|
|
3239
3189
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
3240
3190
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
3241
3191
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
3242
3192
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
3243
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
3244
|
-
ownerAddress: z.ZodString;
|
|
3245
|
-
deadline: z.ZodNumber;
|
|
3246
|
-
v: z.ZodNumber;
|
|
3247
|
-
r: z.ZodString;
|
|
3248
|
-
s: z.ZodString;
|
|
3249
|
-
}, "strip", z.ZodTypeAny, {
|
|
3250
|
-
ownerAddress: string;
|
|
3251
|
-
deadline: number;
|
|
3252
|
-
v: number;
|
|
3253
|
-
r: string;
|
|
3254
|
-
s: string;
|
|
3255
|
-
}, {
|
|
3256
|
-
ownerAddress: string;
|
|
3257
|
-
deadline: number;
|
|
3258
|
-
v: number;
|
|
3259
|
-
r: string;
|
|
3260
|
-
s: string;
|
|
3261
|
-
}>>;
|
|
3262
3193
|
} & {
|
|
3263
3194
|
type: z.ZodLiteral<OrderType.Custom>;
|
|
3264
3195
|
payload: z.ZodObject<{
|
|
@@ -3431,18 +3362,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3431
3362
|
paymentMethod: string;
|
|
3432
3363
|
redirectUrl: string;
|
|
3433
3364
|
ipAddress?: string | undefined;
|
|
3365
|
+
stripeAmountInCents?: number | undefined;
|
|
3434
3366
|
} | null;
|
|
3435
3367
|
creatorAddress: string | null;
|
|
3436
3368
|
partnerId: string | null;
|
|
3437
3369
|
oneClickBuyUrl: string | null;
|
|
3438
3370
|
stripePaymentIntentId: string | null;
|
|
3439
|
-
permit: {
|
|
3440
|
-
ownerAddress: string;
|
|
3441
|
-
deadline: number;
|
|
3442
|
-
v: number;
|
|
3443
|
-
r: string;
|
|
3444
|
-
s: string;
|
|
3445
|
-
} | null;
|
|
3446
3371
|
payload: {
|
|
3447
3372
|
data: string;
|
|
3448
3373
|
to: string;
|
|
@@ -3492,18 +3417,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3492
3417
|
paymentMethod: string;
|
|
3493
3418
|
redirectUrl: string;
|
|
3494
3419
|
ipAddress?: string | undefined;
|
|
3420
|
+
stripeAmountInCents?: number | undefined;
|
|
3495
3421
|
} | null;
|
|
3496
3422
|
creatorAddress: string | null;
|
|
3497
3423
|
partnerId: string | null;
|
|
3498
3424
|
oneClickBuyUrl: string | null;
|
|
3499
3425
|
stripePaymentIntentId: string | null;
|
|
3500
|
-
permit: {
|
|
3501
|
-
ownerAddress: string;
|
|
3502
|
-
deadline: number;
|
|
3503
|
-
v: number;
|
|
3504
|
-
r: string;
|
|
3505
|
-
s: string;
|
|
3506
|
-
} | null;
|
|
3507
3426
|
payload: {
|
|
3508
3427
|
data: string;
|
|
3509
3428
|
to: string;
|
|
@@ -3556,18 +3475,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3556
3475
|
paymentMethod: string;
|
|
3557
3476
|
redirectUrl: string;
|
|
3558
3477
|
ipAddress?: string | undefined;
|
|
3478
|
+
stripeAmountInCents?: number | undefined;
|
|
3559
3479
|
} | null;
|
|
3560
3480
|
creatorAddress: string | null;
|
|
3561
3481
|
partnerId: string | null;
|
|
3562
3482
|
oneClickBuyUrl: string | null;
|
|
3563
3483
|
stripePaymentIntentId: string | null;
|
|
3564
|
-
permit: {
|
|
3565
|
-
ownerAddress: string;
|
|
3566
|
-
deadline: number;
|
|
3567
|
-
v: number;
|
|
3568
|
-
r: string;
|
|
3569
|
-
s: string;
|
|
3570
|
-
} | null;
|
|
3571
3484
|
payload: {
|
|
3572
3485
|
expectedDstAmount: string;
|
|
3573
3486
|
actualDstAmount: string | null;
|
|
@@ -3628,20 +3541,16 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3628
3541
|
paymentMethod: string;
|
|
3629
3542
|
redirectUrl: string;
|
|
3630
3543
|
ipAddress?: string | undefined;
|
|
3544
|
+
stripeAmountInCents?: number | undefined;
|
|
3631
3545
|
} | null;
|
|
3632
3546
|
creatorAddress: string | null;
|
|
3633
3547
|
partnerId: string | null;
|
|
3634
3548
|
oneClickBuyUrl: string | null;
|
|
3635
3549
|
stripePaymentIntentId: string | null;
|
|
3636
|
-
permit: {
|
|
3637
|
-
ownerAddress: string;
|
|
3638
|
-
deadline: number;
|
|
3639
|
-
v: number;
|
|
3640
|
-
r: string;
|
|
3641
|
-
s: string;
|
|
3642
|
-
} | null;
|
|
3643
3550
|
payload: {
|
|
3644
3551
|
contractAddress: string;
|
|
3552
|
+
tokenId: number | null;
|
|
3553
|
+
contractType: import("../nft").NftType;
|
|
3645
3554
|
nftPrice: string;
|
|
3646
3555
|
};
|
|
3647
3556
|
} | {
|
|
@@ -3692,18 +3601,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3692
3601
|
paymentMethod: string;
|
|
3693
3602
|
redirectUrl: string;
|
|
3694
3603
|
ipAddress?: string | undefined;
|
|
3604
|
+
stripeAmountInCents?: number | undefined;
|
|
3695
3605
|
} | null;
|
|
3696
3606
|
creatorAddress: string | null;
|
|
3697
3607
|
partnerId: string | null;
|
|
3698
3608
|
oneClickBuyUrl: string | null;
|
|
3699
3609
|
stripePaymentIntentId: string | null;
|
|
3700
|
-
permit: {
|
|
3701
|
-
ownerAddress: string;
|
|
3702
|
-
deadline: number;
|
|
3703
|
-
v: number;
|
|
3704
|
-
r: string;
|
|
3705
|
-
s: string;
|
|
3706
|
-
} | null;
|
|
3707
3610
|
payload: {
|
|
3708
3611
|
contractAddress: string;
|
|
3709
3612
|
entryPrice: string;
|
|
@@ -3756,18 +3659,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3756
3659
|
paymentMethod: string;
|
|
3757
3660
|
redirectUrl: string;
|
|
3758
3661
|
ipAddress?: string | undefined;
|
|
3662
|
+
stripeAmountInCents?: number | undefined;
|
|
3759
3663
|
} | null;
|
|
3760
3664
|
creatorAddress: string | null;
|
|
3761
3665
|
partnerId: string | null;
|
|
3762
3666
|
oneClickBuyUrl: string | null;
|
|
3763
3667
|
stripePaymentIntentId: string | null;
|
|
3764
|
-
permit: {
|
|
3765
|
-
ownerAddress: string;
|
|
3766
|
-
deadline: number;
|
|
3767
|
-
v: number;
|
|
3768
|
-
r: string;
|
|
3769
|
-
s: string;
|
|
3770
|
-
} | null;
|
|
3771
3668
|
payload: {
|
|
3772
3669
|
contractAddress: string;
|
|
3773
3670
|
fundAmount: string;
|
|
@@ -3815,18 +3712,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3815
3712
|
paymentMethod: string;
|
|
3816
3713
|
redirectUrl: string;
|
|
3817
3714
|
ipAddress?: string | undefined;
|
|
3715
|
+
stripeAmountInCents?: number | undefined;
|
|
3818
3716
|
} | null;
|
|
3819
3717
|
creatorAddress: string | null;
|
|
3820
3718
|
partnerId: string | null;
|
|
3821
3719
|
oneClickBuyUrl: string | null;
|
|
3822
3720
|
stripePaymentIntentId: string | null;
|
|
3823
|
-
permit: {
|
|
3824
|
-
ownerAddress: string;
|
|
3825
|
-
deadline: number;
|
|
3826
|
-
v: number;
|
|
3827
|
-
r: string;
|
|
3828
|
-
s: string;
|
|
3829
|
-
} | null;
|
|
3830
3721
|
payload: {
|
|
3831
3722
|
data: string;
|
|
3832
3723
|
to: string;
|
|
@@ -3880,18 +3771,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3880
3771
|
paymentMethod: string;
|
|
3881
3772
|
redirectUrl: string;
|
|
3882
3773
|
ipAddress?: string | undefined;
|
|
3774
|
+
stripeAmountInCents?: number | undefined;
|
|
3883
3775
|
} | null;
|
|
3884
3776
|
creatorAddress: string | null;
|
|
3885
3777
|
partnerId: string | null;
|
|
3886
3778
|
oneClickBuyUrl: string | null;
|
|
3887
3779
|
stripePaymentIntentId: string | null;
|
|
3888
|
-
permit: {
|
|
3889
|
-
ownerAddress: string;
|
|
3890
|
-
deadline: number;
|
|
3891
|
-
v: number;
|
|
3892
|
-
r: string;
|
|
3893
|
-
s: string;
|
|
3894
|
-
} | null;
|
|
3895
3780
|
payload: {
|
|
3896
3781
|
expectedDstAmount: string;
|
|
3897
3782
|
actualDstAmount: string | null;
|
|
@@ -3952,20 +3837,16 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3952
3837
|
paymentMethod: string;
|
|
3953
3838
|
redirectUrl: string;
|
|
3954
3839
|
ipAddress?: string | undefined;
|
|
3840
|
+
stripeAmountInCents?: number | undefined;
|
|
3955
3841
|
} | null;
|
|
3956
3842
|
creatorAddress: string | null;
|
|
3957
3843
|
partnerId: string | null;
|
|
3958
3844
|
oneClickBuyUrl: string | null;
|
|
3959
3845
|
stripePaymentIntentId: string | null;
|
|
3960
|
-
permit: {
|
|
3961
|
-
ownerAddress: string;
|
|
3962
|
-
deadline: number;
|
|
3963
|
-
v: number;
|
|
3964
|
-
r: string;
|
|
3965
|
-
s: string;
|
|
3966
|
-
} | null;
|
|
3967
3846
|
payload: {
|
|
3968
3847
|
contractAddress: string;
|
|
3848
|
+
tokenId: number | null;
|
|
3849
|
+
contractType: import("../nft").NftType;
|
|
3969
3850
|
nftPrice: string;
|
|
3970
3851
|
};
|
|
3971
3852
|
} | {
|
|
@@ -4016,18 +3897,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4016
3897
|
paymentMethod: string;
|
|
4017
3898
|
redirectUrl: string;
|
|
4018
3899
|
ipAddress?: string | undefined;
|
|
3900
|
+
stripeAmountInCents?: number | undefined;
|
|
4019
3901
|
} | null;
|
|
4020
3902
|
creatorAddress: string | null;
|
|
4021
3903
|
partnerId: string | null;
|
|
4022
3904
|
oneClickBuyUrl: string | null;
|
|
4023
3905
|
stripePaymentIntentId: string | null;
|
|
4024
|
-
permit: {
|
|
4025
|
-
ownerAddress: string;
|
|
4026
|
-
deadline: number;
|
|
4027
|
-
v: number;
|
|
4028
|
-
r: string;
|
|
4029
|
-
s: string;
|
|
4030
|
-
} | null;
|
|
4031
3906
|
payload: {
|
|
4032
3907
|
contractAddress: string;
|
|
4033
3908
|
entryPrice: string;
|
|
@@ -4080,18 +3955,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4080
3955
|
paymentMethod: string;
|
|
4081
3956
|
redirectUrl: string;
|
|
4082
3957
|
ipAddress?: string | undefined;
|
|
3958
|
+
stripeAmountInCents?: number | undefined;
|
|
4083
3959
|
} | null;
|
|
4084
3960
|
creatorAddress: string | null;
|
|
4085
3961
|
partnerId: string | null;
|
|
4086
3962
|
oneClickBuyUrl: string | null;
|
|
4087
3963
|
stripePaymentIntentId: string | null;
|
|
4088
|
-
permit: {
|
|
4089
|
-
ownerAddress: string;
|
|
4090
|
-
deadline: number;
|
|
4091
|
-
v: number;
|
|
4092
|
-
r: string;
|
|
4093
|
-
s: string;
|
|
4094
|
-
} | null;
|
|
4095
3964
|
payload: {
|
|
4096
3965
|
contractAddress: string;
|
|
4097
3966
|
fundAmount: string;
|
|
@@ -4139,18 +4008,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4139
4008
|
paymentMethod: string;
|
|
4140
4009
|
redirectUrl: string;
|
|
4141
4010
|
ipAddress?: string | undefined;
|
|
4011
|
+
stripeAmountInCents?: number | undefined;
|
|
4142
4012
|
} | null;
|
|
4143
4013
|
creatorAddress: string | null;
|
|
4144
4014
|
partnerId: string | null;
|
|
4145
4015
|
oneClickBuyUrl: string | null;
|
|
4146
4016
|
stripePaymentIntentId: string | null;
|
|
4147
|
-
permit: {
|
|
4148
|
-
ownerAddress: string;
|
|
4149
|
-
deadline: number;
|
|
4150
|
-
v: number;
|
|
4151
|
-
r: string;
|
|
4152
|
-
s: string;
|
|
4153
|
-
} | null;
|
|
4154
4017
|
payload: {
|
|
4155
4018
|
data: string;
|
|
4156
4019
|
to: string;
|