@unifold/ui-react 0.1.68 → 0.1.69

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/index.d.mts CHANGED
@@ -182,6 +182,11 @@ interface DepositModalProps {
182
182
  defaultSourceTokenAddress?: string;
183
183
  /** Source token symbol (e.g. `"USDC"`). Must be paired with `defaultSourceChainType` + `defaultSourceChainId`. */
184
184
  defaultSourceSymbol?: string;
185
+ /**
186
+ * Pre-fill USD amount inputs in deposit flows (Connect Wallet, Deposit with
187
+ * Card, Bank Transfer, and Cash App) as an initial typed value.
188
+ */
189
+ prefilledAmountUsd?: string;
185
190
  /** Hide the "Deposit Tracker" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false (shown). */
186
191
  hideDepositTracker?: boolean;
187
192
  /** Show balance in deposit modal header. Defaults to false */
@@ -284,7 +289,7 @@ interface DepositModalProps {
284
289
  */
285
290
  displayMode?: 'stacked' | 'tabs';
286
291
  }
287
- declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, contractCalls, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableTransferCrypto, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, enableFiatOnramp, enableConnectExchange, enableCashApp, enableApplePay, applePayTitle, applePaySubTitle, enableBankTransfer, enableStripeLink, userEmail, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, onEvent, theme, hideOverlay, initialScreen, displayMode, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
292
+ declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, contractCalls, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, prefilledAmountUsd, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableTransferCrypto, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, enableFiatOnramp, enableConnectExchange, enableCashApp, enableApplePay, applePayTitle, applePaySubTitle, enableBankTransfer, enableStripeLink, userEmail, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, onEvent, theme, hideOverlay, initialScreen, displayMode, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
288
293
 
289
294
  interface DepositHeaderProps {
290
295
  title: string;
@@ -349,6 +354,8 @@ interface TransferCryptoSingleInputProps {
349
354
  minimumDepositAmountUsd: number;
350
355
  isStablecoin: boolean;
351
356
  }) => void;
357
+ /** Optional USD prefilled used to render an estimated "You send" target. */
358
+ prefilledAmountUsd?: string;
352
359
  /** Checkout mode: estimated source amount to send (from /public/quotes). Shown above the QR code. */
353
360
  checkoutQuote?: {
354
361
  sourceAmount: string;
@@ -364,7 +371,7 @@ interface TransferCryptoSingleInputProps {
364
371
  /** Product context sent to the API — "deposit" (default) or "payment". */
365
372
  productType?: ProductType;
366
373
  }
367
- declare function TransferCryptoSingleInput({ userId, publishableKey, clientSecret, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, depositConfirmationMode, onExecutionsChange, onDepositSuccess, onDepositError, wallets: externalWallets, onSourceTokenChange, checkoutQuote, isCheckoutQuoteLoading, persistCheckingIndicator, productType, }: TransferCryptoSingleInputProps): react_jsx_runtime.JSX.Element;
374
+ declare function TransferCryptoSingleInput({ userId, publishableKey, clientSecret, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, depositConfirmationMode, onExecutionsChange, onDepositSuccess, onDepositError, wallets: externalWallets, onSourceTokenChange, prefilledAmountUsd, checkoutQuote, isCheckoutQuoteLoading, persistCheckingIndicator, productType, }: TransferCryptoSingleInputProps): react_jsx_runtime.JSX.Element;
368
375
 
369
376
  interface TransferCryptoDoubleInputProps {
370
377
  userId: string;
@@ -377,6 +384,8 @@ interface TransferCryptoDoubleInputProps {
377
384
  defaultSourceChainId?: string;
378
385
  defaultSourceTokenAddress?: string;
379
386
  defaultSourceSymbol?: string;
387
+ /** Optional USD prefilled used to render an estimated "You send" target. */
388
+ prefilledAmountUsd?: string;
380
389
  /** Controls when polling starts and whether a waiting UI is shown.
381
390
  * - "auto_ui": After 10s, starts polling and shows "Processing..." card (default)
382
391
  * - "auto_silent": After 10s, starts polling silently (no waiting UI)
@@ -397,7 +406,7 @@ interface TransferCryptoDoubleInputProps {
397
406
  }) => void;
398
407
  wallets?: Wallet[];
399
408
  }
400
- declare function TransferCryptoDoubleInput({ userId, publishableKey, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, depositConfirmationMode, onExecutionsChange, onDepositSuccess, onDepositError, wallets: externalWallets, }: TransferCryptoDoubleInputProps): react_jsx_runtime.JSX.Element;
409
+ declare function TransferCryptoDoubleInput({ userId, publishableKey, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, prefilledAmountUsd, depositConfirmationMode, onExecutionsChange, onDepositSuccess, onDepositError, wallets: externalWallets, }: TransferCryptoDoubleInputProps): react_jsx_runtime.JSX.Element;
401
410
 
402
411
  interface BuyWithCardProps {
403
412
  userId: string;
@@ -430,9 +439,11 @@ interface BuyWithCardProps {
430
439
  hideDepositFlowInfo?: boolean;
431
440
  /** When true, hides the temporary wallet address disclaimer below the flow. @default false */
432
441
  hideDisplayDescription?: boolean;
442
+ /** Optional USD prefilled for the amount input (treated like manual user input). */
443
+ prefilledAmountUsd?: string;
433
444
  }
434
445
  declare function BuyWithCard({ userId, publishableKey, view: externalView, onViewChange, maxAmountUsd, accentColor, // Keep prop for backward compatibility but don't use default
435
- destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, onDepositSuccess, onDepositError, onEvent, themeClass, wallets: externalWallets, assetCdnUrl, hideDepositFlowInfo, hideDisplayDescription, }: BuyWithCardProps): react_jsx_runtime.JSX.Element;
446
+ destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, onDepositSuccess, onDepositError, onEvent, themeClass, wallets: externalWallets, assetCdnUrl, hideDepositFlowInfo, hideDisplayDescription, prefilledAmountUsd, }: BuyWithCardProps): react_jsx_runtime.JSX.Element;
436
447
 
437
448
  type View = 'loading_config' | 'disabled' | 'email_input' | 'phone_input' | 'submitting_session' | 'email_otp' | 'phone_otp' | 'amount' | 'checking_deposit' | 'success' | 'guest_limit_reached' | 'limit_upgrade_intro' | 'limit_upgrade_form' | 'limit_upgrade_submitting' | 'limit_upgrade_failed';
438
449
  interface BuyWithApplePayProps {
@@ -645,6 +656,8 @@ interface BankTransferProps {
645
656
  error?: unknown;
646
657
  code?: string;
647
658
  }) => void;
659
+ /** Optional USD prefilled for the amount input (treated like manual user input). */
660
+ prefilledAmountUsd?: string;
648
661
  }
649
662
  /**
650
663
  * Bank-transfer deposit flow. Three steps:
@@ -655,7 +668,7 @@ interface BankTransferProps {
655
668
  * The widget itself handles KYC + IBAN entry + payment; we just collect the
656
669
  * fiat amount up-front so users aren't surprised by the default in the widget.
657
670
  */
658
- declare function BankTransfer({ userId, publishableKey, view: externalView, onViewChange, destinationChainType, destinationChainId, destinationTokenAddress, destinationTokenSymbol, wallets, defaultToken: externalDefaultToken, assetCdnUrl, onDepositSuccess, onEvent, onDepositError, }: BankTransferProps): react_jsx_runtime.JSX.Element;
671
+ declare function BankTransfer({ userId, publishableKey, view: externalView, onViewChange, destinationChainType, destinationChainId, destinationTokenAddress, destinationTokenSymbol, wallets, defaultToken: externalDefaultToken, assetCdnUrl, onDepositSuccess, onEvent, onDepositError, prefilledAmountUsd, }: BankTransferProps): react_jsx_runtime.JSX.Element;
659
672
 
660
673
  interface DepositWallet {
661
674
  id: string;
@@ -696,8 +709,10 @@ interface CoinbaseConnectProps {
696
709
  defaultSourceChainId?: string;
697
710
  defaultSourceTokenAddress?: string;
698
711
  defaultSourceSymbol?: string;
712
+ /** Optional USD prefilled for the amount input (treated like manual user input). */
713
+ prefilledAmountUsd?: string;
699
714
  }
700
- declare function CoinbaseConnect({ publishableKey, userId, wallets, recipientAddress, destinationTokenAddress, destinationChainId, destinationChainType, onTransferSuccess, onDepositSuccess, onDepositError, onTransferError, onClose, onBack: parentOnBack, onDisconnect, skipToHoldings, canGoBack, onExecutionsChange, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, }: CoinbaseConnectProps): react_jsx_runtime.JSX.Element | null;
715
+ declare function CoinbaseConnect({ publishableKey, userId, wallets, recipientAddress, destinationTokenAddress, destinationChainId, destinationChainType, onTransferSuccess, onDepositSuccess, onDepositError, onTransferError, onClose, onBack: parentOnBack, onDisconnect, skipToHoldings, canGoBack, onExecutionsChange, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, prefilledAmountUsd, }: CoinbaseConnectProps): react_jsx_runtime.JSX.Element | null;
701
716
  declare namespace CoinbaseConnect {
702
717
  var displayName: string;
703
718
  }
@@ -710,6 +725,8 @@ interface PayWithStripeLinkProps {
710
725
  destinationChainType?: ChainType;
711
726
  destinationChainId?: string;
712
727
  destinationTokenAddress?: string;
728
+ countryCode?: string;
729
+ subdivisionCode?: string;
713
730
  /**
714
731
  * Pre-created deposit intent wallets (one per chain type). When provided, the
715
732
  * Stripe onramp delivers to the deposit intent address matching the Stripe
@@ -754,7 +771,7 @@ interface PayWithStripeLinkProps {
754
771
  * The Stripe publishable key is auto-fetched from the backend via GET /config,
755
772
  * so consumers only need their Unifold publishable key.
756
773
  */
757
- declare function PayWithStripeLink({ userId, publishableKey, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, wallets: externalWallets, email: emailProp, iconUrl, step: controlledStep, onStepChange, backHandlerRef, onDepositSuccess, onDepositError, }: PayWithStripeLinkProps): react_jsx_runtime.JSX.Element | null;
774
+ declare function PayWithStripeLink({ userId, publishableKey, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, countryCode, subdivisionCode, wallets: externalWallets, email: emailProp, iconUrl, step: controlledStep, onStepChange, backHandlerRef, onDepositSuccess, onDepositError, }: PayWithStripeLinkProps): react_jsx_runtime.JSX.Element | null;
758
775
 
759
776
  interface DepositExecutionItemProps {
760
777
  execution: DirectExecutionResponse;
package/dist/index.d.ts CHANGED
@@ -182,6 +182,11 @@ interface DepositModalProps {
182
182
  defaultSourceTokenAddress?: string;
183
183
  /** Source token symbol (e.g. `"USDC"`). Must be paired with `defaultSourceChainType` + `defaultSourceChainId`. */
184
184
  defaultSourceSymbol?: string;
185
+ /**
186
+ * Pre-fill USD amount inputs in deposit flows (Connect Wallet, Deposit with
187
+ * Card, Bank Transfer, and Cash App) as an initial typed value.
188
+ */
189
+ prefilledAmountUsd?: string;
185
190
  /** Hide the "Deposit Tracker" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? false (shown). */
186
191
  hideDepositTracker?: boolean;
187
192
  /** Show balance in deposit modal header. Defaults to false */
@@ -284,7 +289,7 @@ interface DepositModalProps {
284
289
  */
285
290
  displayMode?: 'stacked' | 'tabs';
286
291
  }
287
- declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, contractCalls, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableTransferCrypto, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, enableFiatOnramp, enableConnectExchange, enableCashApp, enableApplePay, applePayTitle, applePaySubTitle, enableBankTransfer, enableStripeLink, userEmail, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, onEvent, theme, hideOverlay, initialScreen, displayMode, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
292
+ declare function DepositModal({ open, onOpenChange, userId, publishableKey, modalTitle, destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, contractCalls, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, prefilledAmountUsd, hideDepositTracker, showBalanceHeader, transferInputVariant, depositConfirmationMode, enableTransferCrypto, enableConnectWallet, browserWalletAmountQuickSelect, enablePayWithExchange, enableFiatOnramp, enableConnectExchange, enableCashApp, enableApplePay, applePayTitle, applePaySubTitle, enableBankTransfer, enableStripeLink, userEmail, hideDepositFlowInfo, hideDisplayDescription, onDepositSuccess, onDepositError, onEvent, theme, hideOverlay, initialScreen, displayMode, transferCryptoTitle, depositWithCardTitle, payWithExchangeTitle, depositTrackerTitle, depositTrackerSubTitle, }: DepositModalProps): react_jsx_runtime.JSX.Element;
288
293
 
289
294
  interface DepositHeaderProps {
290
295
  title: string;
@@ -349,6 +354,8 @@ interface TransferCryptoSingleInputProps {
349
354
  minimumDepositAmountUsd: number;
350
355
  isStablecoin: boolean;
351
356
  }) => void;
357
+ /** Optional USD prefilled used to render an estimated "You send" target. */
358
+ prefilledAmountUsd?: string;
352
359
  /** Checkout mode: estimated source amount to send (from /public/quotes). Shown above the QR code. */
353
360
  checkoutQuote?: {
354
361
  sourceAmount: string;
@@ -364,7 +371,7 @@ interface TransferCryptoSingleInputProps {
364
371
  /** Product context sent to the API — "deposit" (default) or "payment". */
365
372
  productType?: ProductType;
366
373
  }
367
- declare function TransferCryptoSingleInput({ userId, publishableKey, clientSecret, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, depositConfirmationMode, onExecutionsChange, onDepositSuccess, onDepositError, wallets: externalWallets, onSourceTokenChange, checkoutQuote, isCheckoutQuoteLoading, persistCheckingIndicator, productType, }: TransferCryptoSingleInputProps): react_jsx_runtime.JSX.Element;
374
+ declare function TransferCryptoSingleInput({ userId, publishableKey, clientSecret, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, depositConfirmationMode, onExecutionsChange, onDepositSuccess, onDepositError, wallets: externalWallets, onSourceTokenChange, prefilledAmountUsd, checkoutQuote, isCheckoutQuoteLoading, persistCheckingIndicator, productType, }: TransferCryptoSingleInputProps): react_jsx_runtime.JSX.Element;
368
375
 
369
376
  interface TransferCryptoDoubleInputProps {
370
377
  userId: string;
@@ -377,6 +384,8 @@ interface TransferCryptoDoubleInputProps {
377
384
  defaultSourceChainId?: string;
378
385
  defaultSourceTokenAddress?: string;
379
386
  defaultSourceSymbol?: string;
387
+ /** Optional USD prefilled used to render an estimated "You send" target. */
388
+ prefilledAmountUsd?: string;
380
389
  /** Controls when polling starts and whether a waiting UI is shown.
381
390
  * - "auto_ui": After 10s, starts polling and shows "Processing..." card (default)
382
391
  * - "auto_silent": After 10s, starts polling silently (no waiting UI)
@@ -397,7 +406,7 @@ interface TransferCryptoDoubleInputProps {
397
406
  }) => void;
398
407
  wallets?: Wallet[];
399
408
  }
400
- declare function TransferCryptoDoubleInput({ userId, publishableKey, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, depositConfirmationMode, onExecutionsChange, onDepositSuccess, onDepositError, wallets: externalWallets, }: TransferCryptoDoubleInputProps): react_jsx_runtime.JSX.Element;
409
+ declare function TransferCryptoDoubleInput({ userId, publishableKey, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, prefilledAmountUsd, depositConfirmationMode, onExecutionsChange, onDepositSuccess, onDepositError, wallets: externalWallets, }: TransferCryptoDoubleInputProps): react_jsx_runtime.JSX.Element;
401
410
 
402
411
  interface BuyWithCardProps {
403
412
  userId: string;
@@ -430,9 +439,11 @@ interface BuyWithCardProps {
430
439
  hideDepositFlowInfo?: boolean;
431
440
  /** When true, hides the temporary wallet address disclaimer below the flow. @default false */
432
441
  hideDisplayDescription?: boolean;
442
+ /** Optional USD prefilled for the amount input (treated like manual user input). */
443
+ prefilledAmountUsd?: string;
433
444
  }
434
445
  declare function BuyWithCard({ userId, publishableKey, view: externalView, onViewChange, maxAmountUsd, accentColor, // Keep prop for backward compatibility but don't use default
435
- destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, onDepositSuccess, onDepositError, onEvent, themeClass, wallets: externalWallets, assetCdnUrl, hideDepositFlowInfo, hideDisplayDescription, }: BuyWithCardProps): react_jsx_runtime.JSX.Element;
446
+ destinationTokenSymbol, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, onDepositSuccess, onDepositError, onEvent, themeClass, wallets: externalWallets, assetCdnUrl, hideDepositFlowInfo, hideDisplayDescription, prefilledAmountUsd, }: BuyWithCardProps): react_jsx_runtime.JSX.Element;
436
447
 
437
448
  type View = 'loading_config' | 'disabled' | 'email_input' | 'phone_input' | 'submitting_session' | 'email_otp' | 'phone_otp' | 'amount' | 'checking_deposit' | 'success' | 'guest_limit_reached' | 'limit_upgrade_intro' | 'limit_upgrade_form' | 'limit_upgrade_submitting' | 'limit_upgrade_failed';
438
449
  interface BuyWithApplePayProps {
@@ -645,6 +656,8 @@ interface BankTransferProps {
645
656
  error?: unknown;
646
657
  code?: string;
647
658
  }) => void;
659
+ /** Optional USD prefilled for the amount input (treated like manual user input). */
660
+ prefilledAmountUsd?: string;
648
661
  }
649
662
  /**
650
663
  * Bank-transfer deposit flow. Three steps:
@@ -655,7 +668,7 @@ interface BankTransferProps {
655
668
  * The widget itself handles KYC + IBAN entry + payment; we just collect the
656
669
  * fiat amount up-front so users aren't surprised by the default in the widget.
657
670
  */
658
- declare function BankTransfer({ userId, publishableKey, view: externalView, onViewChange, destinationChainType, destinationChainId, destinationTokenAddress, destinationTokenSymbol, wallets, defaultToken: externalDefaultToken, assetCdnUrl, onDepositSuccess, onEvent, onDepositError, }: BankTransferProps): react_jsx_runtime.JSX.Element;
671
+ declare function BankTransfer({ userId, publishableKey, view: externalView, onViewChange, destinationChainType, destinationChainId, destinationTokenAddress, destinationTokenSymbol, wallets, defaultToken: externalDefaultToken, assetCdnUrl, onDepositSuccess, onEvent, onDepositError, prefilledAmountUsd, }: BankTransferProps): react_jsx_runtime.JSX.Element;
659
672
 
660
673
  interface DepositWallet {
661
674
  id: string;
@@ -696,8 +709,10 @@ interface CoinbaseConnectProps {
696
709
  defaultSourceChainId?: string;
697
710
  defaultSourceTokenAddress?: string;
698
711
  defaultSourceSymbol?: string;
712
+ /** Optional USD prefilled for the amount input (treated like manual user input). */
713
+ prefilledAmountUsd?: string;
699
714
  }
700
- declare function CoinbaseConnect({ publishableKey, userId, wallets, recipientAddress, destinationTokenAddress, destinationChainId, destinationChainType, onTransferSuccess, onDepositSuccess, onDepositError, onTransferError, onClose, onBack: parentOnBack, onDisconnect, skipToHoldings, canGoBack, onExecutionsChange, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, }: CoinbaseConnectProps): react_jsx_runtime.JSX.Element | null;
715
+ declare function CoinbaseConnect({ publishableKey, userId, wallets, recipientAddress, destinationTokenAddress, destinationChainId, destinationChainType, onTransferSuccess, onDepositSuccess, onDepositError, onTransferError, onClose, onBack: parentOnBack, onDisconnect, skipToHoldings, canGoBack, onExecutionsChange, defaultSourceChainType, defaultSourceChainId, defaultSourceTokenAddress, defaultSourceSymbol, prefilledAmountUsd, }: CoinbaseConnectProps): react_jsx_runtime.JSX.Element | null;
701
716
  declare namespace CoinbaseConnect {
702
717
  var displayName: string;
703
718
  }
@@ -710,6 +725,8 @@ interface PayWithStripeLinkProps {
710
725
  destinationChainType?: ChainType;
711
726
  destinationChainId?: string;
712
727
  destinationTokenAddress?: string;
728
+ countryCode?: string;
729
+ subdivisionCode?: string;
713
730
  /**
714
731
  * Pre-created deposit intent wallets (one per chain type). When provided, the
715
732
  * Stripe onramp delivers to the deposit intent address matching the Stripe
@@ -754,7 +771,7 @@ interface PayWithStripeLinkProps {
754
771
  * The Stripe publishable key is auto-fetched from the backend via GET /config,
755
772
  * so consumers only need their Unifold publishable key.
756
773
  */
757
- declare function PayWithStripeLink({ userId, publishableKey, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, wallets: externalWallets, email: emailProp, iconUrl, step: controlledStep, onStepChange, backHandlerRef, onDepositSuccess, onDepositError, }: PayWithStripeLinkProps): react_jsx_runtime.JSX.Element | null;
774
+ declare function PayWithStripeLink({ userId, publishableKey, recipientAddress, destinationChainType, destinationChainId, destinationTokenAddress, countryCode, subdivisionCode, wallets: externalWallets, email: emailProp, iconUrl, step: controlledStep, onStepChange, backHandlerRef, onDepositSuccess, onDepositError, }: PayWithStripeLinkProps): react_jsx_runtime.JSX.Element | null;
758
775
 
759
776
  interface DepositExecutionItemProps {
760
777
  execution: DirectExecutionResponse;