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