File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
packages/thirdweb/src/react/web/ui Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " thirdweb " : patch
3+ ---
4+
5+ Deprecate PayEmbed
Original file line number Diff line number Diff line change @@ -308,6 +308,7 @@ export type PayEmbedProps = {
308308 * Refer to the [`PayEmbedConnectOptions`](https://portal.thirdweb.com/references/typescript/v5/PayEmbedConnectOptions) type for more details.
309309 *
310310 * @buyCrypto
311+ * @deprecated Use `BuyWidget`, `CheckoutWidget` or `TransactionWidget` instead.
311312 */
312313export function PayEmbed ( props : PayEmbedProps ) {
313314 const localeQuery = useConnectLocale ( props . locale || "en_US" ) ;
@@ -510,10 +511,10 @@ export type PayEmbedConnectOptions = {
510511 * ```
511512 */
512513 autoConnect ?:
513- | {
514- timeout : number ;
515- }
516- | boolean ;
514+ | {
515+ timeout : number ;
516+ }
517+ | boolean ;
517518
518519 /**
519520 * Metadata of the app that will be passed to connected wallet. Setting this is highly recommended.
You can’t perform that action at this time.
0 commit comments