@b3dotfun/sdk 0.0.7-alpha.9 → 0.0.8-alpha.0
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 +10 -10
- package/dist/cjs/anyspend/index.d.ts +3 -2
- package/dist/cjs/anyspend/index.js +3 -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 +36 -34
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +2 -2
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +122 -102
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +4 -4
- package/dist/cjs/anyspend/react/components/AnySpendNFTButton.js +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +17 -17
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +4 -4
- package/dist/cjs/anyspend/react/components/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 +50 -61
- 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 +10 -70
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -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 +7 -40
- package/dist/cjs/anyspend/services/anyspend.js +10 -23
- package/dist/cjs/anyspend/types/custom.js +2 -2
- package/dist/cjs/anyspend/types/globalWallet.js +1 -1
- package/dist/cjs/anyspend/types/index.d.ts +0 -1
- package/dist/cjs/anyspend/types/index.js +0 -1
- package/dist/cjs/anyspend/types/nft.js +6 -6
- package/dist/cjs/anyspend/types/onramp.d.ts +3 -0
- package/dist/cjs/anyspend/types/onramp.js +2 -1
- package/dist/cjs/anyspend/types/order.d.ts +30 -200
- package/dist/cjs/anyspend/types/order.js +7 -12
- package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +70 -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 +45 -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 +35 -235
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +26 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.js +10 -8
- package/dist/cjs/anyspend/types/req-res/getTokenList.js +3 -3
- package/dist/cjs/anyspend/types/req-res/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.js +6 -6
- package/dist/cjs/anyspend/utils/token.js +10 -10
- package/dist/cjs/global-account/app.js +4 -4
- package/dist/cjs/global-account/app.native.js +4 -4
- package/dist/cjs/global-account/bsmnt.js +4 -4
- package/dist/cjs/global-account/bsmnt.native.js +4 -4
- package/dist/cjs/global-account/react/components/B3DynamicModal.js +13 -3
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.d.ts +2 -2
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +16 -15
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.js +4 -4
- package/dist/cjs/global-account/react/components/B3Provider/types.js +1 -1
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.js +5 -5
- package/dist/cjs/global-account/react/components/MintButton/MintButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/MintButton/MintButton.js +5 -5
- package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.js +2 -2
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.js +5 -5
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +2 -2
- package/dist/cjs/global-account/react/components/SignInWithB3/SignIn.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +12 -12
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.js +9 -9
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +2 -2
- package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.js +2 -2
- package/dist/cjs/global-account/react/components/Transak/TransakModal.js +4 -4
- package/dist/cjs/global-account/react/components/custom/Button.js +5 -5
- package/dist/cjs/global-account/react/components/custom/Icon.js +1 -1
- package/dist/cjs/global-account/react/components/custom/ManageAccountButton.js +1 -1
- package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.js +3 -3
- package/dist/cjs/global-account/react/components/index.d.ts +4 -4
- package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.js +1 -1
- package/dist/cjs/global-account/react/components/ui/Loading.js +2 -2
- package/dist/cjs/global-account/react/components/ui/ShinyButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/ShinyButton.js +3 -3
- package/dist/cjs/global-account/react/components/ui/TabSystem.js +1 -1
- package/dist/cjs/global-account/react/components/ui/Tabs.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/Tabs.js +1 -1
- package/dist/cjs/global-account/react/components/ui/badge.js +4 -4
- package/dist/cjs/global-account/react/components/ui/button.js +5 -5
- package/dist/cjs/global-account/react/components/ui/command.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/dialog.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/drawer.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/glare-card-rounded.js +12 -12
- package/dist/cjs/global-account/react/components/ui/glare-card.js +11 -11
- package/dist/cjs/global-account/react/components/ui/input.js +1 -1
- package/dist/cjs/global-account/react/components/ui/text-loop.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/text-loop.js +2 -2
- package/dist/cjs/global-account/react/components/ui/text-shimmer.js +2 -2
- package/dist/cjs/global-account/react/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 +7 -0
- package/dist/cjs/global-account/react/hooks/useB3EnsName.js +15 -6
- 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 +17 -2
- package/dist/cjs/global-account/react/stores/useModalStore.js +3 -3
- package/dist/cjs/global-account/server.js +3 -3
- package/dist/cjs/global-account/types/chain-networks.js +8 -8
- package/dist/cjs/global-account/types/feature-flags.js +1 -1
- package/dist/cjs/shared/constants/chains/b3Chain.js +35 -35
- package/dist/cjs/shared/constants/chains/chainPlatformMap.js +1 -1
- package/dist/cjs/shared/constants/chains/supported.js +1 -1
- package/dist/cjs/shared/constants/index.js +1 -1
- 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 -10
- package/dist/cjs/shared/utils/index.js +4 -23
- 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 +10 -10
- package/dist/esm/anyspend/index.d.ts +3 -2
- package/dist/esm/anyspend/index.js +3 -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 +37 -35
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +2 -2
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +94 -74
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +4 -4
- package/dist/esm/anyspend/react/components/AnySpendNFTButton.js +1 -1
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +18 -18
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +4 -4
- package/dist/esm/anyspend/react/components/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 +51 -62
- 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 +10 -70
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -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 +7 -40
- package/dist/esm/anyspend/services/anyspend.js +11 -24
- package/dist/esm/anyspend/types/custom.js +2 -2
- package/dist/esm/anyspend/types/globalWallet.js +1 -1
- package/dist/esm/anyspend/types/index.d.ts +0 -1
- package/dist/esm/anyspend/types/index.js +0 -1
- package/dist/esm/anyspend/types/nft.js +6 -6
- package/dist/esm/anyspend/types/onramp.d.ts +3 -0
- package/dist/esm/anyspend/types/onramp.js +2 -1
- package/dist/esm/anyspend/types/order.d.ts +30 -200
- package/dist/esm/anyspend/types/order.js +7 -12
- package/dist/esm/anyspend/types/req-res/createOrder.d.ts +70 -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 +45 -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 +35 -235
- package/dist/esm/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/esm/anyspend/types/req-res/getQuote.d.ts +26 -0
- package/dist/esm/anyspend/types/req-res/getQuote.js +10 -8
- package/dist/esm/anyspend/types/req-res/getTokenList.js +3 -3
- package/dist/esm/anyspend/types/req-res/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.js +6 -6
- package/dist/esm/anyspend/utils/token.js +10 -10
- package/dist/esm/global-account/app.js +4 -4
- package/dist/esm/global-account/app.native.js +4 -4
- package/dist/esm/global-account/bsmnt.js +4 -4
- package/dist/esm/global-account/bsmnt.native.js +4 -4
- package/dist/esm/global-account/react/components/B3DynamicModal.js +14 -4
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.d.ts +2 -2
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +7 -6
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.js +4 -4
- package/dist/esm/global-account/react/components/B3Provider/types.js +1 -1
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.js +6 -6
- package/dist/esm/global-account/react/components/MintButton/MintButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/MintButton/MintButton.js +5 -5
- package/dist/esm/global-account/react/components/RelayKitProviderWrapper.js +2 -2
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.js +6 -6
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/SignIn.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +13 -13
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.js +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.js +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.js +9 -9
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +3 -3
- package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.js +2 -2
- package/dist/esm/global-account/react/components/Transak/TransakModal.js +4 -4
- package/dist/esm/global-account/react/components/custom/Button.js +5 -5
- package/dist/esm/global-account/react/components/custom/Icon.js +1 -1
- package/dist/esm/global-account/react/components/custom/ManageAccountButton.js +1 -1
- package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.js +3 -3
- package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.js +1 -1
- package/dist/esm/global-account/react/components/index.d.ts +4 -4
- package/dist/esm/global-account/react/components/index.js +4 -4
- package/dist/esm/global-account/react/components/magicui/AnimatedLottie.js +1 -1
- package/dist/esm/global-account/react/components/ui/Loading.js +2 -2
- package/dist/esm/global-account/react/components/ui/ShinyButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/ShinyButton.js +3 -3
- package/dist/esm/global-account/react/components/ui/TabSystem.js +1 -1
- package/dist/esm/global-account/react/components/ui/Tabs.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/Tabs.js +1 -1
- package/dist/esm/global-account/react/components/ui/badge.js +4 -4
- package/dist/esm/global-account/react/components/ui/button.js +5 -5
- package/dist/esm/global-account/react/components/ui/command.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/command.js +1 -1
- package/dist/esm/global-account/react/components/ui/dialog.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/dialog.js +1 -1
- package/dist/esm/global-account/react/components/ui/drawer.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/drawer.js +1 -1
- package/dist/esm/global-account/react/components/ui/glare-card-rounded.js +12 -12
- package/dist/esm/global-account/react/components/ui/glare-card.js +11 -11
- package/dist/esm/global-account/react/components/ui/input.js +1 -1
- package/dist/esm/global-account/react/components/ui/text-loop.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/text-loop.js +2 -2
- package/dist/esm/global-account/react/components/ui/text-shimmer.js +2 -2
- package/dist/esm/global-account/react/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 +7 -0
- package/dist/esm/global-account/react/hooks/useB3EnsName.js +15 -6
- 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 +17 -2
- package/dist/esm/global-account/react/stores/useModalStore.js +3 -3
- package/dist/esm/global-account/server.js +3 -3
- package/dist/esm/global-account/types/chain-networks.js +8 -8
- package/dist/esm/global-account/types/feature-flags.js +1 -1
- package/dist/esm/shared/constants/chains/b3Chain.js +35 -35
- package/dist/esm/shared/constants/chains/chainPlatformMap.js +1 -1
- package/dist/esm/shared/constants/chains/supported.js +1 -1
- package/dist/esm/shared/constants/index.js +1 -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 -10
- package/dist/esm/shared/utils/index.js +4 -20
- 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 +3 -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 +2 -2
- package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +1 -1
- package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/types/anyspend/react/components/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 +10 -70
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -70
- package/dist/types/anyspend/react/hooks/useSigMint.d.ts +140 -0
- package/dist/types/anyspend/services/anyspend.d.ts +7 -40
- package/dist/types/anyspend/types/index.d.ts +0 -1
- package/dist/types/anyspend/types/onramp.d.ts +3 -0
- package/dist/types/anyspend/types/order.d.ts +30 -200
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +70 -235
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -305
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +35 -235
- package/dist/types/anyspend/types/req-res/getQuote.d.ts +26 -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/global-account/react/components/B3Provider/B3Provider.d.ts +2 -2
- package/dist/types/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
- package/dist/types/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
- package/dist/types/global-account/react/components/MintButton/MintButton.d.ts +1 -1
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
- package/dist/types/global-account/react/components/index.d.ts +4 -4
- package/dist/types/global-account/react/components/ui/ShinyButton.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/Tabs.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/command.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/dialog.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/drawer.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/text-loop.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useAddTWSessionKey.d.ts +2 -2
- package/dist/types/global-account/react/hooks/useB3EnsName.d.ts +7 -0
- 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 +17 -2
- 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 -10
- package/dist/types/shared/utils/truncateAddress.d.ts +6 -0
- package/package.json +3 -2
- 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 +10 -10
- package/src/anyspend/index.ts +3 -6
- package/src/anyspend/react/components/AnySpend.tsx +44 -39
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +40 -36
- package/src/anyspend/react/components/AnySpendCustom.tsx +158 -82
- package/src/anyspend/react/components/AnySpendNFT.tsx +4 -4
- package/src/anyspend/react/components/AnySpendNFTButton.tsx +1 -1
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +18 -18
- package/src/anyspend/react/components/AnySpendTournament.tsx +4 -4
- package/src/anyspend/react/components/AnyspendSignatureMint.tsx +147 -0
- package/src/anyspend/react/components/common/ChainTokenIcon.tsx +1 -1
- package/src/anyspend/react/components/common/OrderDetails.tsx +71 -73
- 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 +19 -37
- package/src/anyspend/types/chain.ts +1 -1
- package/src/anyspend/types/custom.ts +2 -2
- package/src/anyspend/types/globalWallet.ts +1 -1
- package/src/anyspend/types/index.ts +0 -1
- package/src/anyspend/types/nft.ts +7 -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 +10 -8
- 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 +6 -6
- package/src/anyspend/utils/token.ts +10 -10
- package/src/global-account/app.native.ts +5 -5
- package/src/global-account/app.ts +5 -5
- package/src/global-account/bsmnt.native.ts +5 -5
- package/src/global-account/bsmnt.ts +5 -5
- package/src/global-account/react/components/B3DynamicModal.tsx +15 -6
- package/src/global-account/react/components/B3Provider/B3Provider.native.tsx +4 -4
- package/src/global-account/react/components/B3Provider/B3Provider.tsx +21 -18
- package/src/global-account/react/components/B3Provider/types.ts +1 -1
- package/src/global-account/react/components/ManageAccount/ManageAccount.tsx +6 -6
- package/src/global-account/react/components/MintButton/MintButton.tsx +5 -5
- package/src/global-account/react/components/RelayKitProviderWrapper.tsx +2 -2
- package/src/global-account/react/components/RequestPermissions/RequestPermissions.tsx +7 -7
- package/src/global-account/react/components/RequestPermissions/RequestPermissionsButton.tsx +2 -2
- package/src/global-account/react/components/SignInWithB3/SignIn.tsx +4 -4
- package/src/global-account/react/components/SignInWithB3/SignInWithB3.tsx +2 -2
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Flow.tsx +14 -14
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Privy.tsx +2 -2
- package/src/global-account/react/components/SignInWithB3/components/AuthButton.tsx +1 -1
- package/src/global-account/react/components/SignInWithB3/components/WalletRow.tsx +1 -1
- package/src/global-account/react/components/SignInWithB3/steps/LoginStep.tsx +10 -10
- package/src/global-account/react/components/SignInWithB3/steps/LoginStepCustom.tsx +3 -3
- package/src/global-account/react/components/SignInWithB3/utils/signInUtils.ts +2 -2
- package/src/global-account/react/components/Transak/TransakModal.tsx +4 -4
- package/src/global-account/react/components/custom/Button.tsx +7 -7
- package/src/global-account/react/components/custom/Icon.tsx +1 -1
- package/src/global-account/react/components/custom/ManageAccountButton.tsx +1 -1
- package/src/global-account/react/components/custom/StaggeredFadeLoader.tsx +3 -3
- package/src/global-account/react/components/custom/WalletConnectorIcon.tsx +1 -1
- package/src/global-account/react/components/index.ts +4 -4
- package/src/global-account/react/components/magicui/AnimatedLottie.tsx +5 -5
- package/src/global-account/react/components/ui/Loading.tsx +2 -2
- package/src/global-account/react/components/ui/ShinyButton.tsx +5 -5
- package/src/global-account/react/components/ui/TabSystem.tsx +2 -2
- package/src/global-account/react/components/ui/Tabs.tsx +4 -4
- package/src/global-account/react/components/ui/badge.tsx +5 -5
- package/src/global-account/react/components/ui/button.tsx +7 -7
- package/src/global-account/react/components/ui/command.tsx +5 -5
- package/src/global-account/react/components/ui/dialog.tsx +5 -5
- package/src/global-account/react/components/ui/drawer.tsx +2 -2
- package/src/global-account/react/components/ui/glare-card-rounded.tsx +12 -12
- package/src/global-account/react/components/ui/glare-card.tsx +11 -11
- package/src/global-account/react/components/ui/input.tsx +2 -2
- package/src/global-account/react/components/ui/popover.tsx +1 -1
- package/src/global-account/react/components/ui/scroll-area.tsx +1 -1
- package/src/global-account/react/components/ui/text-loop.tsx +2 -2
- package/src/global-account/react/components/ui/text-shimmer.tsx +3 -3
- package/src/global-account/react/components/ui/tooltip.tsx +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 +25 -7
- 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 +22 -5
- package/src/global-account/server.ts +3 -3
- package/src/global-account/types/chain-networks.ts +10 -10
- package/src/global-account/types/feature-flags.ts +2 -2
- package/src/shared/constants/chains/b3Chain.ts +35 -35
- package/src/shared/constants/chains/chainPlatformMap.ts +1 -1
- package/src/shared/constants/chains/supported.ts +1 -1
- package/src/shared/constants/index.ts +1 -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 -22
- 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,18 +254,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
249
254
|
paymentMethod: z.ZodString;
|
|
250
255
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
251
256
|
redirectUrl: z.ZodString;
|
|
257
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
252
258
|
}, "strip", z.ZodTypeAny, {
|
|
253
259
|
country: string;
|
|
254
260
|
vendor: import("../onramp").OnrampVendor;
|
|
255
261
|
paymentMethod: string;
|
|
256
262
|
redirectUrl: string;
|
|
257
263
|
ipAddress?: string | undefined;
|
|
264
|
+
stripeAmountInCents?: number | undefined;
|
|
258
265
|
}, {
|
|
259
266
|
country: string;
|
|
260
267
|
vendor: import("../onramp").OnrampVendor;
|
|
261
268
|
paymentMethod: string;
|
|
262
269
|
redirectUrl: string;
|
|
263
270
|
ipAddress?: string | undefined;
|
|
271
|
+
stripeAmountInCents?: number | undefined;
|
|
264
272
|
}>>;
|
|
265
273
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
266
274
|
} & {
|
|
@@ -517,6 +525,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
517
525
|
paymentMethod: string;
|
|
518
526
|
redirectUrl: string;
|
|
519
527
|
ipAddress?: string | undefined;
|
|
528
|
+
stripeAmountInCents?: number | undefined;
|
|
520
529
|
} | undefined;
|
|
521
530
|
}, {
|
|
522
531
|
type: OrderType.MintNFT;
|
|
@@ -576,6 +585,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
576
585
|
paymentMethod: string;
|
|
577
586
|
redirectUrl: string;
|
|
578
587
|
ipAddress?: string | undefined;
|
|
588
|
+
stripeAmountInCents?: number | undefined;
|
|
579
589
|
} | undefined;
|
|
580
590
|
}>, z.ZodObject<{
|
|
581
591
|
recipientAddress: z.ZodString;
|
|
@@ -591,18 +601,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
591
601
|
paymentMethod: z.ZodString;
|
|
592
602
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
593
603
|
redirectUrl: z.ZodString;
|
|
604
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
594
605
|
}, "strip", z.ZodTypeAny, {
|
|
595
606
|
country: string;
|
|
596
607
|
vendor: import("../onramp").OnrampVendor;
|
|
597
608
|
paymentMethod: string;
|
|
598
609
|
redirectUrl: string;
|
|
599
610
|
ipAddress?: string | undefined;
|
|
611
|
+
stripeAmountInCents?: number | undefined;
|
|
600
612
|
}, {
|
|
601
613
|
country: string;
|
|
602
614
|
vendor: import("../onramp").OnrampVendor;
|
|
603
615
|
paymentMethod: string;
|
|
604
616
|
redirectUrl: string;
|
|
605
617
|
ipAddress?: string | undefined;
|
|
618
|
+
stripeAmountInCents?: number | undefined;
|
|
606
619
|
}>>;
|
|
607
620
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
608
621
|
} & {
|
|
@@ -801,6 +814,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
801
814
|
paymentMethod: string;
|
|
802
815
|
redirectUrl: string;
|
|
803
816
|
ipAddress?: string | undefined;
|
|
817
|
+
stripeAmountInCents?: number | undefined;
|
|
804
818
|
} | undefined;
|
|
805
819
|
}, {
|
|
806
820
|
type: OrderType.JoinTournament;
|
|
@@ -850,6 +864,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
850
864
|
paymentMethod: string;
|
|
851
865
|
redirectUrl: string;
|
|
852
866
|
ipAddress?: string | undefined;
|
|
867
|
+
stripeAmountInCents?: number | undefined;
|
|
853
868
|
} | undefined;
|
|
854
869
|
}>, z.ZodObject<{
|
|
855
870
|
recipientAddress: z.ZodString;
|
|
@@ -865,18 +880,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
865
880
|
paymentMethod: z.ZodString;
|
|
866
881
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
867
882
|
redirectUrl: z.ZodString;
|
|
883
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
868
884
|
}, "strip", z.ZodTypeAny, {
|
|
869
885
|
country: string;
|
|
870
886
|
vendor: import("../onramp").OnrampVendor;
|
|
871
887
|
paymentMethod: string;
|
|
872
888
|
redirectUrl: string;
|
|
873
889
|
ipAddress?: string | undefined;
|
|
890
|
+
stripeAmountInCents?: number | undefined;
|
|
874
891
|
}, {
|
|
875
892
|
country: string;
|
|
876
893
|
vendor: import("../onramp").OnrampVendor;
|
|
877
894
|
paymentMethod: string;
|
|
878
895
|
redirectUrl: string;
|
|
879
896
|
ipAddress?: string | undefined;
|
|
897
|
+
stripeAmountInCents?: number | undefined;
|
|
880
898
|
}>>;
|
|
881
899
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
882
900
|
} & {
|
|
@@ -1075,6 +1093,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1075
1093
|
paymentMethod: string;
|
|
1076
1094
|
redirectUrl: string;
|
|
1077
1095
|
ipAddress?: string | undefined;
|
|
1096
|
+
stripeAmountInCents?: number | undefined;
|
|
1078
1097
|
} | undefined;
|
|
1079
1098
|
}, {
|
|
1080
1099
|
type: OrderType.FundTournament;
|
|
@@ -1124,6 +1143,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1124
1143
|
paymentMethod: string;
|
|
1125
1144
|
redirectUrl: string;
|
|
1126
1145
|
ipAddress?: string | undefined;
|
|
1146
|
+
stripeAmountInCents?: number | undefined;
|
|
1127
1147
|
} | undefined;
|
|
1128
1148
|
}>, z.ZodObject<{
|
|
1129
1149
|
recipientAddress: z.ZodString;
|
|
@@ -1139,18 +1159,21 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1139
1159
|
paymentMethod: z.ZodString;
|
|
1140
1160
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1141
1161
|
redirectUrl: z.ZodString;
|
|
1162
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1142
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1143
1164
|
country: string;
|
|
1144
1165
|
vendor: import("../onramp").OnrampVendor;
|
|
1145
1166
|
paymentMethod: string;
|
|
1146
1167
|
redirectUrl: string;
|
|
1147
1168
|
ipAddress?: string | undefined;
|
|
1169
|
+
stripeAmountInCents?: number | undefined;
|
|
1148
1170
|
}, {
|
|
1149
1171
|
country: string;
|
|
1150
1172
|
vendor: import("../onramp").OnrampVendor;
|
|
1151
1173
|
paymentMethod: string;
|
|
1152
1174
|
redirectUrl: string;
|
|
1153
1175
|
ipAddress?: string | undefined;
|
|
1176
|
+
stripeAmountInCents?: number | undefined;
|
|
1154
1177
|
}>>;
|
|
1155
1178
|
creatorAddress: z.ZodOptional<z.ZodString>;
|
|
1156
1179
|
} & {
|
|
@@ -1327,6 +1350,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1327
1350
|
paymentMethod: string;
|
|
1328
1351
|
redirectUrl: string;
|
|
1329
1352
|
ipAddress?: string | undefined;
|
|
1353
|
+
stripeAmountInCents?: number | undefined;
|
|
1330
1354
|
} | undefined;
|
|
1331
1355
|
}, {
|
|
1332
1356
|
type: OrderType.Custom;
|
|
@@ -1373,6 +1397,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1373
1397
|
paymentMethod: string;
|
|
1374
1398
|
redirectUrl: string;
|
|
1375
1399
|
ipAddress?: string | undefined;
|
|
1400
|
+
stripeAmountInCents?: number | undefined;
|
|
1376
1401
|
} | undefined;
|
|
1377
1402
|
}>]>;
|
|
1378
1403
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1418,6 +1443,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1418
1443
|
paymentMethod: string;
|
|
1419
1444
|
redirectUrl: string;
|
|
1420
1445
|
ipAddress?: string | undefined;
|
|
1446
|
+
stripeAmountInCents?: number | undefined;
|
|
1421
1447
|
} | undefined;
|
|
1422
1448
|
} | {
|
|
1423
1449
|
type: OrderType.MintNFT;
|
|
@@ -1477,6 +1503,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1477
1503
|
paymentMethod: string;
|
|
1478
1504
|
redirectUrl: string;
|
|
1479
1505
|
ipAddress?: string | undefined;
|
|
1506
|
+
stripeAmountInCents?: number | undefined;
|
|
1480
1507
|
} | undefined;
|
|
1481
1508
|
} | {
|
|
1482
1509
|
type: OrderType.JoinTournament;
|
|
@@ -1526,6 +1553,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1526
1553
|
paymentMethod: string;
|
|
1527
1554
|
redirectUrl: string;
|
|
1528
1555
|
ipAddress?: string | undefined;
|
|
1556
|
+
stripeAmountInCents?: number | undefined;
|
|
1529
1557
|
} | undefined;
|
|
1530
1558
|
} | {
|
|
1531
1559
|
type: OrderType.FundTournament;
|
|
@@ -1575,6 +1603,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1575
1603
|
paymentMethod: string;
|
|
1576
1604
|
redirectUrl: string;
|
|
1577
1605
|
ipAddress?: string | undefined;
|
|
1606
|
+
stripeAmountInCents?: number | undefined;
|
|
1578
1607
|
} | undefined;
|
|
1579
1608
|
} | {
|
|
1580
1609
|
type: OrderType.Custom;
|
|
@@ -1621,6 +1650,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1621
1650
|
paymentMethod: string;
|
|
1622
1651
|
redirectUrl: string;
|
|
1623
1652
|
ipAddress?: string | undefined;
|
|
1653
|
+
stripeAmountInCents?: number | undefined;
|
|
1624
1654
|
} | undefined;
|
|
1625
1655
|
};
|
|
1626
1656
|
}, {
|
|
@@ -1666,6 +1696,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1666
1696
|
paymentMethod: string;
|
|
1667
1697
|
redirectUrl: string;
|
|
1668
1698
|
ipAddress?: string | undefined;
|
|
1699
|
+
stripeAmountInCents?: number | undefined;
|
|
1669
1700
|
} | undefined;
|
|
1670
1701
|
} | {
|
|
1671
1702
|
type: OrderType.MintNFT;
|
|
@@ -1725,6 +1756,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1725
1756
|
paymentMethod: string;
|
|
1726
1757
|
redirectUrl: string;
|
|
1727
1758
|
ipAddress?: string | undefined;
|
|
1759
|
+
stripeAmountInCents?: number | undefined;
|
|
1728
1760
|
} | undefined;
|
|
1729
1761
|
} | {
|
|
1730
1762
|
type: OrderType.JoinTournament;
|
|
@@ -1774,6 +1806,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1774
1806
|
paymentMethod: string;
|
|
1775
1807
|
redirectUrl: string;
|
|
1776
1808
|
ipAddress?: string | undefined;
|
|
1809
|
+
stripeAmountInCents?: number | undefined;
|
|
1777
1810
|
} | undefined;
|
|
1778
1811
|
} | {
|
|
1779
1812
|
type: OrderType.FundTournament;
|
|
@@ -1823,6 +1856,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1823
1856
|
paymentMethod: string;
|
|
1824
1857
|
redirectUrl: string;
|
|
1825
1858
|
ipAddress?: string | undefined;
|
|
1859
|
+
stripeAmountInCents?: number | undefined;
|
|
1826
1860
|
} | undefined;
|
|
1827
1861
|
} | {
|
|
1828
1862
|
type: OrderType.Custom;
|
|
@@ -1869,6 +1903,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
|
|
|
1869
1903
|
paymentMethod: string;
|
|
1870
1904
|
redirectUrl: string;
|
|
1871
1905
|
ipAddress?: string | undefined;
|
|
1906
|
+
stripeAmountInCents?: number | undefined;
|
|
1872
1907
|
} | undefined;
|
|
1873
1908
|
};
|
|
1874
1909
|
}>;
|
|
@@ -1895,42 +1930,26 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
1895
1930
|
paymentMethod: z.ZodString;
|
|
1896
1931
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1897
1932
|
redirectUrl: z.ZodString;
|
|
1933
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1898
1934
|
}, "strip", z.ZodTypeAny, {
|
|
1899
1935
|
country: string;
|
|
1900
1936
|
vendor: import("../onramp").OnrampVendor;
|
|
1901
1937
|
paymentMethod: string;
|
|
1902
1938
|
redirectUrl: string;
|
|
1903
1939
|
ipAddress?: string | undefined;
|
|
1940
|
+
stripeAmountInCents?: number | undefined;
|
|
1904
1941
|
}, {
|
|
1905
1942
|
country: string;
|
|
1906
1943
|
vendor: import("../onramp").OnrampVendor;
|
|
1907
1944
|
paymentMethod: string;
|
|
1908
1945
|
redirectUrl: string;
|
|
1909
1946
|
ipAddress?: string | undefined;
|
|
1947
|
+
stripeAmountInCents?: number | undefined;
|
|
1910
1948
|
}>>;
|
|
1911
1949
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1912
1950
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
1913
1951
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
1914
1952
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
1915
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
1916
|
-
ownerAddress: z.ZodString;
|
|
1917
|
-
deadline: z.ZodNumber;
|
|
1918
|
-
v: z.ZodNumber;
|
|
1919
|
-
r: z.ZodString;
|
|
1920
|
-
s: z.ZodString;
|
|
1921
|
-
}, "strip", z.ZodTypeAny, {
|
|
1922
|
-
ownerAddress: string;
|
|
1923
|
-
deadline: number;
|
|
1924
|
-
v: number;
|
|
1925
|
-
r: string;
|
|
1926
|
-
s: string;
|
|
1927
|
-
}, {
|
|
1928
|
-
ownerAddress: string;
|
|
1929
|
-
deadline: number;
|
|
1930
|
-
v: number;
|
|
1931
|
-
r: string;
|
|
1932
|
-
s: string;
|
|
1933
|
-
}>>;
|
|
1934
1953
|
} & {
|
|
1935
1954
|
type: z.ZodLiteral<OrderType.Swap>;
|
|
1936
1955
|
payload: z.ZodObject<{
|
|
@@ -2093,18 +2112,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2093
2112
|
paymentMethod: string;
|
|
2094
2113
|
redirectUrl: string;
|
|
2095
2114
|
ipAddress?: string | undefined;
|
|
2115
|
+
stripeAmountInCents?: number | undefined;
|
|
2096
2116
|
} | null;
|
|
2097
2117
|
creatorAddress: string | null;
|
|
2098
2118
|
partnerId: string | null;
|
|
2099
2119
|
oneClickBuyUrl: string | null;
|
|
2100
2120
|
stripePaymentIntentId: string | null;
|
|
2101
|
-
permit: {
|
|
2102
|
-
ownerAddress: string;
|
|
2103
|
-
deadline: number;
|
|
2104
|
-
v: number;
|
|
2105
|
-
r: string;
|
|
2106
|
-
s: string;
|
|
2107
|
-
} | null;
|
|
2108
2121
|
payload: {
|
|
2109
2122
|
expectedDstAmount: string;
|
|
2110
2123
|
actualDstAmount: string | null;
|
|
@@ -2151,18 +2164,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2151
2164
|
paymentMethod: string;
|
|
2152
2165
|
redirectUrl: string;
|
|
2153
2166
|
ipAddress?: string | undefined;
|
|
2167
|
+
stripeAmountInCents?: number | undefined;
|
|
2154
2168
|
} | null;
|
|
2155
2169
|
creatorAddress: string | null;
|
|
2156
2170
|
partnerId: string | null;
|
|
2157
2171
|
oneClickBuyUrl: string | null;
|
|
2158
2172
|
stripePaymentIntentId: string | null;
|
|
2159
|
-
permit: {
|
|
2160
|
-
ownerAddress: string;
|
|
2161
|
-
deadline: number;
|
|
2162
|
-
v: number;
|
|
2163
|
-
r: string;
|
|
2164
|
-
s: string;
|
|
2165
|
-
} | null;
|
|
2166
2173
|
payload: {
|
|
2167
2174
|
expectedDstAmount: string;
|
|
2168
2175
|
actualDstAmount: string | null;
|
|
@@ -2186,42 +2193,26 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2186
2193
|
paymentMethod: z.ZodString;
|
|
2187
2194
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2188
2195
|
redirectUrl: z.ZodString;
|
|
2196
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2189
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2190
2198
|
country: string;
|
|
2191
2199
|
vendor: import("../onramp").OnrampVendor;
|
|
2192
2200
|
paymentMethod: string;
|
|
2193
2201
|
redirectUrl: string;
|
|
2194
2202
|
ipAddress?: string | undefined;
|
|
2203
|
+
stripeAmountInCents?: number | undefined;
|
|
2195
2204
|
}, {
|
|
2196
2205
|
country: string;
|
|
2197
2206
|
vendor: import("../onramp").OnrampVendor;
|
|
2198
2207
|
paymentMethod: string;
|
|
2199
2208
|
redirectUrl: string;
|
|
2200
2209
|
ipAddress?: string | undefined;
|
|
2210
|
+
stripeAmountInCents?: number | undefined;
|
|
2201
2211
|
}>>;
|
|
2202
2212
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2203
2213
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
2204
2214
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
2205
2215
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
2206
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
2207
|
-
ownerAddress: z.ZodString;
|
|
2208
|
-
deadline: z.ZodNumber;
|
|
2209
|
-
v: z.ZodNumber;
|
|
2210
|
-
r: z.ZodString;
|
|
2211
|
-
s: z.ZodString;
|
|
2212
|
-
}, "strip", z.ZodTypeAny, {
|
|
2213
|
-
ownerAddress: string;
|
|
2214
|
-
deadline: number;
|
|
2215
|
-
v: number;
|
|
2216
|
-
r: string;
|
|
2217
|
-
s: string;
|
|
2218
|
-
}, {
|
|
2219
|
-
ownerAddress: string;
|
|
2220
|
-
deadline: number;
|
|
2221
|
-
v: number;
|
|
2222
|
-
r: string;
|
|
2223
|
-
s: string;
|
|
2224
|
-
}>>;
|
|
2225
2216
|
} & {
|
|
2226
2217
|
type: z.ZodLiteral<OrderType.MintNFT>;
|
|
2227
2218
|
payload: z.ZodObject<{
|
|
@@ -2474,18 +2465,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2474
2465
|
paymentMethod: string;
|
|
2475
2466
|
redirectUrl: string;
|
|
2476
2467
|
ipAddress?: string | undefined;
|
|
2468
|
+
stripeAmountInCents?: number | undefined;
|
|
2477
2469
|
} | null;
|
|
2478
2470
|
creatorAddress: string | null;
|
|
2479
2471
|
partnerId: string | null;
|
|
2480
2472
|
oneClickBuyUrl: string | null;
|
|
2481
2473
|
stripePaymentIntentId: string | null;
|
|
2482
|
-
permit: {
|
|
2483
|
-
ownerAddress: string;
|
|
2484
|
-
deadline: number;
|
|
2485
|
-
v: number;
|
|
2486
|
-
r: string;
|
|
2487
|
-
s: string;
|
|
2488
|
-
} | null;
|
|
2489
2474
|
payload: {
|
|
2490
2475
|
contractAddress: string;
|
|
2491
2476
|
tokenId: number | null;
|
|
@@ -2548,18 +2533,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2548
2533
|
paymentMethod: string;
|
|
2549
2534
|
redirectUrl: string;
|
|
2550
2535
|
ipAddress?: string | undefined;
|
|
2536
|
+
stripeAmountInCents?: number | undefined;
|
|
2551
2537
|
} | null;
|
|
2552
2538
|
creatorAddress: string | null;
|
|
2553
2539
|
partnerId: string | null;
|
|
2554
2540
|
oneClickBuyUrl: string | null;
|
|
2555
2541
|
stripePaymentIntentId: string | null;
|
|
2556
|
-
permit: {
|
|
2557
|
-
ownerAddress: string;
|
|
2558
|
-
deadline: number;
|
|
2559
|
-
v: number;
|
|
2560
|
-
r: string;
|
|
2561
|
-
s: string;
|
|
2562
|
-
} | null;
|
|
2563
2542
|
payload: {
|
|
2564
2543
|
contractAddress: string;
|
|
2565
2544
|
tokenId: number | null;
|
|
@@ -2585,42 +2564,26 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2585
2564
|
paymentMethod: z.ZodString;
|
|
2586
2565
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2587
2566
|
redirectUrl: z.ZodString;
|
|
2567
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2588
2568
|
}, "strip", z.ZodTypeAny, {
|
|
2589
2569
|
country: string;
|
|
2590
2570
|
vendor: import("../onramp").OnrampVendor;
|
|
2591
2571
|
paymentMethod: string;
|
|
2592
2572
|
redirectUrl: string;
|
|
2593
2573
|
ipAddress?: string | undefined;
|
|
2574
|
+
stripeAmountInCents?: number | undefined;
|
|
2594
2575
|
}, {
|
|
2595
2576
|
country: string;
|
|
2596
2577
|
vendor: import("../onramp").OnrampVendor;
|
|
2597
2578
|
paymentMethod: string;
|
|
2598
2579
|
redirectUrl: string;
|
|
2599
2580
|
ipAddress?: string | undefined;
|
|
2581
|
+
stripeAmountInCents?: number | undefined;
|
|
2600
2582
|
}>>;
|
|
2601
2583
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2602
2584
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
2603
2585
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
2604
2586
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
2605
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
2606
|
-
ownerAddress: z.ZodString;
|
|
2607
|
-
deadline: z.ZodNumber;
|
|
2608
|
-
v: z.ZodNumber;
|
|
2609
|
-
r: z.ZodString;
|
|
2610
|
-
s: z.ZodString;
|
|
2611
|
-
}, "strip", z.ZodTypeAny, {
|
|
2612
|
-
ownerAddress: string;
|
|
2613
|
-
deadline: number;
|
|
2614
|
-
v: number;
|
|
2615
|
-
r: string;
|
|
2616
|
-
s: string;
|
|
2617
|
-
}, {
|
|
2618
|
-
ownerAddress: string;
|
|
2619
|
-
deadline: number;
|
|
2620
|
-
v: number;
|
|
2621
|
-
r: string;
|
|
2622
|
-
s: string;
|
|
2623
|
-
}>>;
|
|
2624
2587
|
} & {
|
|
2625
2588
|
type: z.ZodLiteral<OrderType.JoinTournament>;
|
|
2626
2589
|
payload: z.ZodObject<{
|
|
@@ -2817,18 +2780,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2817
2780
|
paymentMethod: string;
|
|
2818
2781
|
redirectUrl: string;
|
|
2819
2782
|
ipAddress?: string | undefined;
|
|
2783
|
+
stripeAmountInCents?: number | undefined;
|
|
2820
2784
|
} | null;
|
|
2821
2785
|
creatorAddress: string | null;
|
|
2822
2786
|
partnerId: string | null;
|
|
2823
2787
|
oneClickBuyUrl: string | null;
|
|
2824
2788
|
stripePaymentIntentId: string | null;
|
|
2825
|
-
permit: {
|
|
2826
|
-
ownerAddress: string;
|
|
2827
|
-
deadline: number;
|
|
2828
|
-
v: number;
|
|
2829
|
-
r: string;
|
|
2830
|
-
s: string;
|
|
2831
|
-
} | null;
|
|
2832
2789
|
payload: {
|
|
2833
2790
|
contractAddress: string;
|
|
2834
2791
|
entryPrice: string;
|
|
@@ -2881,18 +2838,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2881
2838
|
paymentMethod: string;
|
|
2882
2839
|
redirectUrl: string;
|
|
2883
2840
|
ipAddress?: string | undefined;
|
|
2841
|
+
stripeAmountInCents?: number | undefined;
|
|
2884
2842
|
} | null;
|
|
2885
2843
|
creatorAddress: string | null;
|
|
2886
2844
|
partnerId: string | null;
|
|
2887
2845
|
oneClickBuyUrl: string | null;
|
|
2888
2846
|
stripePaymentIntentId: string | null;
|
|
2889
|
-
permit: {
|
|
2890
|
-
ownerAddress: string;
|
|
2891
|
-
deadline: number;
|
|
2892
|
-
v: number;
|
|
2893
|
-
r: string;
|
|
2894
|
-
s: string;
|
|
2895
|
-
} | null;
|
|
2896
2847
|
payload: {
|
|
2897
2848
|
contractAddress: string;
|
|
2898
2849
|
entryPrice: string;
|
|
@@ -2916,42 +2867,26 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
2916
2867
|
paymentMethod: z.ZodString;
|
|
2917
2868
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
2918
2869
|
redirectUrl: z.ZodString;
|
|
2870
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
2919
2871
|
}, "strip", z.ZodTypeAny, {
|
|
2920
2872
|
country: string;
|
|
2921
2873
|
vendor: import("../onramp").OnrampVendor;
|
|
2922
2874
|
paymentMethod: string;
|
|
2923
2875
|
redirectUrl: string;
|
|
2924
2876
|
ipAddress?: string | undefined;
|
|
2877
|
+
stripeAmountInCents?: number | undefined;
|
|
2925
2878
|
}, {
|
|
2926
2879
|
country: string;
|
|
2927
2880
|
vendor: import("../onramp").OnrampVendor;
|
|
2928
2881
|
paymentMethod: string;
|
|
2929
2882
|
redirectUrl: string;
|
|
2930
2883
|
ipAddress?: string | undefined;
|
|
2884
|
+
stripeAmountInCents?: number | undefined;
|
|
2931
2885
|
}>>;
|
|
2932
2886
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
2933
2887
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
2934
2888
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
2935
2889
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
2936
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
2937
|
-
ownerAddress: z.ZodString;
|
|
2938
|
-
deadline: z.ZodNumber;
|
|
2939
|
-
v: z.ZodNumber;
|
|
2940
|
-
r: z.ZodString;
|
|
2941
|
-
s: z.ZodString;
|
|
2942
|
-
}, "strip", z.ZodTypeAny, {
|
|
2943
|
-
ownerAddress: string;
|
|
2944
|
-
deadline: number;
|
|
2945
|
-
v: number;
|
|
2946
|
-
r: string;
|
|
2947
|
-
s: string;
|
|
2948
|
-
}, {
|
|
2949
|
-
ownerAddress: string;
|
|
2950
|
-
deadline: number;
|
|
2951
|
-
v: number;
|
|
2952
|
-
r: string;
|
|
2953
|
-
s: string;
|
|
2954
|
-
}>>;
|
|
2955
2890
|
} & {
|
|
2956
2891
|
type: z.ZodLiteral<OrderType.FundTournament>;
|
|
2957
2892
|
payload: z.ZodObject<{
|
|
@@ -3148,18 +3083,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3148
3083
|
paymentMethod: string;
|
|
3149
3084
|
redirectUrl: string;
|
|
3150
3085
|
ipAddress?: string | undefined;
|
|
3086
|
+
stripeAmountInCents?: number | undefined;
|
|
3151
3087
|
} | null;
|
|
3152
3088
|
creatorAddress: string | null;
|
|
3153
3089
|
partnerId: string | null;
|
|
3154
3090
|
oneClickBuyUrl: string | null;
|
|
3155
3091
|
stripePaymentIntentId: string | null;
|
|
3156
|
-
permit: {
|
|
3157
|
-
ownerAddress: string;
|
|
3158
|
-
deadline: number;
|
|
3159
|
-
v: number;
|
|
3160
|
-
r: string;
|
|
3161
|
-
s: string;
|
|
3162
|
-
} | null;
|
|
3163
3092
|
payload: {
|
|
3164
3093
|
contractAddress: string;
|
|
3165
3094
|
fundAmount: string;
|
|
@@ -3212,18 +3141,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3212
3141
|
paymentMethod: string;
|
|
3213
3142
|
redirectUrl: string;
|
|
3214
3143
|
ipAddress?: string | undefined;
|
|
3144
|
+
stripeAmountInCents?: number | undefined;
|
|
3215
3145
|
} | null;
|
|
3216
3146
|
creatorAddress: string | null;
|
|
3217
3147
|
partnerId: string | null;
|
|
3218
3148
|
oneClickBuyUrl: string | null;
|
|
3219
3149
|
stripePaymentIntentId: string | null;
|
|
3220
|
-
permit: {
|
|
3221
|
-
ownerAddress: string;
|
|
3222
|
-
deadline: number;
|
|
3223
|
-
v: number;
|
|
3224
|
-
r: string;
|
|
3225
|
-
s: string;
|
|
3226
|
-
} | null;
|
|
3227
3150
|
payload: {
|
|
3228
3151
|
contractAddress: string;
|
|
3229
3152
|
fundAmount: string;
|
|
@@ -3247,42 +3170,26 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3247
3170
|
paymentMethod: z.ZodString;
|
|
3248
3171
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
3249
3172
|
redirectUrl: z.ZodString;
|
|
3173
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
3250
3174
|
}, "strip", z.ZodTypeAny, {
|
|
3251
3175
|
country: string;
|
|
3252
3176
|
vendor: import("../onramp").OnrampVendor;
|
|
3253
3177
|
paymentMethod: string;
|
|
3254
3178
|
redirectUrl: string;
|
|
3255
3179
|
ipAddress?: string | undefined;
|
|
3180
|
+
stripeAmountInCents?: number | undefined;
|
|
3256
3181
|
}, {
|
|
3257
3182
|
country: string;
|
|
3258
3183
|
vendor: import("../onramp").OnrampVendor;
|
|
3259
3184
|
paymentMethod: string;
|
|
3260
3185
|
redirectUrl: string;
|
|
3261
3186
|
ipAddress?: string | undefined;
|
|
3187
|
+
stripeAmountInCents?: number | undefined;
|
|
3262
3188
|
}>>;
|
|
3263
3189
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
3264
3190
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
3265
3191
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
3266
3192
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
3267
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
3268
|
-
ownerAddress: z.ZodString;
|
|
3269
|
-
deadline: z.ZodNumber;
|
|
3270
|
-
v: z.ZodNumber;
|
|
3271
|
-
r: z.ZodString;
|
|
3272
|
-
s: z.ZodString;
|
|
3273
|
-
}, "strip", z.ZodTypeAny, {
|
|
3274
|
-
ownerAddress: string;
|
|
3275
|
-
deadline: number;
|
|
3276
|
-
v: number;
|
|
3277
|
-
r: string;
|
|
3278
|
-
s: string;
|
|
3279
|
-
}, {
|
|
3280
|
-
ownerAddress: string;
|
|
3281
|
-
deadline: number;
|
|
3282
|
-
v: number;
|
|
3283
|
-
r: string;
|
|
3284
|
-
s: string;
|
|
3285
|
-
}>>;
|
|
3286
3193
|
} & {
|
|
3287
3194
|
type: z.ZodLiteral<OrderType.Custom>;
|
|
3288
3195
|
payload: z.ZodObject<{
|
|
@@ -3455,18 +3362,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3455
3362
|
paymentMethod: string;
|
|
3456
3363
|
redirectUrl: string;
|
|
3457
3364
|
ipAddress?: string | undefined;
|
|
3365
|
+
stripeAmountInCents?: number | undefined;
|
|
3458
3366
|
} | null;
|
|
3459
3367
|
creatorAddress: string | null;
|
|
3460
3368
|
partnerId: string | null;
|
|
3461
3369
|
oneClickBuyUrl: string | null;
|
|
3462
3370
|
stripePaymentIntentId: string | null;
|
|
3463
|
-
permit: {
|
|
3464
|
-
ownerAddress: string;
|
|
3465
|
-
deadline: number;
|
|
3466
|
-
v: number;
|
|
3467
|
-
r: string;
|
|
3468
|
-
s: string;
|
|
3469
|
-
} | null;
|
|
3470
3371
|
payload: {
|
|
3471
3372
|
data: string;
|
|
3472
3373
|
to: string;
|
|
@@ -3516,18 +3417,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3516
3417
|
paymentMethod: string;
|
|
3517
3418
|
redirectUrl: string;
|
|
3518
3419
|
ipAddress?: string | undefined;
|
|
3420
|
+
stripeAmountInCents?: number | undefined;
|
|
3519
3421
|
} | null;
|
|
3520
3422
|
creatorAddress: string | null;
|
|
3521
3423
|
partnerId: string | null;
|
|
3522
3424
|
oneClickBuyUrl: string | null;
|
|
3523
3425
|
stripePaymentIntentId: string | null;
|
|
3524
|
-
permit: {
|
|
3525
|
-
ownerAddress: string;
|
|
3526
|
-
deadline: number;
|
|
3527
|
-
v: number;
|
|
3528
|
-
r: string;
|
|
3529
|
-
s: string;
|
|
3530
|
-
} | null;
|
|
3531
3426
|
payload: {
|
|
3532
3427
|
data: string;
|
|
3533
3428
|
to: string;
|
|
@@ -3580,18 +3475,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3580
3475
|
paymentMethod: string;
|
|
3581
3476
|
redirectUrl: string;
|
|
3582
3477
|
ipAddress?: string | undefined;
|
|
3478
|
+
stripeAmountInCents?: number | undefined;
|
|
3583
3479
|
} | null;
|
|
3584
3480
|
creatorAddress: string | null;
|
|
3585
3481
|
partnerId: string | null;
|
|
3586
3482
|
oneClickBuyUrl: string | null;
|
|
3587
3483
|
stripePaymentIntentId: string | null;
|
|
3588
|
-
permit: {
|
|
3589
|
-
ownerAddress: string;
|
|
3590
|
-
deadline: number;
|
|
3591
|
-
v: number;
|
|
3592
|
-
r: string;
|
|
3593
|
-
s: string;
|
|
3594
|
-
} | null;
|
|
3595
3484
|
payload: {
|
|
3596
3485
|
expectedDstAmount: string;
|
|
3597
3486
|
actualDstAmount: string | null;
|
|
@@ -3652,18 +3541,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3652
3541
|
paymentMethod: string;
|
|
3653
3542
|
redirectUrl: string;
|
|
3654
3543
|
ipAddress?: string | undefined;
|
|
3544
|
+
stripeAmountInCents?: number | undefined;
|
|
3655
3545
|
} | null;
|
|
3656
3546
|
creatorAddress: string | null;
|
|
3657
3547
|
partnerId: string | null;
|
|
3658
3548
|
oneClickBuyUrl: string | null;
|
|
3659
3549
|
stripePaymentIntentId: string | null;
|
|
3660
|
-
permit: {
|
|
3661
|
-
ownerAddress: string;
|
|
3662
|
-
deadline: number;
|
|
3663
|
-
v: number;
|
|
3664
|
-
r: string;
|
|
3665
|
-
s: string;
|
|
3666
|
-
} | null;
|
|
3667
3550
|
payload: {
|
|
3668
3551
|
contractAddress: string;
|
|
3669
3552
|
tokenId: number | null;
|
|
@@ -3718,18 +3601,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3718
3601
|
paymentMethod: string;
|
|
3719
3602
|
redirectUrl: string;
|
|
3720
3603
|
ipAddress?: string | undefined;
|
|
3604
|
+
stripeAmountInCents?: number | undefined;
|
|
3721
3605
|
} | null;
|
|
3722
3606
|
creatorAddress: string | null;
|
|
3723
3607
|
partnerId: string | null;
|
|
3724
3608
|
oneClickBuyUrl: string | null;
|
|
3725
3609
|
stripePaymentIntentId: string | null;
|
|
3726
|
-
permit: {
|
|
3727
|
-
ownerAddress: string;
|
|
3728
|
-
deadline: number;
|
|
3729
|
-
v: number;
|
|
3730
|
-
r: string;
|
|
3731
|
-
s: string;
|
|
3732
|
-
} | null;
|
|
3733
3610
|
payload: {
|
|
3734
3611
|
contractAddress: string;
|
|
3735
3612
|
entryPrice: string;
|
|
@@ -3782,18 +3659,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3782
3659
|
paymentMethod: string;
|
|
3783
3660
|
redirectUrl: string;
|
|
3784
3661
|
ipAddress?: string | undefined;
|
|
3662
|
+
stripeAmountInCents?: number | undefined;
|
|
3785
3663
|
} | null;
|
|
3786
3664
|
creatorAddress: string | null;
|
|
3787
3665
|
partnerId: string | null;
|
|
3788
3666
|
oneClickBuyUrl: string | null;
|
|
3789
3667
|
stripePaymentIntentId: string | null;
|
|
3790
|
-
permit: {
|
|
3791
|
-
ownerAddress: string;
|
|
3792
|
-
deadline: number;
|
|
3793
|
-
v: number;
|
|
3794
|
-
r: string;
|
|
3795
|
-
s: string;
|
|
3796
|
-
} | null;
|
|
3797
3668
|
payload: {
|
|
3798
3669
|
contractAddress: string;
|
|
3799
3670
|
fundAmount: string;
|
|
@@ -3841,18 +3712,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3841
3712
|
paymentMethod: string;
|
|
3842
3713
|
redirectUrl: string;
|
|
3843
3714
|
ipAddress?: string | undefined;
|
|
3715
|
+
stripeAmountInCents?: number | undefined;
|
|
3844
3716
|
} | null;
|
|
3845
3717
|
creatorAddress: string | null;
|
|
3846
3718
|
partnerId: string | null;
|
|
3847
3719
|
oneClickBuyUrl: string | null;
|
|
3848
3720
|
stripePaymentIntentId: string | null;
|
|
3849
|
-
permit: {
|
|
3850
|
-
ownerAddress: string;
|
|
3851
|
-
deadline: number;
|
|
3852
|
-
v: number;
|
|
3853
|
-
r: string;
|
|
3854
|
-
s: string;
|
|
3855
|
-
} | null;
|
|
3856
3721
|
payload: {
|
|
3857
3722
|
data: string;
|
|
3858
3723
|
to: string;
|
|
@@ -3906,18 +3771,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3906
3771
|
paymentMethod: string;
|
|
3907
3772
|
redirectUrl: string;
|
|
3908
3773
|
ipAddress?: string | undefined;
|
|
3774
|
+
stripeAmountInCents?: number | undefined;
|
|
3909
3775
|
} | null;
|
|
3910
3776
|
creatorAddress: string | null;
|
|
3911
3777
|
partnerId: string | null;
|
|
3912
3778
|
oneClickBuyUrl: string | null;
|
|
3913
3779
|
stripePaymentIntentId: string | null;
|
|
3914
|
-
permit: {
|
|
3915
|
-
ownerAddress: string;
|
|
3916
|
-
deadline: number;
|
|
3917
|
-
v: number;
|
|
3918
|
-
r: string;
|
|
3919
|
-
s: string;
|
|
3920
|
-
} | null;
|
|
3921
3780
|
payload: {
|
|
3922
3781
|
expectedDstAmount: string;
|
|
3923
3782
|
actualDstAmount: string | null;
|
|
@@ -3978,18 +3837,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
3978
3837
|
paymentMethod: string;
|
|
3979
3838
|
redirectUrl: string;
|
|
3980
3839
|
ipAddress?: string | undefined;
|
|
3840
|
+
stripeAmountInCents?: number | undefined;
|
|
3981
3841
|
} | null;
|
|
3982
3842
|
creatorAddress: string | null;
|
|
3983
3843
|
partnerId: string | null;
|
|
3984
3844
|
oneClickBuyUrl: string | null;
|
|
3985
3845
|
stripePaymentIntentId: string | null;
|
|
3986
|
-
permit: {
|
|
3987
|
-
ownerAddress: string;
|
|
3988
|
-
deadline: number;
|
|
3989
|
-
v: number;
|
|
3990
|
-
r: string;
|
|
3991
|
-
s: string;
|
|
3992
|
-
} | null;
|
|
3993
3846
|
payload: {
|
|
3994
3847
|
contractAddress: string;
|
|
3995
3848
|
tokenId: number | null;
|
|
@@ -4044,18 +3897,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4044
3897
|
paymentMethod: string;
|
|
4045
3898
|
redirectUrl: string;
|
|
4046
3899
|
ipAddress?: string | undefined;
|
|
3900
|
+
stripeAmountInCents?: number | undefined;
|
|
4047
3901
|
} | null;
|
|
4048
3902
|
creatorAddress: string | null;
|
|
4049
3903
|
partnerId: string | null;
|
|
4050
3904
|
oneClickBuyUrl: string | null;
|
|
4051
3905
|
stripePaymentIntentId: string | null;
|
|
4052
|
-
permit: {
|
|
4053
|
-
ownerAddress: string;
|
|
4054
|
-
deadline: number;
|
|
4055
|
-
v: number;
|
|
4056
|
-
r: string;
|
|
4057
|
-
s: string;
|
|
4058
|
-
} | null;
|
|
4059
3906
|
payload: {
|
|
4060
3907
|
contractAddress: string;
|
|
4061
3908
|
entryPrice: string;
|
|
@@ -4108,18 +3955,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4108
3955
|
paymentMethod: string;
|
|
4109
3956
|
redirectUrl: string;
|
|
4110
3957
|
ipAddress?: string | undefined;
|
|
3958
|
+
stripeAmountInCents?: number | undefined;
|
|
4111
3959
|
} | null;
|
|
4112
3960
|
creatorAddress: string | null;
|
|
4113
3961
|
partnerId: string | null;
|
|
4114
3962
|
oneClickBuyUrl: string | null;
|
|
4115
3963
|
stripePaymentIntentId: string | null;
|
|
4116
|
-
permit: {
|
|
4117
|
-
ownerAddress: string;
|
|
4118
|
-
deadline: number;
|
|
4119
|
-
v: number;
|
|
4120
|
-
r: string;
|
|
4121
|
-
s: string;
|
|
4122
|
-
} | null;
|
|
4123
3964
|
payload: {
|
|
4124
3965
|
contractAddress: string;
|
|
4125
3966
|
fundAmount: string;
|
|
@@ -4167,18 +4008,12 @@ export declare const zCreateOrderResponse: z.ZodObject<{
|
|
|
4167
4008
|
paymentMethod: string;
|
|
4168
4009
|
redirectUrl: string;
|
|
4169
4010
|
ipAddress?: string | undefined;
|
|
4011
|
+
stripeAmountInCents?: number | undefined;
|
|
4170
4012
|
} | null;
|
|
4171
4013
|
creatorAddress: string | null;
|
|
4172
4014
|
partnerId: string | null;
|
|
4173
4015
|
oneClickBuyUrl: string | null;
|
|
4174
4016
|
stripePaymentIntentId: string | null;
|
|
4175
|
-
permit: {
|
|
4176
|
-
ownerAddress: string;
|
|
4177
|
-
deadline: number;
|
|
4178
|
-
v: number;
|
|
4179
|
-
r: string;
|
|
4180
|
-
s: string;
|
|
4181
|
-
} | null;
|
|
4182
4017
|
payload: {
|
|
4183
4018
|
data: string;
|
|
4184
4019
|
to: string;
|