@b3dotfun/sdk 0.0.7-alpha.27 → 0.0.7-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/anyspend/abis/abi-usdc-base.js +97 -97
- package/dist/cjs/anyspend/abis/erc20-staking.js +51 -51
- package/dist/cjs/anyspend/constants/index.js +10 -13
- package/dist/cjs/anyspend/index.d.ts +2 -4
- 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 +68 -69
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +66 -68
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +4 -4
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +101 -158
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +2 -3
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +5 -7
- package/dist/cjs/anyspend/react/components/AnySpendNFTButton.js +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +20 -21
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +4 -7
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.js +1 -1
- package/dist/cjs/anyspend/react/components/common/OrderDetails.js +62 -51
- 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 +14 -15
- 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 +25 -26
- package/dist/cjs/anyspend/react/components/common/TokenBalance.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/common/TokenBalance.js +2 -2
- package/dist/cjs/anyspend/react/components/index.d.ts +0 -2
- package/dist/cjs/anyspend/react/components/index.js +1 -5
- 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 +1 -0
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.js +25 -26
- package/dist/cjs/anyspend/react/hooks/index.d.ts +2 -1
- package/dist/cjs/anyspend/react/hooks/index.js +2 -1
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +18 -3
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +6 -6
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +70 -14
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +70 -14
- 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/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.js +39 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.js +3 -3
- package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useGetGeo.js +1 -1
- package/dist/cjs/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/cjs/anyspend/react/hooks/usePermitData.js +158 -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 +6 -7
- package/dist/cjs/anyspend/services/anyspend.d.ts +40 -9
- package/dist/cjs/anyspend/services/anyspend.js +24 -11
- 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/nft.d.ts +0 -7
- package/dist/cjs/anyspend/types/nft.js +6 -8
- package/dist/cjs/anyspend/types/onramp.d.ts +0 -3
- package/dist/cjs/anyspend/types/onramp.js +1 -2
- package/dist/cjs/anyspend/types/order.d.ts +200 -40
- package/dist/cjs/anyspend/types/order.js +12 -7
- package/dist/cjs/anyspend/types/permit.d.ts +21 -0
- package/dist/cjs/anyspend/types/permit.js +11 -0
- package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +235 -98
- package/dist/cjs/anyspend/types/req-res/createOrder.js +9 -9
- package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.js +5 -5
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +305 -63
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.js +4 -4
- package/dist/cjs/anyspend/types/req-res/getOrderByCreator.js +2 -2
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +235 -49
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +0 -37
- package/dist/cjs/anyspend/types/req-res/getQuote.js +9 -14
- package/dist/cjs/anyspend/types/req-res/getTokenList.js +3 -3
- package/dist/cjs/anyspend/types/req-res/index.d.ts +1 -0
- package/dist/cjs/anyspend/types/req-res/index.js +1 -0
- package/dist/cjs/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/cjs/anyspend/types/req-res/sendPermitData.js +11 -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 +6 -2
- package/dist/cjs/anyspend/utils/orderPayload.d.ts +3 -3
- package/dist/cjs/anyspend/utils/orderPayload.js +8 -22
- package/dist/cjs/anyspend/utils/token.js +10 -10
- package/dist/cjs/global-account/app.js +4 -4
- package/dist/cjs/global-account/app.native.js +4 -4
- package/dist/cjs/global-account/bsmnt.js +4 -4
- package/dist/cjs/global-account/bsmnt.native.js +4 -4
- package/dist/cjs/global-account/react/components/B3DynamicModal.js +3 -13
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.d.ts +3 -3
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +16 -17
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.js +4 -4
- package/dist/cjs/global-account/react/components/B3Provider/types.js +1 -1
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.js +5 -5
- package/dist/cjs/global-account/react/components/MintButton/MintButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/MintButton/MintButton.js +5 -5
- package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.js +2 -2
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.js +5 -5
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +2 -2
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +2 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +17 -12
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +12 -12
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.js +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.js +9 -9
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +2 -2
- package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.js +2 -2
- package/dist/cjs/global-account/react/components/StyleRoot.js +1 -0
- package/dist/cjs/global-account/react/components/Transak/TransakModal.js +4 -4
- package/dist/cjs/global-account/react/components/custom/Button.js +5 -5
- package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.js +3 -3
- package/dist/cjs/global-account/react/components/index.d.ts +4 -4
- package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.js +1 -1
- package/dist/cjs/global-account/react/components/ui/Loading.js +2 -2
- package/dist/cjs/global-account/react/components/ui/ShinyButton.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/ShinyButton.js +3 -3
- package/dist/cjs/global-account/react/components/ui/TabSystem.js +1 -1
- package/dist/cjs/global-account/react/components/ui/Tabs.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/Tabs.js +1 -1
- package/dist/cjs/global-account/react/components/ui/badge.js +4 -4
- package/dist/cjs/global-account/react/components/ui/button.js +5 -5
- package/dist/cjs/global-account/react/components/ui/command.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/dialog.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/drawer.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/glare-card-rounded.js +12 -12
- package/dist/cjs/global-account/react/components/ui/glare-card.js +11 -11
- package/dist/cjs/global-account/react/components/ui/input.js +1 -1
- package/dist/cjs/global-account/react/components/ui/text-loop.d.ts +1 -1
- package/dist/cjs/global-account/react/components/ui/text-loop.js +2 -2
- package/dist/cjs/global-account/react/components/ui/text-shimmer.js +2 -2
- package/dist/cjs/global-account/react/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 +4 -8
- package/dist/cjs/global-account/react/hooks/useB3EnsName.js +23 -32
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.js +10 -10
- package/dist/cjs/global-account/react/hooks/useBsmntProfile.js +1 -1
- package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.js +3 -3
- package/dist/cjs/global-account/react/hooks/useClaim.js +4 -4
- package/dist/cjs/global-account/react/hooks/useConnect.js +3 -3
- package/dist/cjs/global-account/react/hooks/useExchangeRate.js +3 -3
- package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.js +7 -7
- package/dist/cjs/global-account/react/hooks/useGetGeo.js +1 -1
- package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.js +2 -2
- package/dist/cjs/global-account/react/hooks/useNativeBalance.js +6 -6
- package/dist/cjs/global-account/react/hooks/useOnchainName.js +10 -10
- package/dist/cjs/global-account/react/hooks/useOneBalance.js +2 -2
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.js +3 -3
- package/dist/cjs/global-account/react/hooks/useRouter.js +6 -6
- package/dist/cjs/global-account/react/hooks/useSiwe.js +4 -4
- package/dist/cjs/global-account/react/hooks/useTokenBalance.js +6 -6
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.js +9 -9
- package/dist/cjs/global-account/react/hooks/useTokenData.js +3 -3
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.js +14 -14
- package/dist/cjs/global-account/react/hooks/useTokenPrice.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useTokenPrice.js +6 -6
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.js +7 -7
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.d.ts +1 -1
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.js +2 -2
- package/dist/cjs/global-account/react/hooks/useURLParams.js +1 -1
- package/dist/cjs/global-account/react/stores/index.d.ts +1 -1
- package/dist/cjs/global-account/react/stores/useAuthStore.js +3 -3
- package/dist/cjs/global-account/react/stores/useModalStore.d.ts +1 -18
- package/dist/cjs/global-account/react/stores/useModalStore.js +3 -3
- package/dist/cjs/global-account/server.js +3 -3
- package/dist/cjs/global-account/types/chain-networks.js +8 -8
- package/dist/cjs/global-account/types/feature-flags.js +1 -1
- package/dist/cjs/shared/constants/chains/b3Chain.js +35 -35
- package/dist/cjs/shared/constants/chains/chainPlatformMap.js +1 -1
- package/dist/cjs/shared/constants/chains/supported.js +1 -1
- package/dist/cjs/shared/constants/index.d.ts +0 -1
- package/dist/cjs/shared/constants/index.js +2 -3
- package/dist/cjs/shared/thirdweb/initiateClient.js +2 -2
- package/dist/cjs/shared/thirdweb/openapi-ts.config.js +1 -1
- package/dist/cjs/shared/utils/b3Ens.js +4 -4
- package/dist/cjs/shared/utils/chain-transformers.js +9 -9
- package/dist/cjs/shared/utils/fetchBalances.js +4 -4
- package/dist/cjs/shared/utils/index.d.ts +0 -9
- package/dist/cjs/shared/utils/index.js +0 -17
- package/dist/cjs/shared/utils/insights.js +28 -28
- package/dist/cjs/shared/utils/ipfs.js +1 -1
- package/dist/cjs/shared/utils/number.js +3 -3
- package/dist/cjs/shared/utils/simplehash.js +22 -22
- package/dist/cjs/shared/utils/thirdweb-insights.js +15 -15
- package/dist/esm/anyspend/abis/abi-usdc-base.js +97 -97
- package/dist/esm/anyspend/abis/erc20-staking.js +51 -51
- package/dist/esm/anyspend/constants/index.js +10 -13
- package/dist/esm/anyspend/index.d.ts +2 -4
- 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 +22 -23
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +39 -41
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +4 -4
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +81 -138
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +2 -3
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +5 -7
- package/dist/esm/anyspend/react/components/AnySpendNFTButton.js +1 -1
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +21 -22
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +4 -7
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.d.ts +1 -1
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.js +1 -1
- package/dist/esm/anyspend/react/components/common/OrderDetails.js +63 -52
- 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 +8 -9
- 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 +13 -14
- package/dist/esm/anyspend/react/components/common/TokenBalance.d.ts +1 -1
- package/dist/esm/anyspend/react/components/common/TokenBalance.js +2 -2
- package/dist/esm/anyspend/react/components/index.d.ts +0 -2
- package/dist/esm/anyspend/react/components/index.js +0 -2
- 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 +1 -0
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +1 -1
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.js +15 -16
- package/dist/esm/anyspend/react/hooks/index.d.ts +2 -1
- package/dist/esm/anyspend/react/hooks/index.js +2 -1
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +18 -3
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +6 -6
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +7 -7
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +70 -14
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +2 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +70 -14
- 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/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.js +36 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendTokens.js +3 -3
- package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.js +2 -2
- package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.js +2 -2
- package/dist/esm/anyspend/react/hooks/useGetGeo.js +1 -1
- package/dist/esm/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/esm/anyspend/react/hooks/usePermitData.js +154 -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 +4 -5
- package/dist/esm/anyspend/services/anyspend.d.ts +40 -9
- package/dist/esm/anyspend/services/anyspend.js +25 -12
- 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/nft.d.ts +0 -7
- package/dist/esm/anyspend/types/nft.js +6 -8
- package/dist/esm/anyspend/types/onramp.d.ts +0 -3
- package/dist/esm/anyspend/types/onramp.js +1 -2
- package/dist/esm/anyspend/types/order.d.ts +200 -40
- package/dist/esm/anyspend/types/order.js +12 -7
- package/dist/esm/anyspend/types/permit.d.ts +21 -0
- package/dist/esm/anyspend/types/permit.js +8 -0
- package/dist/esm/anyspend/types/req-res/createOrder.d.ts +235 -98
- package/dist/esm/anyspend/types/req-res/createOrder.js +9 -9
- package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.js +5 -5
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +305 -63
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.js +4 -4
- package/dist/esm/anyspend/types/req-res/getOrderByCreator.js +2 -2
- package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +235 -49
- package/dist/esm/anyspend/types/req-res/getOrderHistory.js +1 -1
- package/dist/esm/anyspend/types/req-res/getQuote.d.ts +0 -37
- package/dist/esm/anyspend/types/req-res/getQuote.js +9 -14
- package/dist/esm/anyspend/types/req-res/getTokenList.js +3 -3
- package/dist/esm/anyspend/types/req-res/index.d.ts +1 -0
- package/dist/esm/anyspend/types/req-res/index.js +1 -0
- package/dist/esm/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/esm/anyspend/types/req-res/sendPermitData.js +8 -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 +6 -2
- package/dist/esm/anyspend/utils/orderPayload.d.ts +3 -3
- package/dist/esm/anyspend/utils/orderPayload.js +9 -23
- package/dist/esm/anyspend/utils/token.js +10 -10
- package/dist/esm/global-account/app.js +4 -4
- package/dist/esm/global-account/app.native.js +4 -4
- package/dist/esm/global-account/bsmnt.js +4 -4
- package/dist/esm/global-account/bsmnt.native.js +4 -4
- package/dist/esm/global-account/react/components/B3DynamicModal.js +4 -14
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.d.ts +3 -3
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +7 -8
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.d.ts +2 -2
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.js +4 -4
- package/dist/esm/global-account/react/components/B3Provider/types.js +1 -1
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.d.ts +1 -1
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.js +6 -6
- package/dist/esm/global-account/react/components/MintButton/MintButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/MintButton/MintButton.js +5 -5
- package/dist/esm/global-account/react/components/RelayKitProviderWrapper.js +2 -2
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +1 -1
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.js +6 -6
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +2 -1
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +13 -8
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +13 -13
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +2 -2
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.js +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.js +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.js +9 -9
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +3 -3
- package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.js +2 -2
- package/dist/esm/global-account/react/components/StyleRoot.js +1 -0
- package/dist/esm/global-account/react/components/Transak/TransakModal.js +4 -4
- package/dist/esm/global-account/react/components/custom/Button.js +5 -5
- package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.js +3 -3
- package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.js +1 -1
- package/dist/esm/global-account/react/components/index.d.ts +4 -4
- package/dist/esm/global-account/react/components/index.js +4 -4
- package/dist/esm/global-account/react/components/magicui/AnimatedLottie.js +1 -1
- package/dist/esm/global-account/react/components/ui/Loading.js +2 -2
- package/dist/esm/global-account/react/components/ui/ShinyButton.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/ShinyButton.js +3 -3
- package/dist/esm/global-account/react/components/ui/TabSystem.js +1 -1
- package/dist/esm/global-account/react/components/ui/Tabs.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/Tabs.js +1 -1
- package/dist/esm/global-account/react/components/ui/badge.js +4 -4
- package/dist/esm/global-account/react/components/ui/button.js +5 -5
- package/dist/esm/global-account/react/components/ui/command.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/command.js +1 -1
- package/dist/esm/global-account/react/components/ui/dialog.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/dialog.js +1 -1
- package/dist/esm/global-account/react/components/ui/drawer.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/drawer.js +1 -1
- package/dist/esm/global-account/react/components/ui/glare-card-rounded.js +12 -12
- package/dist/esm/global-account/react/components/ui/glare-card.js +11 -11
- package/dist/esm/global-account/react/components/ui/input.js +1 -1
- package/dist/esm/global-account/react/components/ui/text-loop.d.ts +1 -1
- package/dist/esm/global-account/react/components/ui/text-loop.js +2 -2
- package/dist/esm/global-account/react/components/ui/text-shimmer.js +2 -2
- package/dist/esm/global-account/react/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 +4 -8
- package/dist/esm/global-account/react/hooks/useB3EnsName.js +22 -34
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.js +10 -10
- package/dist/esm/global-account/react/hooks/useBsmntProfile.js +1 -1
- package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.js +3 -3
- package/dist/esm/global-account/react/hooks/useClaim.js +4 -4
- package/dist/esm/global-account/react/hooks/useConnect.js +3 -3
- package/dist/esm/global-account/react/hooks/useExchangeRate.js +3 -3
- package/dist/esm/global-account/react/hooks/useGetAllTWSigners.js +7 -7
- package/dist/esm/global-account/react/hooks/useGetGeo.js +1 -1
- package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.js +2 -2
- package/dist/esm/global-account/react/hooks/useNativeBalance.js +6 -6
- package/dist/esm/global-account/react/hooks/useOnchainName.js +10 -10
- package/dist/esm/global-account/react/hooks/useOneBalance.js +2 -2
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.js +3 -3
- package/dist/esm/global-account/react/hooks/useRouter.js +6 -6
- package/dist/esm/global-account/react/hooks/useSiwe.js +4 -4
- package/dist/esm/global-account/react/hooks/useTokenBalance.js +6 -6
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.js +9 -9
- package/dist/esm/global-account/react/hooks/useTokenData.js +3 -3
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.js +13 -13
- package/dist/esm/global-account/react/hooks/useTokenPrice.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useTokenPrice.js +6 -6
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.js +7 -7
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.d.ts +1 -1
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.js +2 -2
- package/dist/esm/global-account/react/hooks/useURLParams.js +1 -1
- package/dist/esm/global-account/react/stores/index.d.ts +1 -1
- package/dist/esm/global-account/react/stores/useAuthStore.js +3 -3
- package/dist/esm/global-account/react/stores/useModalStore.d.ts +1 -18
- package/dist/esm/global-account/react/stores/useModalStore.js +3 -3
- package/dist/esm/global-account/server.js +3 -3
- package/dist/esm/global-account/types/chain-networks.js +8 -8
- package/dist/esm/global-account/types/feature-flags.js +1 -1
- package/dist/esm/shared/constants/chains/b3Chain.js +35 -35
- package/dist/esm/shared/constants/chains/chainPlatformMap.js +1 -1
- package/dist/esm/shared/constants/chains/supported.js +1 -1
- package/dist/esm/shared/constants/index.d.ts +0 -1
- package/dist/esm/shared/constants/index.js +1 -2
- package/dist/esm/shared/thirdweb/initiateClient.js +2 -2
- package/dist/esm/shared/thirdweb/openapi-ts.config.js +1 -1
- package/dist/esm/shared/utils/b3Ens.js +4 -4
- package/dist/esm/shared/utils/chain-transformers.js +9 -9
- package/dist/esm/shared/utils/fetchBalances.js +4 -4
- package/dist/esm/shared/utils/index.d.ts +0 -9
- package/dist/esm/shared/utils/index.js +0 -15
- package/dist/esm/shared/utils/insights.js +28 -28
- package/dist/esm/shared/utils/ipfs.js +1 -1
- package/dist/esm/shared/utils/number.js +3 -3
- package/dist/esm/shared/utils/simplehash.js +23 -23
- package/dist/esm/shared/utils/thirdweb-insights.js +15 -15
- package/dist/styles/index.css +1 -1
- package/dist/types/anyspend/index.d.ts +2 -4
- package/dist/types/anyspend/react/components/AnySpend.d.ts +1 -1
- package/dist/types/anyspend/react/components/AnySpendBuySpin.d.ts +1 -1
- package/dist/types/anyspend/react/components/AnySpendCustom.d.ts +4 -4
- package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +2 -3
- package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/ChainTokenIcon.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/OrderToken.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/OrderTokenAmount.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/PanelOnrampPayment.d.ts +1 -1
- package/dist/types/anyspend/react/components/common/TokenBalance.d.ts +1 -1
- package/dist/types/anyspend/react/components/index.d.ts +0 -2
- 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 +2 -1
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +18 -3
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +0 -1
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +70 -14
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +70 -14
- package/dist/types/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/types/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/types/anyspend/services/anyspend.d.ts +40 -9
- package/dist/types/anyspend/types/index.d.ts +1 -1
- package/dist/types/anyspend/types/nft.d.ts +0 -7
- package/dist/types/anyspend/types/onramp.d.ts +0 -3
- package/dist/types/anyspend/types/order.d.ts +200 -40
- package/dist/types/anyspend/types/permit.d.ts +21 -0
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +235 -98
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +305 -63
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +235 -49
- package/dist/types/anyspend/types/req-res/getQuote.d.ts +0 -37
- package/dist/types/anyspend/types/req-res/index.d.ts +1 -0
- package/dist/types/anyspend/types/req-res/sendPermitData.d.ts +66 -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/SignInWithB3.d.ts +2 -1
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +1 -1
- package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +1 -1
- package/dist/types/global-account/react/components/index.d.ts +4 -4
- package/dist/types/global-account/react/components/ui/ShinyButton.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/Tabs.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/command.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/dialog.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/drawer.d.ts +1 -1
- package/dist/types/global-account/react/components/ui/text-loop.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useAddTWSessionKey.d.ts +2 -2
- package/dist/types/global-account/react/hooks/useB3EnsName.d.ts +4 -8
- package/dist/types/global-account/react/hooks/useBestTransactionPath.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useRemoveSessionKey.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useTokenBalancesByChain.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useTokenPrice.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useTokenPriceWithFallback.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useTokensFromAddress.d.ts +1 -1
- package/dist/types/global-account/react/stores/index.d.ts +1 -1
- package/dist/types/global-account/react/stores/useModalStore.d.ts +1 -18
- package/dist/types/shared/constants/index.d.ts +0 -1
- package/dist/types/shared/utils/index.d.ts +0 -9
- package/package.json +4 -17
- package/src/anyspend/abis/abi-usdc-base.ts +97 -97
- package/src/anyspend/abis/erc20-staking.ts +51 -51
- package/src/anyspend/constants/index.ts +11 -13
- package/src/anyspend/index.ts +6 -4
- package/src/anyspend/react/components/AnySpend.tsx +39 -44
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +41 -46
- package/src/anyspend/react/components/AnySpendCustom.tsx +89 -214
- package/src/anyspend/react/components/AnySpendNFT.tsx +6 -11
- package/src/anyspend/react/components/AnySpendNFTButton.tsx +1 -1
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +22 -23
- package/src/anyspend/react/components/AnySpendTournament.tsx +4 -7
- package/src/anyspend/react/components/common/ChainTokenIcon.tsx +1 -1
- package/src/anyspend/react/components/common/OrderDetails.tsx +76 -74
- 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 +17 -9
- 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 +15 -16
- package/src/anyspend/react/components/common/TokenBalance.tsx +2 -2
- package/src/anyspend/react/components/index.ts +0 -2
- package/src/anyspend/react/components/modals/EnterRecipientModal.tsx +2 -2
- package/src/anyspend/react/components/webview/WebviewOnrampOrderStatus.tsx +1 -0
- package/src/anyspend/react/components/webview/WebviewOnrampPayment.tsx +20 -18
- package/src/anyspend/react/hooks/index.ts +2 -1
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +20 -10
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +8 -9
- package/src/anyspend/react/hooks/useAnyspendOrderAndTransactions.ts +3 -3
- package/src/anyspend/react/hooks/useAnyspendOrderHistory.ts +4 -4
- package/src/anyspend/react/hooks/useAnyspendQuote.ts +6 -6
- package/src/anyspend/react/hooks/useAnyspendSendPermitData.ts +38 -0
- package/src/anyspend/react/hooks/useAnyspendTokens.ts +4 -4
- package/src/anyspend/react/hooks/useCoinbaseOnrampOptions.ts +3 -3
- package/src/anyspend/react/hooks/useGeoOnrampOptions.ts +3 -3
- package/src/anyspend/react/hooks/useGetGeo.ts +1 -1
- package/src/anyspend/react/hooks/usePermitData.ts +183 -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 +4 -9
- package/src/anyspend/services/anyspend.ts +39 -21
- 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/nft.ts +7 -10
- package/src/anyspend/types/onramp.ts +2 -3
- package/src/anyspend/types/order.ts +16 -9
- package/src/anyspend/types/permit.ts +10 -0
- package/src/anyspend/types/relay.ts +1 -1
- package/src/anyspend/types/req-res/createOrder.ts +9 -9
- package/src/anyspend/types/req-res/getCoinbaseOnrampOptions.ts +5 -5
- package/src/anyspend/types/req-res/getOrderAndTransactions.ts +4 -4
- package/src/anyspend/types/req-res/getOrderByCreator.ts +2 -2
- package/src/anyspend/types/req-res/getOrderHistory.ts +1 -1
- package/src/anyspend/types/req-res/getQuote.ts +9 -14
- package/src/anyspend/types/req-res/getTokenList.ts +4 -4
- package/src/anyspend/types/req-res/index.ts +1 -0
- package/src/anyspend/types/req-res/sendPermitData.ts +10 -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 +7 -2
- package/src/anyspend/utils/orderPayload.ts +9 -21
- package/src/anyspend/utils/token.ts +10 -10
- package/src/global-account/app.native.ts +5 -5
- package/src/global-account/app.ts +5 -5
- package/src/global-account/bsmnt.native.ts +5 -5
- package/src/global-account/bsmnt.ts +5 -5
- package/src/global-account/react/components/B3DynamicModal.tsx +6 -15
- package/src/global-account/react/components/B3Provider/B3Provider.native.tsx +4 -4
- package/src/global-account/react/components/B3Provider/B3Provider.tsx +20 -22
- package/src/global-account/react/components/B3Provider/types.ts +1 -1
- package/src/global-account/react/components/ManageAccount/ManageAccount.tsx +6 -6
- package/src/global-account/react/components/MintButton/MintButton.tsx +5 -5
- package/src/global-account/react/components/RelayKitProviderWrapper.tsx +2 -2
- package/src/global-account/react/components/RequestPermissions/RequestPermissions.tsx +7 -7
- package/src/global-account/react/components/RequestPermissions/RequestPermissionsButton.tsx +2 -2
- package/src/global-account/react/components/SignInWithB3/SignInWithB3.tsx +28 -16
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Flow.tsx +14 -14
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Privy.tsx +2 -2
- package/src/global-account/react/components/SignInWithB3/components/AuthButton.tsx +1 -1
- package/src/global-account/react/components/SignInWithB3/components/WalletRow.tsx +1 -1
- package/src/global-account/react/components/SignInWithB3/steps/LoginStep.tsx +10 -10
- package/src/global-account/react/components/SignInWithB3/steps/LoginStepCustom.tsx +3 -3
- package/src/global-account/react/components/SignInWithB3/utils/signInUtils.ts +2 -2
- package/src/global-account/react/components/StyleRoot.tsx +1 -0
- package/src/global-account/react/components/Transak/TransakModal.tsx +4 -4
- package/src/global-account/react/components/custom/Button.tsx +7 -7
- package/src/global-account/react/components/custom/StaggeredFadeLoader.tsx +3 -3
- package/src/global-account/react/components/custom/WalletConnectorIcon.tsx +1 -1
- package/src/global-account/react/components/index.ts +4 -4
- package/src/global-account/react/components/magicui/AnimatedLottie.tsx +5 -5
- package/src/global-account/react/components/ui/Loading.tsx +2 -2
- package/src/global-account/react/components/ui/ShinyButton.tsx +5 -5
- package/src/global-account/react/components/ui/TabSystem.tsx +2 -2
- package/src/global-account/react/components/ui/Tabs.tsx +4 -4
- package/src/global-account/react/components/ui/badge.tsx +5 -5
- package/src/global-account/react/components/ui/button.tsx +7 -7
- package/src/global-account/react/components/ui/command.tsx +5 -5
- package/src/global-account/react/components/ui/dialog.tsx +5 -5
- package/src/global-account/react/components/ui/drawer.tsx +2 -2
- package/src/global-account/react/components/ui/glare-card-rounded.tsx +12 -12
- package/src/global-account/react/components/ui/glare-card.tsx +11 -11
- package/src/global-account/react/components/ui/input.tsx +2 -2
- package/src/global-account/react/components/ui/popover.tsx +1 -1
- package/src/global-account/react/components/ui/scroll-area.tsx +1 -1
- package/src/global-account/react/components/ui/text-loop.tsx +2 -2
- package/src/global-account/react/components/ui/text-shimmer.tsx +3 -3
- package/src/global-account/react/components/ui/tooltip.tsx +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 +31 -43
- package/src/global-account/react/hooks/useBestTransactionPath.tsx +11 -11
- package/src/global-account/react/hooks/useBsmntProfile.ts +1 -1
- package/src/global-account/react/hooks/useChainSwitchWithAction.ts +4 -4
- package/src/global-account/react/hooks/useClaim.tsx +5 -5
- package/src/global-account/react/hooks/useConnect.tsx +4 -4
- package/src/global-account/react/hooks/useExchangeRate.tsx +3 -3
- package/src/global-account/react/hooks/useGetAllTWSigners.tsx +9 -9
- package/src/global-account/react/hooks/useGetGeo.tsx +1 -1
- package/src/global-account/react/hooks/useHandleConnectWithPrivy.tsx +2 -2
- package/src/global-account/react/hooks/useMediaQuery.tsx +1 -1
- package/src/global-account/react/hooks/useNativeBalance.tsx +7 -7
- package/src/global-account/react/hooks/useOnchainName.tsx +11 -11
- package/src/global-account/react/hooks/useOneBalance.tsx +2 -2
- package/src/global-account/react/hooks/useQueryB3.ts +2 -2
- package/src/global-account/react/hooks/useQueryBSMNT.ts +2 -2
- package/src/global-account/react/hooks/useRemoveSessionKey.tsx +5 -5
- package/src/global-account/react/hooks/useRouter.tsx +6 -6
- package/src/global-account/react/hooks/useSiwe.tsx +4 -4
- package/src/global-account/react/hooks/useTokenBalance.tsx +6 -6
- package/src/global-account/react/hooks/useTokenBalancesByChain.tsx +10 -10
- package/src/global-account/react/hooks/useTokenData.ts +3 -3
- package/src/global-account/react/hooks/useTokenFromUrl.tsx +14 -14
- package/src/global-account/react/hooks/useTokenPrice.tsx +7 -7
- package/src/global-account/react/hooks/useTokenPriceWithFallback.tsx +7 -7
- package/src/global-account/react/hooks/useTokensFromAddress.ts +2 -2
- package/src/global-account/react/hooks/useURLParams.ts +2 -2
- package/src/global-account/react/stores/index.ts +1 -1
- package/src/global-account/react/stores/useAuthStore.ts +3 -3
- package/src/global-account/react/stores/useModalStore.ts +4 -23
- package/src/global-account/server.ts +3 -3
- package/src/global-account/types/chain-networks.ts +10 -10
- package/src/global-account/types/feature-flags.ts +2 -2
- package/src/shared/constants/chains/b3Chain.ts +35 -35
- package/src/shared/constants/chains/chainPlatformMap.ts +1 -1
- package/src/shared/constants/chains/supported.ts +1 -1
- package/src/shared/constants/index.ts +1 -3
- package/src/shared/thirdweb/initiateClient.ts +2 -2
- package/src/shared/thirdweb/openapi-ts.config.ts +1 -1
- package/src/shared/utils/b3Ens.ts +4 -4
- package/src/shared/utils/chain-transformers.ts +9 -9
- package/src/shared/utils/fetchBalances.ts +5 -5
- package/src/shared/utils/fetchBsmntProfile.ts +1 -1
- package/src/shared/utils/index.ts +0 -16
- package/src/shared/utils/insights.ts +31 -31
- package/src/shared/utils/ipfs.ts +1 -1
- package/src/shared/utils/number.ts +5 -5
- package/src/shared/utils/simplehash.ts +28 -28
- package/src/shared/utils/thirdweb-insights.ts +20 -20
- package/src/styles/index.css +2 -5
- package/dist/cjs/anyspend/abis/signature-minting.d.ts +0 -79
- package/dist/cjs/anyspend/abis/signature-minting.js +0 -45
- package/dist/cjs/anyspend/react/components/AnyspendSignatureMint.d.ts +0 -8
- package/dist/cjs/anyspend/react/components/AnyspendSignatureMint.js +0 -77
- package/dist/cjs/anyspend/react/components/common/Warning.d.ts +0 -3
- package/dist/cjs/anyspend/react/components/common/Warning.js +0 -7
- package/dist/cjs/anyspend/react/hooks/useSigMint.d.ts +0 -140
- package/dist/cjs/anyspend/react/hooks/useSigMint.js +0 -39
- package/dist/cjs/anyspend/types/metadata.d.ts +0 -26
- package/dist/cjs/anyspend/types/metadata.js +0 -16
- package/dist/cjs/anyspend/types/signature-mint.d.ts +0 -69
- package/dist/cjs/anyspend/types/signature-mint.js +0 -2
- package/dist/cjs/global-account/react/components/SignInWithB3/SignIn.d.ts +0 -14
- package/dist/cjs/global-account/react/components/SignInWithB3/SignIn.js +0 -50
- package/dist/cjs/global-account/react/components/custom/Icon.d.ts +0 -7
- package/dist/cjs/global-account/react/components/custom/Icon.js +0 -52
- package/dist/cjs/global-account/react/components/custom/ManageAccountButton.d.ts +0 -4
- package/dist/cjs/global-account/react/components/custom/ManageAccountButton.js +0 -20
- package/dist/cjs/shared/react/hooks/index.d.ts +0 -1
- package/dist/cjs/shared/react/hooks/index.js +0 -17
- package/dist/cjs/shared/react/hooks/useNavigation.d.ts +0 -17
- package/dist/cjs/shared/react/hooks/useNavigation.js +0 -57
- package/dist/cjs/shared/react/index.d.ts +0 -1
- package/dist/cjs/shared/react/index.js +0 -17
- package/dist/esm/anyspend/abis/signature-minting.d.ts +0 -79
- package/dist/esm/anyspend/abis/signature-minting.js +0 -42
- package/dist/esm/anyspend/react/components/AnyspendSignatureMint.d.ts +0 -8
- package/dist/esm/anyspend/react/components/AnyspendSignatureMint.js +0 -71
- package/dist/esm/anyspend/react/components/common/Warning.d.ts +0 -3
- package/dist/esm/anyspend/react/components/common/Warning.js +0 -4
- package/dist/esm/anyspend/react/hooks/useSigMint.d.ts +0 -140
- package/dist/esm/anyspend/react/hooks/useSigMint.js +0 -33
- package/dist/esm/anyspend/types/metadata.d.ts +0 -26
- package/dist/esm/anyspend/types/metadata.js +0 -11
- package/dist/esm/anyspend/types/signature-mint.d.ts +0 -69
- package/dist/esm/anyspend/types/signature-mint.js +0 -1
- package/dist/esm/global-account/react/components/SignInWithB3/SignIn.d.ts +0 -14
- package/dist/esm/global-account/react/components/SignInWithB3/SignIn.js +0 -44
- package/dist/esm/global-account/react/components/custom/Icon.d.ts +0 -7
- package/dist/esm/global-account/react/components/custom/Icon.js +0 -50
- package/dist/esm/global-account/react/components/custom/ManageAccountButton.d.ts +0 -4
- package/dist/esm/global-account/react/components/custom/ManageAccountButton.js +0 -17
- package/dist/esm/shared/react/hooks/index.d.ts +0 -1
- package/dist/esm/shared/react/hooks/index.js +0 -1
- package/dist/esm/shared/react/hooks/useNavigation.d.ts +0 -17
- package/dist/esm/shared/react/hooks/useNavigation.js +0 -52
- package/dist/esm/shared/react/index.d.ts +0 -1
- package/dist/esm/shared/react/index.js +0 -1
- package/dist/types/anyspend/abis/signature-minting.d.ts +0 -79
- package/dist/types/anyspend/react/components/AnyspendSignatureMint.d.ts +0 -8
- package/dist/types/anyspend/react/components/common/Warning.d.ts +0 -3
- package/dist/types/anyspend/react/hooks/useSigMint.d.ts +0 -140
- package/dist/types/anyspend/types/metadata.d.ts +0 -26
- package/dist/types/anyspend/types/signature-mint.d.ts +0 -69
- package/dist/types/global-account/react/components/SignInWithB3/SignIn.d.ts +0 -14
- package/dist/types/global-account/react/components/custom/Icon.d.ts +0 -7
- package/dist/types/global-account/react/components/custom/ManageAccountButton.d.ts +0 -4
- package/dist/types/shared/react/hooks/index.d.ts +0 -1
- package/dist/types/shared/react/hooks/useNavigation.d.ts +0 -17
- package/dist/types/shared/react/index.d.ts +0 -1
- package/src/anyspend/abis/signature-minting.ts +0 -43
- package/src/anyspend/react/components/AnyspendSignatureMint.tsx +0 -147
- package/src/anyspend/react/components/common/Warning.tsx +0 -7
- package/src/anyspend/react/hooks/useSigMint.tsx +0 -55
- package/src/anyspend/types/metadata.ts +0 -41
- package/src/anyspend/types/signature-mint.ts +0 -77
- package/src/global-account/react/components/SignInWithB3/SignIn.tsx +0 -190
- package/src/global-account/react/components/custom/Icon.tsx +0 -102
- package/src/global-account/react/components/custom/ManageAccountButton.tsx +0 -33
- package/src/shared/react/hooks/index.ts +0 -1
- package/src/shared/react/hooks/useNavigation.ts +0 -61
- package/src/shared/react/index.ts +0 -1
|
@@ -39,26 +39,42 @@ 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>;
|
|
43
42
|
}, "strip", z.ZodTypeAny, {
|
|
44
43
|
country: string;
|
|
45
44
|
vendor: import("..").OnrampVendor;
|
|
46
45
|
paymentMethod: string;
|
|
47
46
|
redirectUrl: string;
|
|
48
47
|
ipAddress?: string | undefined;
|
|
49
|
-
stripeAmountInCents?: number | undefined;
|
|
50
48
|
}, {
|
|
51
49
|
country: string;
|
|
52
50
|
vendor: import("..").OnrampVendor;
|
|
53
51
|
paymentMethod: string;
|
|
54
52
|
redirectUrl: string;
|
|
55
53
|
ipAddress?: string | undefined;
|
|
56
|
-
stripeAmountInCents?: number | undefined;
|
|
57
54
|
}>>;
|
|
58
55
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
59
56
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
60
57
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
61
58
|
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
|
+
}>>;
|
|
62
78
|
} & {
|
|
63
79
|
type: z.ZodLiteral<import("../order").OrderType.Swap>;
|
|
64
80
|
payload: z.ZodObject<{
|
|
@@ -221,12 +237,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
221
237
|
paymentMethod: string;
|
|
222
238
|
redirectUrl: string;
|
|
223
239
|
ipAddress?: string | undefined;
|
|
224
|
-
stripeAmountInCents?: number | undefined;
|
|
225
240
|
} | null;
|
|
226
241
|
creatorAddress: string | null;
|
|
227
242
|
partnerId: string | null;
|
|
228
243
|
oneClickBuyUrl: string | null;
|
|
229
244
|
stripePaymentIntentId: string | null;
|
|
245
|
+
permit: {
|
|
246
|
+
ownerAddress: string;
|
|
247
|
+
deadline: number;
|
|
248
|
+
v: number;
|
|
249
|
+
r: string;
|
|
250
|
+
s: string;
|
|
251
|
+
} | null;
|
|
230
252
|
payload: {
|
|
231
253
|
expectedDstAmount: string;
|
|
232
254
|
actualDstAmount: string | null;
|
|
@@ -273,12 +295,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
273
295
|
paymentMethod: string;
|
|
274
296
|
redirectUrl: string;
|
|
275
297
|
ipAddress?: string | undefined;
|
|
276
|
-
stripeAmountInCents?: number | undefined;
|
|
277
298
|
} | null;
|
|
278
299
|
creatorAddress: string | null;
|
|
279
300
|
partnerId: string | null;
|
|
280
301
|
oneClickBuyUrl: string | null;
|
|
281
302
|
stripePaymentIntentId: string | null;
|
|
303
|
+
permit: {
|
|
304
|
+
ownerAddress: string;
|
|
305
|
+
deadline: number;
|
|
306
|
+
v: number;
|
|
307
|
+
r: string;
|
|
308
|
+
s: string;
|
|
309
|
+
} | null;
|
|
282
310
|
payload: {
|
|
283
311
|
expectedDstAmount: string;
|
|
284
312
|
actualDstAmount: string | null;
|
|
@@ -302,42 +330,52 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
302
330
|
paymentMethod: z.ZodString;
|
|
303
331
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
304
332
|
redirectUrl: z.ZodString;
|
|
305
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
306
333
|
}, "strip", z.ZodTypeAny, {
|
|
307
334
|
country: string;
|
|
308
335
|
vendor: import("..").OnrampVendor;
|
|
309
336
|
paymentMethod: string;
|
|
310
337
|
redirectUrl: string;
|
|
311
338
|
ipAddress?: string | undefined;
|
|
312
|
-
stripeAmountInCents?: number | undefined;
|
|
313
339
|
}, {
|
|
314
340
|
country: string;
|
|
315
341
|
vendor: import("..").OnrampVendor;
|
|
316
342
|
paymentMethod: string;
|
|
317
343
|
redirectUrl: string;
|
|
318
344
|
ipAddress?: string | undefined;
|
|
319
|
-
stripeAmountInCents?: number | undefined;
|
|
320
345
|
}>>;
|
|
321
346
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
322
347
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
323
348
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
324
349
|
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
|
+
}>>;
|
|
325
369
|
} & {
|
|
326
370
|
type: z.ZodLiteral<import("../order").OrderType.MintNFT>;
|
|
327
371
|
payload: z.ZodObject<{
|
|
328
372
|
contractAddress: z.ZodString;
|
|
329
|
-
tokenId: z.ZodNullable<z.ZodNumber>;
|
|
330
|
-
contractType: z.ZodNativeEnum<typeof import("..").NftType>;
|
|
331
373
|
nftPrice: z.ZodString;
|
|
332
374
|
}, "strip", z.ZodTypeAny, {
|
|
333
375
|
contractAddress: string;
|
|
334
|
-
tokenId: number | null;
|
|
335
|
-
contractType: import("..").NftType;
|
|
336
376
|
nftPrice: string;
|
|
337
377
|
}, {
|
|
338
378
|
contractAddress: string;
|
|
339
|
-
tokenId: number | null;
|
|
340
|
-
contractType: import("..").NftType;
|
|
341
379
|
nftPrice: string;
|
|
342
380
|
}>;
|
|
343
381
|
metadata: z.ZodObject<{
|
|
@@ -574,16 +612,20 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
574
612
|
paymentMethod: string;
|
|
575
613
|
redirectUrl: string;
|
|
576
614
|
ipAddress?: string | undefined;
|
|
577
|
-
stripeAmountInCents?: number | undefined;
|
|
578
615
|
} | null;
|
|
579
616
|
creatorAddress: string | null;
|
|
580
617
|
partnerId: string | null;
|
|
581
618
|
oneClickBuyUrl: string | null;
|
|
582
619
|
stripePaymentIntentId: string | null;
|
|
620
|
+
permit: {
|
|
621
|
+
ownerAddress: string;
|
|
622
|
+
deadline: number;
|
|
623
|
+
v: number;
|
|
624
|
+
r: string;
|
|
625
|
+
s: string;
|
|
626
|
+
} | null;
|
|
583
627
|
payload: {
|
|
584
628
|
contractAddress: string;
|
|
585
|
-
tokenId: number | null;
|
|
586
|
-
contractType: import("..").NftType;
|
|
587
629
|
nftPrice: string;
|
|
588
630
|
};
|
|
589
631
|
}, {
|
|
@@ -642,16 +684,20 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
642
684
|
paymentMethod: string;
|
|
643
685
|
redirectUrl: string;
|
|
644
686
|
ipAddress?: string | undefined;
|
|
645
|
-
stripeAmountInCents?: number | undefined;
|
|
646
687
|
} | null;
|
|
647
688
|
creatorAddress: string | null;
|
|
648
689
|
partnerId: string | null;
|
|
649
690
|
oneClickBuyUrl: string | null;
|
|
650
691
|
stripePaymentIntentId: string | null;
|
|
692
|
+
permit: {
|
|
693
|
+
ownerAddress: string;
|
|
694
|
+
deadline: number;
|
|
695
|
+
v: number;
|
|
696
|
+
r: string;
|
|
697
|
+
s: string;
|
|
698
|
+
} | null;
|
|
651
699
|
payload: {
|
|
652
700
|
contractAddress: string;
|
|
653
|
-
tokenId: number | null;
|
|
654
|
-
contractType: import("..").NftType;
|
|
655
701
|
nftPrice: string;
|
|
656
702
|
};
|
|
657
703
|
}>, z.ZodObject<{
|
|
@@ -673,26 +719,42 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
673
719
|
paymentMethod: z.ZodString;
|
|
674
720
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
675
721
|
redirectUrl: z.ZodString;
|
|
676
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
677
722
|
}, "strip", z.ZodTypeAny, {
|
|
678
723
|
country: string;
|
|
679
724
|
vendor: import("..").OnrampVendor;
|
|
680
725
|
paymentMethod: string;
|
|
681
726
|
redirectUrl: string;
|
|
682
727
|
ipAddress?: string | undefined;
|
|
683
|
-
stripeAmountInCents?: number | undefined;
|
|
684
728
|
}, {
|
|
685
729
|
country: string;
|
|
686
730
|
vendor: import("..").OnrampVendor;
|
|
687
731
|
paymentMethod: string;
|
|
688
732
|
redirectUrl: string;
|
|
689
733
|
ipAddress?: string | undefined;
|
|
690
|
-
stripeAmountInCents?: number | undefined;
|
|
691
734
|
}>>;
|
|
692
735
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
693
736
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
694
737
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
695
738
|
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
|
+
}>>;
|
|
696
758
|
} & {
|
|
697
759
|
type: z.ZodLiteral<import("../order").OrderType.JoinTournament>;
|
|
698
760
|
payload: z.ZodObject<{
|
|
@@ -889,12 +951,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
889
951
|
paymentMethod: string;
|
|
890
952
|
redirectUrl: string;
|
|
891
953
|
ipAddress?: string | undefined;
|
|
892
|
-
stripeAmountInCents?: number | undefined;
|
|
893
954
|
} | null;
|
|
894
955
|
creatorAddress: string | null;
|
|
895
956
|
partnerId: string | null;
|
|
896
957
|
oneClickBuyUrl: string | null;
|
|
897
958
|
stripePaymentIntentId: string | null;
|
|
959
|
+
permit: {
|
|
960
|
+
ownerAddress: string;
|
|
961
|
+
deadline: number;
|
|
962
|
+
v: number;
|
|
963
|
+
r: string;
|
|
964
|
+
s: string;
|
|
965
|
+
} | null;
|
|
898
966
|
payload: {
|
|
899
967
|
contractAddress: string;
|
|
900
968
|
entryPrice: string;
|
|
@@ -947,12 +1015,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
947
1015
|
paymentMethod: string;
|
|
948
1016
|
redirectUrl: string;
|
|
949
1017
|
ipAddress?: string | undefined;
|
|
950
|
-
stripeAmountInCents?: number | undefined;
|
|
951
1018
|
} | null;
|
|
952
1019
|
creatorAddress: string | null;
|
|
953
1020
|
partnerId: string | null;
|
|
954
1021
|
oneClickBuyUrl: string | null;
|
|
955
1022
|
stripePaymentIntentId: string | null;
|
|
1023
|
+
permit: {
|
|
1024
|
+
ownerAddress: string;
|
|
1025
|
+
deadline: number;
|
|
1026
|
+
v: number;
|
|
1027
|
+
r: string;
|
|
1028
|
+
s: string;
|
|
1029
|
+
} | null;
|
|
956
1030
|
payload: {
|
|
957
1031
|
contractAddress: string;
|
|
958
1032
|
entryPrice: string;
|
|
@@ -976,26 +1050,42 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
976
1050
|
paymentMethod: z.ZodString;
|
|
977
1051
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
978
1052
|
redirectUrl: z.ZodString;
|
|
979
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
980
1053
|
}, "strip", z.ZodTypeAny, {
|
|
981
1054
|
country: string;
|
|
982
1055
|
vendor: import("..").OnrampVendor;
|
|
983
1056
|
paymentMethod: string;
|
|
984
1057
|
redirectUrl: string;
|
|
985
1058
|
ipAddress?: string | undefined;
|
|
986
|
-
stripeAmountInCents?: number | undefined;
|
|
987
1059
|
}, {
|
|
988
1060
|
country: string;
|
|
989
1061
|
vendor: import("..").OnrampVendor;
|
|
990
1062
|
paymentMethod: string;
|
|
991
1063
|
redirectUrl: string;
|
|
992
1064
|
ipAddress?: string | undefined;
|
|
993
|
-
stripeAmountInCents?: number | undefined;
|
|
994
1065
|
}>>;
|
|
995
1066
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
996
1067
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
997
1068
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
998
1069
|
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
|
+
}>>;
|
|
999
1089
|
} & {
|
|
1000
1090
|
type: z.ZodLiteral<import("../order").OrderType.FundTournament>;
|
|
1001
1091
|
payload: z.ZodObject<{
|
|
@@ -1192,12 +1282,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1192
1282
|
paymentMethod: string;
|
|
1193
1283
|
redirectUrl: string;
|
|
1194
1284
|
ipAddress?: string | undefined;
|
|
1195
|
-
stripeAmountInCents?: number | undefined;
|
|
1196
1285
|
} | null;
|
|
1197
1286
|
creatorAddress: string | null;
|
|
1198
1287
|
partnerId: string | null;
|
|
1199
1288
|
oneClickBuyUrl: string | null;
|
|
1200
1289
|
stripePaymentIntentId: string | null;
|
|
1290
|
+
permit: {
|
|
1291
|
+
ownerAddress: string;
|
|
1292
|
+
deadline: number;
|
|
1293
|
+
v: number;
|
|
1294
|
+
r: string;
|
|
1295
|
+
s: string;
|
|
1296
|
+
} | null;
|
|
1201
1297
|
payload: {
|
|
1202
1298
|
contractAddress: string;
|
|
1203
1299
|
fundAmount: string;
|
|
@@ -1250,12 +1346,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1250
1346
|
paymentMethod: string;
|
|
1251
1347
|
redirectUrl: string;
|
|
1252
1348
|
ipAddress?: string | undefined;
|
|
1253
|
-
stripeAmountInCents?: number | undefined;
|
|
1254
1349
|
} | null;
|
|
1255
1350
|
creatorAddress: string | null;
|
|
1256
1351
|
partnerId: string | null;
|
|
1257
1352
|
oneClickBuyUrl: string | null;
|
|
1258
1353
|
stripePaymentIntentId: string | null;
|
|
1354
|
+
permit: {
|
|
1355
|
+
ownerAddress: string;
|
|
1356
|
+
deadline: number;
|
|
1357
|
+
v: number;
|
|
1358
|
+
r: string;
|
|
1359
|
+
s: string;
|
|
1360
|
+
} | null;
|
|
1259
1361
|
payload: {
|
|
1260
1362
|
contractAddress: string;
|
|
1261
1363
|
fundAmount: string;
|
|
@@ -1279,26 +1381,42 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1279
1381
|
paymentMethod: z.ZodString;
|
|
1280
1382
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1281
1383
|
redirectUrl: z.ZodString;
|
|
1282
|
-
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1283
1384
|
}, "strip", z.ZodTypeAny, {
|
|
1284
1385
|
country: string;
|
|
1285
1386
|
vendor: import("..").OnrampVendor;
|
|
1286
1387
|
paymentMethod: string;
|
|
1287
1388
|
redirectUrl: string;
|
|
1288
1389
|
ipAddress?: string | undefined;
|
|
1289
|
-
stripeAmountInCents?: number | undefined;
|
|
1290
1390
|
}, {
|
|
1291
1391
|
country: string;
|
|
1292
1392
|
vendor: import("..").OnrampVendor;
|
|
1293
1393
|
paymentMethod: string;
|
|
1294
1394
|
redirectUrl: string;
|
|
1295
1395
|
ipAddress?: string | undefined;
|
|
1296
|
-
stripeAmountInCents?: number | undefined;
|
|
1297
1396
|
}>>;
|
|
1298
1397
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1299
1398
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
1300
1399
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
1301
1400
|
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
|
+
}>>;
|
|
1302
1420
|
} & {
|
|
1303
1421
|
type: z.ZodLiteral<import("../order").OrderType.Custom>;
|
|
1304
1422
|
payload: z.ZodObject<{
|
|
@@ -1471,12 +1589,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1471
1589
|
paymentMethod: string;
|
|
1472
1590
|
redirectUrl: string;
|
|
1473
1591
|
ipAddress?: string | undefined;
|
|
1474
|
-
stripeAmountInCents?: number | undefined;
|
|
1475
1592
|
} | null;
|
|
1476
1593
|
creatorAddress: string | null;
|
|
1477
1594
|
partnerId: string | null;
|
|
1478
1595
|
oneClickBuyUrl: string | null;
|
|
1479
1596
|
stripePaymentIntentId: string | null;
|
|
1597
|
+
permit: {
|
|
1598
|
+
ownerAddress: string;
|
|
1599
|
+
deadline: number;
|
|
1600
|
+
v: number;
|
|
1601
|
+
r: string;
|
|
1602
|
+
s: string;
|
|
1603
|
+
} | null;
|
|
1480
1604
|
payload: {
|
|
1481
1605
|
data: string;
|
|
1482
1606
|
to: string;
|
|
@@ -1526,12 +1650,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1526
1650
|
paymentMethod: string;
|
|
1527
1651
|
redirectUrl: string;
|
|
1528
1652
|
ipAddress?: string | undefined;
|
|
1529
|
-
stripeAmountInCents?: number | undefined;
|
|
1530
1653
|
} | null;
|
|
1531
1654
|
creatorAddress: string | null;
|
|
1532
1655
|
partnerId: string | null;
|
|
1533
1656
|
oneClickBuyUrl: string | null;
|
|
1534
1657
|
stripePaymentIntentId: string | null;
|
|
1658
|
+
permit: {
|
|
1659
|
+
ownerAddress: string;
|
|
1660
|
+
deadline: number;
|
|
1661
|
+
v: number;
|
|
1662
|
+
r: string;
|
|
1663
|
+
s: string;
|
|
1664
|
+
} | null;
|
|
1535
1665
|
payload: {
|
|
1536
1666
|
data: string;
|
|
1537
1667
|
to: string;
|
|
@@ -1661,12 +1791,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1661
1791
|
paymentMethod: string;
|
|
1662
1792
|
redirectUrl: string;
|
|
1663
1793
|
ipAddress?: string | undefined;
|
|
1664
|
-
stripeAmountInCents?: number | undefined;
|
|
1665
1794
|
} | null;
|
|
1666
1795
|
creatorAddress: string | null;
|
|
1667
1796
|
partnerId: string | null;
|
|
1668
1797
|
oneClickBuyUrl: string | null;
|
|
1669
1798
|
stripePaymentIntentId: string | null;
|
|
1799
|
+
permit: {
|
|
1800
|
+
ownerAddress: string;
|
|
1801
|
+
deadline: number;
|
|
1802
|
+
v: number;
|
|
1803
|
+
r: string;
|
|
1804
|
+
s: string;
|
|
1805
|
+
} | null;
|
|
1670
1806
|
payload: {
|
|
1671
1807
|
expectedDstAmount: string;
|
|
1672
1808
|
actualDstAmount: string | null;
|
|
@@ -1727,16 +1863,20 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1727
1863
|
paymentMethod: string;
|
|
1728
1864
|
redirectUrl: string;
|
|
1729
1865
|
ipAddress?: string | undefined;
|
|
1730
|
-
stripeAmountInCents?: number | undefined;
|
|
1731
1866
|
} | null;
|
|
1732
1867
|
creatorAddress: string | null;
|
|
1733
1868
|
partnerId: string | null;
|
|
1734
1869
|
oneClickBuyUrl: string | null;
|
|
1735
1870
|
stripePaymentIntentId: string | null;
|
|
1871
|
+
permit: {
|
|
1872
|
+
ownerAddress: string;
|
|
1873
|
+
deadline: number;
|
|
1874
|
+
v: number;
|
|
1875
|
+
r: string;
|
|
1876
|
+
s: string;
|
|
1877
|
+
} | null;
|
|
1736
1878
|
payload: {
|
|
1737
1879
|
contractAddress: string;
|
|
1738
|
-
tokenId: number | null;
|
|
1739
|
-
contractType: import("..").NftType;
|
|
1740
1880
|
nftPrice: string;
|
|
1741
1881
|
};
|
|
1742
1882
|
} | {
|
|
@@ -1787,12 +1927,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1787
1927
|
paymentMethod: string;
|
|
1788
1928
|
redirectUrl: string;
|
|
1789
1929
|
ipAddress?: string | undefined;
|
|
1790
|
-
stripeAmountInCents?: number | undefined;
|
|
1791
1930
|
} | null;
|
|
1792
1931
|
creatorAddress: string | null;
|
|
1793
1932
|
partnerId: string | null;
|
|
1794
1933
|
oneClickBuyUrl: string | null;
|
|
1795
1934
|
stripePaymentIntentId: string | null;
|
|
1935
|
+
permit: {
|
|
1936
|
+
ownerAddress: string;
|
|
1937
|
+
deadline: number;
|
|
1938
|
+
v: number;
|
|
1939
|
+
r: string;
|
|
1940
|
+
s: string;
|
|
1941
|
+
} | null;
|
|
1796
1942
|
payload: {
|
|
1797
1943
|
contractAddress: string;
|
|
1798
1944
|
entryPrice: string;
|
|
@@ -1845,12 +1991,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1845
1991
|
paymentMethod: string;
|
|
1846
1992
|
redirectUrl: string;
|
|
1847
1993
|
ipAddress?: string | undefined;
|
|
1848
|
-
stripeAmountInCents?: number | undefined;
|
|
1849
1994
|
} | null;
|
|
1850
1995
|
creatorAddress: string | null;
|
|
1851
1996
|
partnerId: string | null;
|
|
1852
1997
|
oneClickBuyUrl: string | null;
|
|
1853
1998
|
stripePaymentIntentId: string | null;
|
|
1999
|
+
permit: {
|
|
2000
|
+
ownerAddress: string;
|
|
2001
|
+
deadline: number;
|
|
2002
|
+
v: number;
|
|
2003
|
+
r: string;
|
|
2004
|
+
s: string;
|
|
2005
|
+
} | null;
|
|
1854
2006
|
payload: {
|
|
1855
2007
|
contractAddress: string;
|
|
1856
2008
|
fundAmount: string;
|
|
@@ -1898,12 +2050,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1898
2050
|
paymentMethod: string;
|
|
1899
2051
|
redirectUrl: string;
|
|
1900
2052
|
ipAddress?: string | undefined;
|
|
1901
|
-
stripeAmountInCents?: number | undefined;
|
|
1902
2053
|
} | null;
|
|
1903
2054
|
creatorAddress: string | null;
|
|
1904
2055
|
partnerId: string | null;
|
|
1905
2056
|
oneClickBuyUrl: string | null;
|
|
1906
2057
|
stripePaymentIntentId: string | null;
|
|
2058
|
+
permit: {
|
|
2059
|
+
ownerAddress: string;
|
|
2060
|
+
deadline: number;
|
|
2061
|
+
v: number;
|
|
2062
|
+
r: string;
|
|
2063
|
+
s: string;
|
|
2064
|
+
} | null;
|
|
1907
2065
|
payload: {
|
|
1908
2066
|
data: string;
|
|
1909
2067
|
to: string;
|
|
@@ -1983,12 +2141,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
1983
2141
|
paymentMethod: string;
|
|
1984
2142
|
redirectUrl: string;
|
|
1985
2143
|
ipAddress?: string | undefined;
|
|
1986
|
-
stripeAmountInCents?: number | undefined;
|
|
1987
2144
|
} | null;
|
|
1988
2145
|
creatorAddress: string | null;
|
|
1989
2146
|
partnerId: string | null;
|
|
1990
2147
|
oneClickBuyUrl: string | null;
|
|
1991
2148
|
stripePaymentIntentId: string | null;
|
|
2149
|
+
permit: {
|
|
2150
|
+
ownerAddress: string;
|
|
2151
|
+
deadline: number;
|
|
2152
|
+
v: number;
|
|
2153
|
+
r: string;
|
|
2154
|
+
s: string;
|
|
2155
|
+
} | null;
|
|
1992
2156
|
payload: {
|
|
1993
2157
|
expectedDstAmount: string;
|
|
1994
2158
|
actualDstAmount: string | null;
|
|
@@ -2049,16 +2213,20 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2049
2213
|
paymentMethod: string;
|
|
2050
2214
|
redirectUrl: string;
|
|
2051
2215
|
ipAddress?: string | undefined;
|
|
2052
|
-
stripeAmountInCents?: number | undefined;
|
|
2053
2216
|
} | null;
|
|
2054
2217
|
creatorAddress: string | null;
|
|
2055
2218
|
partnerId: string | null;
|
|
2056
2219
|
oneClickBuyUrl: string | null;
|
|
2057
2220
|
stripePaymentIntentId: string | null;
|
|
2221
|
+
permit: {
|
|
2222
|
+
ownerAddress: string;
|
|
2223
|
+
deadline: number;
|
|
2224
|
+
v: number;
|
|
2225
|
+
r: string;
|
|
2226
|
+
s: string;
|
|
2227
|
+
} | null;
|
|
2058
2228
|
payload: {
|
|
2059
2229
|
contractAddress: string;
|
|
2060
|
-
tokenId: number | null;
|
|
2061
|
-
contractType: import("..").NftType;
|
|
2062
2230
|
nftPrice: string;
|
|
2063
2231
|
};
|
|
2064
2232
|
} | {
|
|
@@ -2109,12 +2277,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2109
2277
|
paymentMethod: string;
|
|
2110
2278
|
redirectUrl: string;
|
|
2111
2279
|
ipAddress?: string | undefined;
|
|
2112
|
-
stripeAmountInCents?: number | undefined;
|
|
2113
2280
|
} | null;
|
|
2114
2281
|
creatorAddress: string | null;
|
|
2115
2282
|
partnerId: string | null;
|
|
2116
2283
|
oneClickBuyUrl: string | null;
|
|
2117
2284
|
stripePaymentIntentId: string | null;
|
|
2285
|
+
permit: {
|
|
2286
|
+
ownerAddress: string;
|
|
2287
|
+
deadline: number;
|
|
2288
|
+
v: number;
|
|
2289
|
+
r: string;
|
|
2290
|
+
s: string;
|
|
2291
|
+
} | null;
|
|
2118
2292
|
payload: {
|
|
2119
2293
|
contractAddress: string;
|
|
2120
2294
|
entryPrice: string;
|
|
@@ -2167,12 +2341,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2167
2341
|
paymentMethod: string;
|
|
2168
2342
|
redirectUrl: string;
|
|
2169
2343
|
ipAddress?: string | undefined;
|
|
2170
|
-
stripeAmountInCents?: number | undefined;
|
|
2171
2344
|
} | null;
|
|
2172
2345
|
creatorAddress: string | null;
|
|
2173
2346
|
partnerId: string | null;
|
|
2174
2347
|
oneClickBuyUrl: string | null;
|
|
2175
2348
|
stripePaymentIntentId: string | null;
|
|
2349
|
+
permit: {
|
|
2350
|
+
ownerAddress: string;
|
|
2351
|
+
deadline: number;
|
|
2352
|
+
v: number;
|
|
2353
|
+
r: string;
|
|
2354
|
+
s: string;
|
|
2355
|
+
} | null;
|
|
2176
2356
|
payload: {
|
|
2177
2357
|
contractAddress: string;
|
|
2178
2358
|
fundAmount: string;
|
|
@@ -2220,12 +2400,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2220
2400
|
paymentMethod: string;
|
|
2221
2401
|
redirectUrl: string;
|
|
2222
2402
|
ipAddress?: string | undefined;
|
|
2223
|
-
stripeAmountInCents?: number | undefined;
|
|
2224
2403
|
} | null;
|
|
2225
2404
|
creatorAddress: string | null;
|
|
2226
2405
|
partnerId: string | null;
|
|
2227
2406
|
oneClickBuyUrl: string | null;
|
|
2228
2407
|
stripePaymentIntentId: string | null;
|
|
2408
|
+
permit: {
|
|
2409
|
+
ownerAddress: string;
|
|
2410
|
+
deadline: number;
|
|
2411
|
+
v: number;
|
|
2412
|
+
r: string;
|
|
2413
|
+
s: string;
|
|
2414
|
+
} | null;
|
|
2229
2415
|
payload: {
|
|
2230
2416
|
data: string;
|
|
2231
2417
|
to: string;
|
|
@@ -2309,12 +2495,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2309
2495
|
paymentMethod: string;
|
|
2310
2496
|
redirectUrl: string;
|
|
2311
2497
|
ipAddress?: string | undefined;
|
|
2312
|
-
stripeAmountInCents?: number | undefined;
|
|
2313
2498
|
} | null;
|
|
2314
2499
|
creatorAddress: string | null;
|
|
2315
2500
|
partnerId: string | null;
|
|
2316
2501
|
oneClickBuyUrl: string | null;
|
|
2317
2502
|
stripePaymentIntentId: string | null;
|
|
2503
|
+
permit: {
|
|
2504
|
+
ownerAddress: string;
|
|
2505
|
+
deadline: number;
|
|
2506
|
+
v: number;
|
|
2507
|
+
r: string;
|
|
2508
|
+
s: string;
|
|
2509
|
+
} | null;
|
|
2318
2510
|
payload: {
|
|
2319
2511
|
expectedDstAmount: string;
|
|
2320
2512
|
actualDstAmount: string | null;
|
|
@@ -2375,16 +2567,20 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2375
2567
|
paymentMethod: string;
|
|
2376
2568
|
redirectUrl: string;
|
|
2377
2569
|
ipAddress?: string | undefined;
|
|
2378
|
-
stripeAmountInCents?: number | undefined;
|
|
2379
2570
|
} | null;
|
|
2380
2571
|
creatorAddress: string | null;
|
|
2381
2572
|
partnerId: string | null;
|
|
2382
2573
|
oneClickBuyUrl: string | null;
|
|
2383
2574
|
stripePaymentIntentId: string | null;
|
|
2575
|
+
permit: {
|
|
2576
|
+
ownerAddress: string;
|
|
2577
|
+
deadline: number;
|
|
2578
|
+
v: number;
|
|
2579
|
+
r: string;
|
|
2580
|
+
s: string;
|
|
2581
|
+
} | null;
|
|
2384
2582
|
payload: {
|
|
2385
2583
|
contractAddress: string;
|
|
2386
|
-
tokenId: number | null;
|
|
2387
|
-
contractType: import("..").NftType;
|
|
2388
2584
|
nftPrice: string;
|
|
2389
2585
|
};
|
|
2390
2586
|
} | {
|
|
@@ -2435,12 +2631,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2435
2631
|
paymentMethod: string;
|
|
2436
2632
|
redirectUrl: string;
|
|
2437
2633
|
ipAddress?: string | undefined;
|
|
2438
|
-
stripeAmountInCents?: number | undefined;
|
|
2439
2634
|
} | null;
|
|
2440
2635
|
creatorAddress: string | null;
|
|
2441
2636
|
partnerId: string | null;
|
|
2442
2637
|
oneClickBuyUrl: string | null;
|
|
2443
2638
|
stripePaymentIntentId: string | null;
|
|
2639
|
+
permit: {
|
|
2640
|
+
ownerAddress: string;
|
|
2641
|
+
deadline: number;
|
|
2642
|
+
v: number;
|
|
2643
|
+
r: string;
|
|
2644
|
+
s: string;
|
|
2645
|
+
} | null;
|
|
2444
2646
|
payload: {
|
|
2445
2647
|
contractAddress: string;
|
|
2446
2648
|
entryPrice: string;
|
|
@@ -2493,12 +2695,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2493
2695
|
paymentMethod: string;
|
|
2494
2696
|
redirectUrl: string;
|
|
2495
2697
|
ipAddress?: string | undefined;
|
|
2496
|
-
stripeAmountInCents?: number | undefined;
|
|
2497
2698
|
} | null;
|
|
2498
2699
|
creatorAddress: string | null;
|
|
2499
2700
|
partnerId: string | null;
|
|
2500
2701
|
oneClickBuyUrl: string | null;
|
|
2501
2702
|
stripePaymentIntentId: string | null;
|
|
2703
|
+
permit: {
|
|
2704
|
+
ownerAddress: string;
|
|
2705
|
+
deadline: number;
|
|
2706
|
+
v: number;
|
|
2707
|
+
r: string;
|
|
2708
|
+
s: string;
|
|
2709
|
+
} | null;
|
|
2502
2710
|
payload: {
|
|
2503
2711
|
contractAddress: string;
|
|
2504
2712
|
fundAmount: string;
|
|
@@ -2546,12 +2754,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2546
2754
|
paymentMethod: string;
|
|
2547
2755
|
redirectUrl: string;
|
|
2548
2756
|
ipAddress?: string | undefined;
|
|
2549
|
-
stripeAmountInCents?: number | undefined;
|
|
2550
2757
|
} | null;
|
|
2551
2758
|
creatorAddress: string | null;
|
|
2552
2759
|
partnerId: string | null;
|
|
2553
2760
|
oneClickBuyUrl: string | null;
|
|
2554
2761
|
stripePaymentIntentId: string | null;
|
|
2762
|
+
permit: {
|
|
2763
|
+
ownerAddress: string;
|
|
2764
|
+
deadline: number;
|
|
2765
|
+
v: number;
|
|
2766
|
+
r: string;
|
|
2767
|
+
s: string;
|
|
2768
|
+
} | null;
|
|
2555
2769
|
payload: {
|
|
2556
2770
|
data: string;
|
|
2557
2771
|
to: string;
|
|
@@ -2636,12 +2850,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2636
2850
|
paymentMethod: string;
|
|
2637
2851
|
redirectUrl: string;
|
|
2638
2852
|
ipAddress?: string | undefined;
|
|
2639
|
-
stripeAmountInCents?: number | undefined;
|
|
2640
2853
|
} | null;
|
|
2641
2854
|
creatorAddress: string | null;
|
|
2642
2855
|
partnerId: string | null;
|
|
2643
2856
|
oneClickBuyUrl: string | null;
|
|
2644
2857
|
stripePaymentIntentId: string | null;
|
|
2858
|
+
permit: {
|
|
2859
|
+
ownerAddress: string;
|
|
2860
|
+
deadline: number;
|
|
2861
|
+
v: number;
|
|
2862
|
+
r: string;
|
|
2863
|
+
s: string;
|
|
2864
|
+
} | null;
|
|
2645
2865
|
payload: {
|
|
2646
2866
|
expectedDstAmount: string;
|
|
2647
2867
|
actualDstAmount: string | null;
|
|
@@ -2702,16 +2922,20 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2702
2922
|
paymentMethod: string;
|
|
2703
2923
|
redirectUrl: string;
|
|
2704
2924
|
ipAddress?: string | undefined;
|
|
2705
|
-
stripeAmountInCents?: number | undefined;
|
|
2706
2925
|
} | null;
|
|
2707
2926
|
creatorAddress: string | null;
|
|
2708
2927
|
partnerId: string | null;
|
|
2709
2928
|
oneClickBuyUrl: string | null;
|
|
2710
2929
|
stripePaymentIntentId: string | null;
|
|
2930
|
+
permit: {
|
|
2931
|
+
ownerAddress: string;
|
|
2932
|
+
deadline: number;
|
|
2933
|
+
v: number;
|
|
2934
|
+
r: string;
|
|
2935
|
+
s: string;
|
|
2936
|
+
} | null;
|
|
2711
2937
|
payload: {
|
|
2712
2938
|
contractAddress: string;
|
|
2713
|
-
tokenId: number | null;
|
|
2714
|
-
contractType: import("..").NftType;
|
|
2715
2939
|
nftPrice: string;
|
|
2716
2940
|
};
|
|
2717
2941
|
} | {
|
|
@@ -2762,12 +2986,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2762
2986
|
paymentMethod: string;
|
|
2763
2987
|
redirectUrl: string;
|
|
2764
2988
|
ipAddress?: string | undefined;
|
|
2765
|
-
stripeAmountInCents?: number | undefined;
|
|
2766
2989
|
} | null;
|
|
2767
2990
|
creatorAddress: string | null;
|
|
2768
2991
|
partnerId: string | null;
|
|
2769
2992
|
oneClickBuyUrl: string | null;
|
|
2770
2993
|
stripePaymentIntentId: string | null;
|
|
2994
|
+
permit: {
|
|
2995
|
+
ownerAddress: string;
|
|
2996
|
+
deadline: number;
|
|
2997
|
+
v: number;
|
|
2998
|
+
r: string;
|
|
2999
|
+
s: string;
|
|
3000
|
+
} | null;
|
|
2771
3001
|
payload: {
|
|
2772
3002
|
contractAddress: string;
|
|
2773
3003
|
entryPrice: string;
|
|
@@ -2820,12 +3050,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2820
3050
|
paymentMethod: string;
|
|
2821
3051
|
redirectUrl: string;
|
|
2822
3052
|
ipAddress?: string | undefined;
|
|
2823
|
-
stripeAmountInCents?: number | undefined;
|
|
2824
3053
|
} | null;
|
|
2825
3054
|
creatorAddress: string | null;
|
|
2826
3055
|
partnerId: string | null;
|
|
2827
3056
|
oneClickBuyUrl: string | null;
|
|
2828
3057
|
stripePaymentIntentId: string | null;
|
|
3058
|
+
permit: {
|
|
3059
|
+
ownerAddress: string;
|
|
3060
|
+
deadline: number;
|
|
3061
|
+
v: number;
|
|
3062
|
+
r: string;
|
|
3063
|
+
s: string;
|
|
3064
|
+
} | null;
|
|
2829
3065
|
payload: {
|
|
2830
3066
|
contractAddress: string;
|
|
2831
3067
|
fundAmount: string;
|
|
@@ -2873,12 +3109,18 @@ export declare const zGetOrderAndTxsResponse: z.ZodObject<{
|
|
|
2873
3109
|
paymentMethod: string;
|
|
2874
3110
|
redirectUrl: string;
|
|
2875
3111
|
ipAddress?: string | undefined;
|
|
2876
|
-
stripeAmountInCents?: number | undefined;
|
|
2877
3112
|
} | null;
|
|
2878
3113
|
creatorAddress: string | null;
|
|
2879
3114
|
partnerId: string | null;
|
|
2880
3115
|
oneClickBuyUrl: string | null;
|
|
2881
3116
|
stripePaymentIntentId: string | null;
|
|
3117
|
+
permit: {
|
|
3118
|
+
ownerAddress: string;
|
|
3119
|
+
deadline: number;
|
|
3120
|
+
v: number;
|
|
3121
|
+
r: string;
|
|
3122
|
+
s: string;
|
|
3123
|
+
} | null;
|
|
2882
3124
|
payload: {
|
|
2883
3125
|
data: string;
|
|
2884
3126
|
to: string;
|