From 5a5f4f89ad19ae962e5008b120c2135cac3cf362 Mon Sep 17 00:00:00 2001 From: gregfromstl Date: Fri, 20 Jun 2025 13:05:12 -0700 Subject: [PATCH] fix: deprecate test mode --- .../src/react/core/hooks/connection/ConnectButtonProps.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/thirdweb/src/react/core/hooks/connection/ConnectButtonProps.ts b/packages/thirdweb/src/react/core/hooks/connection/ConnectButtonProps.ts index 56f70df16ca..64ee4c2ccf1 100644 --- a/packages/thirdweb/src/react/core/hooks/connection/ConnectButtonProps.ts +++ b/packages/thirdweb/src/react/core/hooks/connection/ConnectButtonProps.ts @@ -77,6 +77,9 @@ export type PayUIOptions = Prettify< buyWithCrypto?: | false | { + /** + * @deprecated + */ testMode?: boolean; prefillSource?: { chain: Chain; @@ -95,6 +98,9 @@ export type PayUIOptions = Prettify< */ buyWithFiat?: | { + /** + * @deprecated + */ testMode?: boolean; prefillSource?: { currency?: CurrencyMeta["shorthand"];