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