@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
|
@@ -39,42 +39,26 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
39
39
|
paymentMethod: z.ZodString;
|
|
40
40
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
41
41
|
redirectUrl: z.ZodString;
|
|
42
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
42
43
|
}, "strip", z.ZodTypeAny, {
|
|
43
44
|
country: string;
|
|
44
45
|
vendor: import("..").OnrampVendor;
|
|
45
46
|
paymentMethod: string;
|
|
46
47
|
redirectUrl: string;
|
|
47
48
|
ipAddress?: string | undefined;
|
|
49
|
+
stripeAmountInCents?: number | undefined;
|
|
48
50
|
}, {
|
|
49
51
|
country: string;
|
|
50
52
|
vendor: import("..").OnrampVendor;
|
|
51
53
|
paymentMethod: string;
|
|
52
54
|
redirectUrl: string;
|
|
53
55
|
ipAddress?: string | undefined;
|
|
56
|
+
stripeAmountInCents?: number | undefined;
|
|
54
57
|
}>>;
|
|
55
58
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
56
59
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
57
60
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
58
61
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
59
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
60
|
-
ownerAddress: z.ZodString;
|
|
61
|
-
deadline: z.ZodNumber;
|
|
62
|
-
v: z.ZodNumber;
|
|
63
|
-
r: z.ZodString;
|
|
64
|
-
s: z.ZodString;
|
|
65
|
-
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
ownerAddress: string;
|
|
67
|
-
deadline: number;
|
|
68
|
-
v: number;
|
|
69
|
-
r: string;
|
|
70
|
-
s: string;
|
|
71
|
-
}, {
|
|
72
|
-
ownerAddress: string;
|
|
73
|
-
deadline: number;
|
|
74
|
-
v: number;
|
|
75
|
-
r: string;
|
|
76
|
-
s: string;
|
|
77
|
-
}>>;
|
|
78
62
|
} & {
|
|
79
63
|
type: z.ZodLiteral<import("../order").OrderType.Swap>;
|
|
80
64
|
payload: z.ZodObject<{
|
|
@@ -237,18 +221,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
237
221
|
paymentMethod: string;
|
|
238
222
|
redirectUrl: string;
|
|
239
223
|
ipAddress?: string | undefined;
|
|
224
|
+
stripeAmountInCents?: number | undefined;
|
|
240
225
|
} | null;
|
|
241
226
|
creatorAddress: string | null;
|
|
242
227
|
partnerId: string | null;
|
|
243
228
|
oneClickBuyUrl: string | null;
|
|
244
229
|
stripePaymentIntentId: string | null;
|
|
245
|
-
permit: {
|
|
246
|
-
ownerAddress: string;
|
|
247
|
-
deadline: number;
|
|
248
|
-
v: number;
|
|
249
|
-
r: string;
|
|
250
|
-
s: string;
|
|
251
|
-
} | null;
|
|
252
230
|
payload: {
|
|
253
231
|
expectedDstAmount: string;
|
|
254
232
|
actualDstAmount: string | null;
|
|
@@ -295,18 +273,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
295
273
|
paymentMethod: string;
|
|
296
274
|
redirectUrl: string;
|
|
297
275
|
ipAddress?: string | undefined;
|
|
276
|
+
stripeAmountInCents?: number | undefined;
|
|
298
277
|
} | null;
|
|
299
278
|
creatorAddress: string | null;
|
|
300
279
|
partnerId: string | null;
|
|
301
280
|
oneClickBuyUrl: string | null;
|
|
302
281
|
stripePaymentIntentId: string | null;
|
|
303
|
-
permit: {
|
|
304
|
-
ownerAddress: string;
|
|
305
|
-
deadline: number;
|
|
306
|
-
v: number;
|
|
307
|
-
r: string;
|
|
308
|
-
s: string;
|
|
309
|
-
} | null;
|
|
310
282
|
payload: {
|
|
311
283
|
expectedDstAmount: string;
|
|
312
284
|
actualDstAmount: string | null;
|
|
@@ -330,52 +302,42 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
330
302
|
paymentMethod: z.ZodString;
|
|
331
303
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
332
304
|
redirectUrl: z.ZodString;
|
|
305
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
333
306
|
}, "strip", z.ZodTypeAny, {
|
|
334
307
|
country: string;
|
|
335
308
|
vendor: import("..").OnrampVendor;
|
|
336
309
|
paymentMethod: string;
|
|
337
310
|
redirectUrl: string;
|
|
338
311
|
ipAddress?: string | undefined;
|
|
312
|
+
stripeAmountInCents?: number | undefined;
|
|
339
313
|
}, {
|
|
340
314
|
country: string;
|
|
341
315
|
vendor: import("..").OnrampVendor;
|
|
342
316
|
paymentMethod: string;
|
|
343
317
|
redirectUrl: string;
|
|
344
318
|
ipAddress?: string | undefined;
|
|
319
|
+
stripeAmountInCents?: number | undefined;
|
|
345
320
|
}>>;
|
|
346
321
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
347
322
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
348
323
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
349
324
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
350
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
351
|
-
ownerAddress: z.ZodString;
|
|
352
|
-
deadline: z.ZodNumber;
|
|
353
|
-
v: z.ZodNumber;
|
|
354
|
-
r: z.ZodString;
|
|
355
|
-
s: z.ZodString;
|
|
356
|
-
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
ownerAddress: string;
|
|
358
|
-
deadline: number;
|
|
359
|
-
v: number;
|
|
360
|
-
r: string;
|
|
361
|
-
s: string;
|
|
362
|
-
}, {
|
|
363
|
-
ownerAddress: string;
|
|
364
|
-
deadline: number;
|
|
365
|
-
v: number;
|
|
366
|
-
r: string;
|
|
367
|
-
s: string;
|
|
368
|
-
}>>;
|
|
369
325
|
} & {
|
|
370
326
|
type: z.ZodLiteral<import("../order").OrderType.MintNFT>;
|
|
371
327
|
payload: z.ZodObject<{
|
|
372
328
|
contractAddress: z.ZodString;
|
|
329
|
+
tokenId: z.ZodNullable<z.ZodNumber>;
|
|
330
|
+
contractType: z.ZodNativeEnum<typeof import("..").NftType>;
|
|
373
331
|
nftPrice: z.ZodString;
|
|
374
332
|
}, "strip", z.ZodTypeAny, {
|
|
375
333
|
contractAddress: string;
|
|
334
|
+
tokenId: number | null;
|
|
335
|
+
contractType: import("..").NftType;
|
|
376
336
|
nftPrice: string;
|
|
377
337
|
}, {
|
|
378
338
|
contractAddress: string;
|
|
339
|
+
tokenId: number | null;
|
|
340
|
+
contractType: import("..").NftType;
|
|
379
341
|
nftPrice: string;
|
|
380
342
|
}>;
|
|
381
343
|
metadata: z.ZodObject<{
|
|
@@ -612,20 +574,16 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
612
574
|
paymentMethod: string;
|
|
613
575
|
redirectUrl: string;
|
|
614
576
|
ipAddress?: string | undefined;
|
|
577
|
+
stripeAmountInCents?: number | undefined;
|
|
615
578
|
} | null;
|
|
616
579
|
creatorAddress: string | null;
|
|
617
580
|
partnerId: string | null;
|
|
618
581
|
oneClickBuyUrl: string | null;
|
|
619
582
|
stripePaymentIntentId: string | null;
|
|
620
|
-
permit: {
|
|
621
|
-
ownerAddress: string;
|
|
622
|
-
deadline: number;
|
|
623
|
-
v: number;
|
|
624
|
-
r: string;
|
|
625
|
-
s: string;
|
|
626
|
-
} | null;
|
|
627
583
|
payload: {
|
|
628
584
|
contractAddress: string;
|
|
585
|
+
tokenId: number | null;
|
|
586
|
+
contractType: import("..").NftType;
|
|
629
587
|
nftPrice: string;
|
|
630
588
|
};
|
|
631
589
|
}, {
|
|
@@ -684,20 +642,16 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
684
642
|
paymentMethod: string;
|
|
685
643
|
redirectUrl: string;
|
|
686
644
|
ipAddress?: string | undefined;
|
|
645
|
+
stripeAmountInCents?: number | undefined;
|
|
687
646
|
} | null;
|
|
688
647
|
creatorAddress: string | null;
|
|
689
648
|
partnerId: string | null;
|
|
690
649
|
oneClickBuyUrl: string | null;
|
|
691
650
|
stripePaymentIntentId: string | null;
|
|
692
|
-
permit: {
|
|
693
|
-
ownerAddress: string;
|
|
694
|
-
deadline: number;
|
|
695
|
-
v: number;
|
|
696
|
-
r: string;
|
|
697
|
-
s: string;
|
|
698
|
-
} | null;
|
|
699
651
|
payload: {
|
|
700
652
|
contractAddress: string;
|
|
653
|
+
tokenId: number | null;
|
|
654
|
+
contractType: import("..").NftType;
|
|
701
655
|
nftPrice: string;
|
|
702
656
|
};
|
|
703
657
|
}>, z.ZodObject<{
|
|
@@ -719,42 +673,26 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
719
673
|
paymentMethod: z.ZodString;
|
|
720
674
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
721
675
|
redirectUrl: z.ZodString;
|
|
676
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
722
677
|
}, "strip", z.ZodTypeAny, {
|
|
723
678
|
country: string;
|
|
724
679
|
vendor: import("..").OnrampVendor;
|
|
725
680
|
paymentMethod: string;
|
|
726
681
|
redirectUrl: string;
|
|
727
682
|
ipAddress?: string | undefined;
|
|
683
|
+
stripeAmountInCents?: number | undefined;
|
|
728
684
|
}, {
|
|
729
685
|
country: string;
|
|
730
686
|
vendor: import("..").OnrampVendor;
|
|
731
687
|
paymentMethod: string;
|
|
732
688
|
redirectUrl: string;
|
|
733
689
|
ipAddress?: string | undefined;
|
|
690
|
+
stripeAmountInCents?: number | undefined;
|
|
734
691
|
}>>;
|
|
735
692
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
736
693
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
737
694
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
738
695
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
739
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
740
|
-
ownerAddress: z.ZodString;
|
|
741
|
-
deadline: z.ZodNumber;
|
|
742
|
-
v: z.ZodNumber;
|
|
743
|
-
r: z.ZodString;
|
|
744
|
-
s: z.ZodString;
|
|
745
|
-
}, "strip", z.ZodTypeAny, {
|
|
746
|
-
ownerAddress: string;
|
|
747
|
-
deadline: number;
|
|
748
|
-
v: number;
|
|
749
|
-
r: string;
|
|
750
|
-
s: string;
|
|
751
|
-
}, {
|
|
752
|
-
ownerAddress: string;
|
|
753
|
-
deadline: number;
|
|
754
|
-
v: number;
|
|
755
|
-
r: string;
|
|
756
|
-
s: string;
|
|
757
|
-
}>>;
|
|
758
696
|
} & {
|
|
759
697
|
type: z.ZodLiteral<import("../order").OrderType.JoinTournament>;
|
|
760
698
|
payload: z.ZodObject<{
|
|
@@ -951,18 +889,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
951
889
|
paymentMethod: string;
|
|
952
890
|
redirectUrl: string;
|
|
953
891
|
ipAddress?: string | undefined;
|
|
892
|
+
stripeAmountInCents?: number | undefined;
|
|
954
893
|
} | null;
|
|
955
894
|
creatorAddress: string | null;
|
|
956
895
|
partnerId: string | null;
|
|
957
896
|
oneClickBuyUrl: string | null;
|
|
958
897
|
stripePaymentIntentId: string | null;
|
|
959
|
-
permit: {
|
|
960
|
-
ownerAddress: string;
|
|
961
|
-
deadline: number;
|
|
962
|
-
v: number;
|
|
963
|
-
r: string;
|
|
964
|
-
s: string;
|
|
965
|
-
} | null;
|
|
966
898
|
payload: {
|
|
967
899
|
contractAddress: string;
|
|
968
900
|
entryPrice: string;
|
|
@@ -1015,18 +947,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1015
947
|
paymentMethod: string;
|
|
1016
948
|
redirectUrl: string;
|
|
1017
949
|
ipAddress?: string | undefined;
|
|
950
|
+
stripeAmountInCents?: number | undefined;
|
|
1018
951
|
} | null;
|
|
1019
952
|
creatorAddress: string | null;
|
|
1020
953
|
partnerId: string | null;
|
|
1021
954
|
oneClickBuyUrl: string | null;
|
|
1022
955
|
stripePaymentIntentId: string | null;
|
|
1023
|
-
permit: {
|
|
1024
|
-
ownerAddress: string;
|
|
1025
|
-
deadline: number;
|
|
1026
|
-
v: number;
|
|
1027
|
-
r: string;
|
|
1028
|
-
s: string;
|
|
1029
|
-
} | null;
|
|
1030
956
|
payload: {
|
|
1031
957
|
contractAddress: string;
|
|
1032
958
|
entryPrice: string;
|
|
@@ -1050,42 +976,26 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1050
976
|
paymentMethod: z.ZodString;
|
|
1051
977
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1052
978
|
redirectUrl: z.ZodString;
|
|
979
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1053
980
|
}, "strip", z.ZodTypeAny, {
|
|
1054
981
|
country: string;
|
|
1055
982
|
vendor: import("..").OnrampVendor;
|
|
1056
983
|
paymentMethod: string;
|
|
1057
984
|
redirectUrl: string;
|
|
1058
985
|
ipAddress?: string | undefined;
|
|
986
|
+
stripeAmountInCents?: number | undefined;
|
|
1059
987
|
}, {
|
|
1060
988
|
country: string;
|
|
1061
989
|
vendor: import("..").OnrampVendor;
|
|
1062
990
|
paymentMethod: string;
|
|
1063
991
|
redirectUrl: string;
|
|
1064
992
|
ipAddress?: string | undefined;
|
|
993
|
+
stripeAmountInCents?: number | undefined;
|
|
1065
994
|
}>>;
|
|
1066
995
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1067
996
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
1068
997
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
1069
998
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
1070
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
1071
|
-
ownerAddress: z.ZodString;
|
|
1072
|
-
deadline: z.ZodNumber;
|
|
1073
|
-
v: z.ZodNumber;
|
|
1074
|
-
r: z.ZodString;
|
|
1075
|
-
s: z.ZodString;
|
|
1076
|
-
}, "strip", z.ZodTypeAny, {
|
|
1077
|
-
ownerAddress: string;
|
|
1078
|
-
deadline: number;
|
|
1079
|
-
v: number;
|
|
1080
|
-
r: string;
|
|
1081
|
-
s: string;
|
|
1082
|
-
}, {
|
|
1083
|
-
ownerAddress: string;
|
|
1084
|
-
deadline: number;
|
|
1085
|
-
v: number;
|
|
1086
|
-
r: string;
|
|
1087
|
-
s: string;
|
|
1088
|
-
}>>;
|
|
1089
999
|
} & {
|
|
1090
1000
|
type: z.ZodLiteral<import("../order").OrderType.FundTournament>;
|
|
1091
1001
|
payload: z.ZodObject<{
|
|
@@ -1282,18 +1192,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1282
1192
|
paymentMethod: string;
|
|
1283
1193
|
redirectUrl: string;
|
|
1284
1194
|
ipAddress?: string | undefined;
|
|
1195
|
+
stripeAmountInCents?: number | undefined;
|
|
1285
1196
|
} | null;
|
|
1286
1197
|
creatorAddress: string | null;
|
|
1287
1198
|
partnerId: string | null;
|
|
1288
1199
|
oneClickBuyUrl: string | null;
|
|
1289
1200
|
stripePaymentIntentId: string | null;
|
|
1290
|
-
permit: {
|
|
1291
|
-
ownerAddress: string;
|
|
1292
|
-
deadline: number;
|
|
1293
|
-
v: number;
|
|
1294
|
-
r: string;
|
|
1295
|
-
s: string;
|
|
1296
|
-
} | null;
|
|
1297
1201
|
payload: {
|
|
1298
1202
|
contractAddress: string;
|
|
1299
1203
|
fundAmount: string;
|
|
@@ -1346,18 +1250,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1346
1250
|
paymentMethod: string;
|
|
1347
1251
|
redirectUrl: string;
|
|
1348
1252
|
ipAddress?: string | undefined;
|
|
1253
|
+
stripeAmountInCents?: number | undefined;
|
|
1349
1254
|
} | null;
|
|
1350
1255
|
creatorAddress: string | null;
|
|
1351
1256
|
partnerId: string | null;
|
|
1352
1257
|
oneClickBuyUrl: string | null;
|
|
1353
1258
|
stripePaymentIntentId: string | null;
|
|
1354
|
-
permit: {
|
|
1355
|
-
ownerAddress: string;
|
|
1356
|
-
deadline: number;
|
|
1357
|
-
v: number;
|
|
1358
|
-
r: string;
|
|
1359
|
-
s: string;
|
|
1360
|
-
} | null;
|
|
1361
1259
|
payload: {
|
|
1362
1260
|
contractAddress: string;
|
|
1363
1261
|
fundAmount: string;
|
|
@@ -1381,42 +1279,26 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1381
1279
|
paymentMethod: z.ZodString;
|
|
1382
1280
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1383
1281
|
redirectUrl: z.ZodString;
|
|
1282
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1384
1283
|
}, "strip", z.ZodTypeAny, {
|
|
1385
1284
|
country: string;
|
|
1386
1285
|
vendor: import("..").OnrampVendor;
|
|
1387
1286
|
paymentMethod: string;
|
|
1388
1287
|
redirectUrl: string;
|
|
1389
1288
|
ipAddress?: string | undefined;
|
|
1289
|
+
stripeAmountInCents?: number | undefined;
|
|
1390
1290
|
}, {
|
|
1391
1291
|
country: string;
|
|
1392
1292
|
vendor: import("..").OnrampVendor;
|
|
1393
1293
|
paymentMethod: string;
|
|
1394
1294
|
redirectUrl: string;
|
|
1395
1295
|
ipAddress?: string | undefined;
|
|
1296
|
+
stripeAmountInCents?: number | undefined;
|
|
1396
1297
|
}>>;
|
|
1397
1298
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1398
1299
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
1399
1300
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
1400
1301
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
1401
|
-
permit: z.ZodNullable<z.ZodObject<{
|
|
1402
|
-
ownerAddress: z.ZodString;
|
|
1403
|
-
deadline: z.ZodNumber;
|
|
1404
|
-
v: z.ZodNumber;
|
|
1405
|
-
r: z.ZodString;
|
|
1406
|
-
s: z.ZodString;
|
|
1407
|
-
}, "strip", z.ZodTypeAny, {
|
|
1408
|
-
ownerAddress: string;
|
|
1409
|
-
deadline: number;
|
|
1410
|
-
v: number;
|
|
1411
|
-
r: string;
|
|
1412
|
-
s: string;
|
|
1413
|
-
}, {
|
|
1414
|
-
ownerAddress: string;
|
|
1415
|
-
deadline: number;
|
|
1416
|
-
v: number;
|
|
1417
|
-
r: string;
|
|
1418
|
-
s: string;
|
|
1419
|
-
}>>;
|
|
1420
1302
|
} & {
|
|
1421
1303
|
type: z.ZodLiteral<import("../order").OrderType.Custom>;
|
|
1422
1304
|
payload: z.ZodObject<{
|
|
@@ -1589,18 +1471,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1589
1471
|
paymentMethod: string;
|
|
1590
1472
|
redirectUrl: string;
|
|
1591
1473
|
ipAddress?: string | undefined;
|
|
1474
|
+
stripeAmountInCents?: number | undefined;
|
|
1592
1475
|
} | null;
|
|
1593
1476
|
creatorAddress: string | null;
|
|
1594
1477
|
partnerId: string | null;
|
|
1595
1478
|
oneClickBuyUrl: string | null;
|
|
1596
1479
|
stripePaymentIntentId: string | null;
|
|
1597
|
-
permit: {
|
|
1598
|
-
ownerAddress: string;
|
|
1599
|
-
deadline: number;
|
|
1600
|
-
v: number;
|
|
1601
|
-
r: string;
|
|
1602
|
-
s: string;
|
|
1603
|
-
} | null;
|
|
1604
1480
|
payload: {
|
|
1605
1481
|
data: string;
|
|
1606
1482
|
to: string;
|
|
@@ -1650,18 +1526,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1650
1526
|
paymentMethod: string;
|
|
1651
1527
|
redirectUrl: string;
|
|
1652
1528
|
ipAddress?: string | undefined;
|
|
1529
|
+
stripeAmountInCents?: number | undefined;
|
|
1653
1530
|
} | null;
|
|
1654
1531
|
creatorAddress: string | null;
|
|
1655
1532
|
partnerId: string | null;
|
|
1656
1533
|
oneClickBuyUrl: string | null;
|
|
1657
1534
|
stripePaymentIntentId: string | null;
|
|
1658
|
-
permit: {
|
|
1659
|
-
ownerAddress: string;
|
|
1660
|
-
deadline: number;
|
|
1661
|
-
v: number;
|
|
1662
|
-
r: string;
|
|
1663
|
-
s: string;
|
|
1664
|
-
} | null;
|
|
1665
1535
|
payload: {
|
|
1666
1536
|
data: string;
|
|
1667
1537
|
to: string;
|
|
@@ -1791,18 +1661,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1791
1661
|
paymentMethod: string;
|
|
1792
1662
|
redirectUrl: string;
|
|
1793
1663
|
ipAddress?: string | undefined;
|
|
1664
|
+
stripeAmountInCents?: number | undefined;
|
|
1794
1665
|
} | null;
|
|
1795
1666
|
creatorAddress: string | null;
|
|
1796
1667
|
partnerId: string | null;
|
|
1797
1668
|
oneClickBuyUrl: string | null;
|
|
1798
1669
|
stripePaymentIntentId: string | null;
|
|
1799
|
-
permit: {
|
|
1800
|
-
ownerAddress: string;
|
|
1801
|
-
deadline: number;
|
|
1802
|
-
v: number;
|
|
1803
|
-
r: string;
|
|
1804
|
-
s: string;
|
|
1805
|
-
} | null;
|
|
1806
1670
|
payload: {
|
|
1807
1671
|
expectedDstAmount: string;
|
|
1808
1672
|
actualDstAmount: string | null;
|
|
@@ -1863,20 +1727,16 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1863
1727
|
paymentMethod: string;
|
|
1864
1728
|
redirectUrl: string;
|
|
1865
1729
|
ipAddress?: string | undefined;
|
|
1730
|
+
stripeAmountInCents?: number | undefined;
|
|
1866
1731
|
} | null;
|
|
1867
1732
|
creatorAddress: string | null;
|
|
1868
1733
|
partnerId: string | null;
|
|
1869
1734
|
oneClickBuyUrl: string | null;
|
|
1870
1735
|
stripePaymentIntentId: string | null;
|
|
1871
|
-
permit: {
|
|
1872
|
-
ownerAddress: string;
|
|
1873
|
-
deadline: number;
|
|
1874
|
-
v: number;
|
|
1875
|
-
r: string;
|
|
1876
|
-
s: string;
|
|
1877
|
-
} | null;
|
|
1878
1736
|
payload: {
|
|
1879
1737
|
contractAddress: string;
|
|
1738
|
+
tokenId: number | null;
|
|
1739
|
+
contractType: import("..").NftType;
|
|
1880
1740
|
nftPrice: string;
|
|
1881
1741
|
};
|
|
1882
1742
|
} | {
|
|
@@ -1927,18 +1787,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1927
1787
|
paymentMethod: string;
|
|
1928
1788
|
redirectUrl: string;
|
|
1929
1789
|
ipAddress?: string | undefined;
|
|
1790
|
+
stripeAmountInCents?: number | undefined;
|
|
1930
1791
|
} | null;
|
|
1931
1792
|
creatorAddress: string | null;
|
|
1932
1793
|
partnerId: string | null;
|
|
1933
1794
|
oneClickBuyUrl: string | null;
|
|
1934
1795
|
stripePaymentIntentId: string | null;
|
|
1935
|
-
permit: {
|
|
1936
|
-
ownerAddress: string;
|
|
1937
|
-
deadline: number;
|
|
1938
|
-
v: number;
|
|
1939
|
-
r: string;
|
|
1940
|
-
s: string;
|
|
1941
|
-
} | null;
|
|
1942
1796
|
payload: {
|
|
1943
1797
|
contractAddress: string;
|
|
1944
1798
|
entryPrice: string;
|
|
@@ -1991,18 +1845,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1991
1845
|
paymentMethod: string;
|
|
1992
1846
|
redirectUrl: string;
|
|
1993
1847
|
ipAddress?: string | undefined;
|
|
1848
|
+
stripeAmountInCents?: number | undefined;
|
|
1994
1849
|
} | null;
|
|
1995
1850
|
creatorAddress: string | null;
|
|
1996
1851
|
partnerId: string | null;
|
|
1997
1852
|
oneClickBuyUrl: string | null;
|
|
1998
1853
|
stripePaymentIntentId: string | null;
|
|
1999
|
-
permit: {
|
|
2000
|
-
ownerAddress: string;
|
|
2001
|
-
deadline: number;
|
|
2002
|
-
v: number;
|
|
2003
|
-
r: string;
|
|
2004
|
-
s: string;
|
|
2005
|
-
} | null;
|
|
2006
1854
|
payload: {
|
|
2007
1855
|
contractAddress: string;
|
|
2008
1856
|
fundAmount: string;
|
|
@@ -2050,18 +1898,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2050
1898
|
paymentMethod: string;
|
|
2051
1899
|
redirectUrl: string;
|
|
2052
1900
|
ipAddress?: string | undefined;
|
|
1901
|
+
stripeAmountInCents?: number | undefined;
|
|
2053
1902
|
} | null;
|
|
2054
1903
|
creatorAddress: string | null;
|
|
2055
1904
|
partnerId: string | null;
|
|
2056
1905
|
oneClickBuyUrl: string | null;
|
|
2057
1906
|
stripePaymentIntentId: string | null;
|
|
2058
|
-
permit: {
|
|
2059
|
-
ownerAddress: string;
|
|
2060
|
-
deadline: number;
|
|
2061
|
-
v: number;
|
|
2062
|
-
r: string;
|
|
2063
|
-
s: string;
|
|
2064
|
-
} | null;
|
|
2065
1907
|
payload: {
|
|
2066
1908
|
data: string;
|
|
2067
1909
|
to: string;
|
|
@@ -2141,18 +1983,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2141
1983
|
paymentMethod: string;
|
|
2142
1984
|
redirectUrl: string;
|
|
2143
1985
|
ipAddress?: string | undefined;
|
|
1986
|
+
stripeAmountInCents?: number | undefined;
|
|
2144
1987
|
} | null;
|
|
2145
1988
|
creatorAddress: string | null;
|
|
2146
1989
|
partnerId: string | null;
|
|
2147
1990
|
oneClickBuyUrl: string | null;
|
|
2148
1991
|
stripePaymentIntentId: string | null;
|
|
2149
|
-
permit: {
|
|
2150
|
-
ownerAddress: string;
|
|
2151
|
-
deadline: number;
|
|
2152
|
-
v: number;
|
|
2153
|
-
r: string;
|
|
2154
|
-
s: string;
|
|
2155
|
-
} | null;
|
|
2156
1992
|
payload: {
|
|
2157
1993
|
expectedDstAmount: string;
|
|
2158
1994
|
actualDstAmount: string | null;
|
|
@@ -2213,20 +2049,16 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2213
2049
|
paymentMethod: string;
|
|
2214
2050
|
redirectUrl: string;
|
|
2215
2051
|
ipAddress?: string | undefined;
|
|
2052
|
+
stripeAmountInCents?: number | undefined;
|
|
2216
2053
|
} | null;
|
|
2217
2054
|
creatorAddress: string | null;
|
|
2218
2055
|
partnerId: string | null;
|
|
2219
2056
|
oneClickBuyUrl: string | null;
|
|
2220
2057
|
stripePaymentIntentId: string | null;
|
|
2221
|
-
permit: {
|
|
2222
|
-
ownerAddress: string;
|
|
2223
|
-
deadline: number;
|
|
2224
|
-
v: number;
|
|
2225
|
-
r: string;
|
|
2226
|
-
s: string;
|
|
2227
|
-
} | null;
|
|
2228
2058
|
payload: {
|
|
2229
2059
|
contractAddress: string;
|
|
2060
|
+
tokenId: number | null;
|
|
2061
|
+
contractType: import("..").NftType;
|
|
2230
2062
|
nftPrice: string;
|
|
2231
2063
|
};
|
|
2232
2064
|
} | {
|
|
@@ -2277,18 +2109,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2277
2109
|
paymentMethod: string;
|
|
2278
2110
|
redirectUrl: string;
|
|
2279
2111
|
ipAddress?: string | undefined;
|
|
2112
|
+
stripeAmountInCents?: number | undefined;
|
|
2280
2113
|
} | null;
|
|
2281
2114
|
creatorAddress: string | null;
|
|
2282
2115
|
partnerId: string | null;
|
|
2283
2116
|
oneClickBuyUrl: string | null;
|
|
2284
2117
|
stripePaymentIntentId: string | null;
|
|
2285
|
-
permit: {
|
|
2286
|
-
ownerAddress: string;
|
|
2287
|
-
deadline: number;
|
|
2288
|
-
v: number;
|
|
2289
|
-
r: string;
|
|
2290
|
-
s: string;
|
|
2291
|
-
} | null;
|
|
2292
2118
|
payload: {
|
|
2293
2119
|
contractAddress: string;
|
|
2294
2120
|
entryPrice: string;
|
|
@@ -2341,18 +2167,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2341
2167
|
paymentMethod: string;
|
|
2342
2168
|
redirectUrl: string;
|
|
2343
2169
|
ipAddress?: string | undefined;
|
|
2170
|
+
stripeAmountInCents?: number | undefined;
|
|
2344
2171
|
} | null;
|
|
2345
2172
|
creatorAddress: string | null;
|
|
2346
2173
|
partnerId: string | null;
|
|
2347
2174
|
oneClickBuyUrl: string | null;
|
|
2348
2175
|
stripePaymentIntentId: string | null;
|
|
2349
|
-
permit: {
|
|
2350
|
-
ownerAddress: string;
|
|
2351
|
-
deadline: number;
|
|
2352
|
-
v: number;
|
|
2353
|
-
r: string;
|
|
2354
|
-
s: string;
|
|
2355
|
-
} | null;
|
|
2356
2176
|
payload: {
|
|
2357
2177
|
contractAddress: string;
|
|
2358
2178
|
fundAmount: string;
|
|
@@ -2400,18 +2220,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2400
2220
|
paymentMethod: string;
|
|
2401
2221
|
redirectUrl: string;
|
|
2402
2222
|
ipAddress?: string | undefined;
|
|
2223
|
+
stripeAmountInCents?: number | undefined;
|
|
2403
2224
|
} | null;
|
|
2404
2225
|
creatorAddress: string | null;
|
|
2405
2226
|
partnerId: string | null;
|
|
2406
2227
|
oneClickBuyUrl: string | null;
|
|
2407
2228
|
stripePaymentIntentId: string | null;
|
|
2408
|
-
permit: {
|
|
2409
|
-
ownerAddress: string;
|
|
2410
|
-
deadline: number;
|
|
2411
|
-
v: number;
|
|
2412
|
-
r: string;
|
|
2413
|
-
s: string;
|
|
2414
|
-
} | null;
|
|
2415
2229
|
payload: {
|
|
2416
2230
|
data: string;
|
|
2417
2231
|
to: string;
|
|
@@ -2495,18 +2309,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2495
2309
|
paymentMethod: string;
|
|
2496
2310
|
redirectUrl: string;
|
|
2497
2311
|
ipAddress?: string | undefined;
|
|
2312
|
+
stripeAmountInCents?: number | undefined;
|
|
2498
2313
|
} | null;
|
|
2499
2314
|
creatorAddress: string | null;
|
|
2500
2315
|
partnerId: string | null;
|
|
2501
2316
|
oneClickBuyUrl: string | null;
|
|
2502
2317
|
stripePaymentIntentId: string | null;
|
|
2503
|
-
permit: {
|
|
2504
|
-
ownerAddress: string;
|
|
2505
|
-
deadline: number;
|
|
2506
|
-
v: number;
|
|
2507
|
-
r: string;
|
|
2508
|
-
s: string;
|
|
2509
|
-
} | null;
|
|
2510
2318
|
payload: {
|
|
2511
2319
|
expectedDstAmount: string;
|
|
2512
2320
|
actualDstAmount: string | null;
|
|
@@ -2567,20 +2375,16 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2567
2375
|
paymentMethod: string;
|
|
2568
2376
|
redirectUrl: string;
|
|
2569
2377
|
ipAddress?: string | undefined;
|
|
2378
|
+
stripeAmountInCents?: number | undefined;
|
|
2570
2379
|
} | null;
|
|
2571
2380
|
creatorAddress: string | null;
|
|
2572
2381
|
partnerId: string | null;
|
|
2573
2382
|
oneClickBuyUrl: string | null;
|
|
2574
2383
|
stripePaymentIntentId: string | null;
|
|
2575
|
-
permit: {
|
|
2576
|
-
ownerAddress: string;
|
|
2577
|
-
deadline: number;
|
|
2578
|
-
v: number;
|
|
2579
|
-
r: string;
|
|
2580
|
-
s: string;
|
|
2581
|
-
} | null;
|
|
2582
2384
|
payload: {
|
|
2583
2385
|
contractAddress: string;
|
|
2386
|
+
tokenId: number | null;
|
|
2387
|
+
contractType: import("..").NftType;
|
|
2584
2388
|
nftPrice: string;
|
|
2585
2389
|
};
|
|
2586
2390
|
} | {
|
|
@@ -2631,18 +2435,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2631
2435
|
paymentMethod: string;
|
|
2632
2436
|
redirectUrl: string;
|
|
2633
2437
|
ipAddress?: string | undefined;
|
|
2438
|
+
stripeAmountInCents?: number | undefined;
|
|
2634
2439
|
} | null;
|
|
2635
2440
|
creatorAddress: string | null;
|
|
2636
2441
|
partnerId: string | null;
|
|
2637
2442
|
oneClickBuyUrl: string | null;
|
|
2638
2443
|
stripePaymentIntentId: string | null;
|
|
2639
|
-
permit: {
|
|
2640
|
-
ownerAddress: string;
|
|
2641
|
-
deadline: number;
|
|
2642
|
-
v: number;
|
|
2643
|
-
r: string;
|
|
2644
|
-
s: string;
|
|
2645
|
-
} | null;
|
|
2646
2444
|
payload: {
|
|
2647
2445
|
contractAddress: string;
|
|
2648
2446
|
entryPrice: string;
|
|
@@ -2695,18 +2493,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2695
2493
|
paymentMethod: string;
|
|
2696
2494
|
redirectUrl: string;
|
|
2697
2495
|
ipAddress?: string | undefined;
|
|
2496
|
+
stripeAmountInCents?: number | undefined;
|
|
2698
2497
|
} | null;
|
|
2699
2498
|
creatorAddress: string | null;
|
|
2700
2499
|
partnerId: string | null;
|
|
2701
2500
|
oneClickBuyUrl: string | null;
|
|
2702
2501
|
stripePaymentIntentId: string | null;
|
|
2703
|
-
permit: {
|
|
2704
|
-
ownerAddress: string;
|
|
2705
|
-
deadline: number;
|
|
2706
|
-
v: number;
|
|
2707
|
-
r: string;
|
|
2708
|
-
s: string;
|
|
2709
|
-
} | null;
|
|
2710
2502
|
payload: {
|
|
2711
2503
|
contractAddress: string;
|
|
2712
2504
|
fundAmount: string;
|
|
@@ -2754,18 +2546,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2754
2546
|
paymentMethod: string;
|
|
2755
2547
|
redirectUrl: string;
|
|
2756
2548
|
ipAddress?: string | undefined;
|
|
2549
|
+
stripeAmountInCents?: number | undefined;
|
|
2757
2550
|
} | null;
|
|
2758
2551
|
creatorAddress: string | null;
|
|
2759
2552
|
partnerId: string | null;
|
|
2760
2553
|
oneClickBuyUrl: string | null;
|
|
2761
2554
|
stripePaymentIntentId: string | null;
|
|
2762
|
-
permit: {
|
|
2763
|
-
ownerAddress: string;
|
|
2764
|
-
deadline: number;
|
|
2765
|
-
v: number;
|
|
2766
|
-
r: string;
|
|
2767
|
-
s: string;
|
|
2768
|
-
} | null;
|
|
2769
2555
|
payload: {
|
|
2770
2556
|
data: string;
|
|
2771
2557
|
to: string;
|
|
@@ -2850,18 +2636,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2850
2636
|
paymentMethod: string;
|
|
2851
2637
|
redirectUrl: string;
|
|
2852
2638
|
ipAddress?: string | undefined;
|
|
2639
|
+
stripeAmountInCents?: number | undefined;
|
|
2853
2640
|
} | null;
|
|
2854
2641
|
creatorAddress: string | null;
|
|
2855
2642
|
partnerId: string | null;
|
|
2856
2643
|
oneClickBuyUrl: string | null;
|
|
2857
2644
|
stripePaymentIntentId: string | null;
|
|
2858
|
-
permit: {
|
|
2859
|
-
ownerAddress: string;
|
|
2860
|
-
deadline: number;
|
|
2861
|
-
v: number;
|
|
2862
|
-
r: string;
|
|
2863
|
-
s: string;
|
|
2864
|
-
} | null;
|
|
2865
2645
|
payload: {
|
|
2866
2646
|
expectedDstAmount: string;
|
|
2867
2647
|
actualDstAmount: string | null;
|
|
@@ -2922,20 +2702,16 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2922
2702
|
paymentMethod: string;
|
|
2923
2703
|
redirectUrl: string;
|
|
2924
2704
|
ipAddress?: string | undefined;
|
|
2705
|
+
stripeAmountInCents?: number | undefined;
|
|
2925
2706
|
} | null;
|
|
2926
2707
|
creatorAddress: string | null;
|
|
2927
2708
|
partnerId: string | null;
|
|
2928
2709
|
oneClickBuyUrl: string | null;
|
|
2929
2710
|
stripePaymentIntentId: string | null;
|
|
2930
|
-
permit: {
|
|
2931
|
-
ownerAddress: string;
|
|
2932
|
-
deadline: number;
|
|
2933
|
-
v: number;
|
|
2934
|
-
r: string;
|
|
2935
|
-
s: string;
|
|
2936
|
-
} | null;
|
|
2937
2711
|
payload: {
|
|
2938
2712
|
contractAddress: string;
|
|
2713
|
+
tokenId: number | null;
|
|
2714
|
+
contractType: import("..").NftType;
|
|
2939
2715
|
nftPrice: string;
|
|
2940
2716
|
};
|
|
2941
2717
|
} | {
|
|
@@ -2986,18 +2762,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2986
2762
|
paymentMethod: string;
|
|
2987
2763
|
redirectUrl: string;
|
|
2988
2764
|
ipAddress?: string | undefined;
|
|
2765
|
+
stripeAmountInCents?: number | undefined;
|
|
2989
2766
|
} | null;
|
|
2990
2767
|
creatorAddress: string | null;
|
|
2991
2768
|
partnerId: string | null;
|
|
2992
2769
|
oneClickBuyUrl: string | null;
|
|
2993
2770
|
stripePaymentIntentId: string | null;
|
|
2994
|
-
permit: {
|
|
2995
|
-
ownerAddress: string;
|
|
2996
|
-
deadline: number;
|
|
2997
|
-
v: number;
|
|
2998
|
-
r: string;
|
|
2999
|
-
s: string;
|
|
3000
|
-
} | null;
|
|
3001
2771
|
payload: {
|
|
3002
2772
|
contractAddress: string;
|
|
3003
2773
|
entryPrice: string;
|
|
@@ -3050,18 +2820,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
3050
2820
|
paymentMethod: string;
|
|
3051
2821
|
redirectUrl: string;
|
|
3052
2822
|
ipAddress?: string | undefined;
|
|
2823
|
+
stripeAmountInCents?: number | undefined;
|
|
3053
2824
|
} | null;
|
|
3054
2825
|
creatorAddress: string | null;
|
|
3055
2826
|
partnerId: string | null;
|
|
3056
2827
|
oneClickBuyUrl: string | null;
|
|
3057
2828
|
stripePaymentIntentId: string | null;
|
|
3058
|
-
permit: {
|
|
3059
|
-
ownerAddress: string;
|
|
3060
|
-
deadline: number;
|
|
3061
|
-
v: number;
|
|
3062
|
-
r: string;
|
|
3063
|
-
s: string;
|
|
3064
|
-
} | null;
|
|
3065
2829
|
payload: {
|
|
3066
2830
|
contractAddress: string;
|
|
3067
2831
|
fundAmount: string;
|
|
@@ -3109,18 +2873,12 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
3109
2873
|
paymentMethod: string;
|
|
3110
2874
|
redirectUrl: string;
|
|
3111
2875
|
ipAddress?: string | undefined;
|
|
2876
|
+
stripeAmountInCents?: number | undefined;
|
|
3112
2877
|
} | null;
|
|
3113
2878
|
creatorAddress: string | null;
|
|
3114
2879
|
partnerId: string | null;
|
|
3115
2880
|
oneClickBuyUrl: string | null;
|
|
3116
2881
|
stripePaymentIntentId: string | null;
|
|
3117
|
-
permit: {
|
|
3118
|
-
ownerAddress: string;
|
|
3119
|
-
deadline: number;
|
|
3120
|
-
v: number;
|
|
3121
|
-
r: string;
|
|
3122
|
-
s: string;
|
|
3123
|
-
} | null;
|
|
3124
2882
|
payload: {
|
|
3125
2883
|
data: string;
|
|
3126
2884
|
to: string;
|