@unifold/connect-react-native 0.1.49 → 0.1.50-beta.2

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
@@ -345,7 +345,7 @@ type TransferInputVariant = "single_input" | "double_input" | "compact";
345
345
  */
346
346
  type DepositMenuDisplay = "stacked" | "tabs";
347
347
  /** Controls which screen opens first when the deposit modal is shown */
348
- type DepositInitialScreen = "main" | "transfer" | "card" | "tracker" | "cashapp";
348
+ type DepositInitialScreen = "main" | "transfer" | "card" | "tracker" | "cashapp" | "wallet";
349
349
  interface DepositModalProps {
350
350
  /** Whether the modal is visible */
351
351
  visible: boolean;
@@ -379,6 +379,8 @@ interface DepositModalProps {
379
379
  hideDepositTracker?: boolean;
380
380
  /** Show "Pay with Cash App" option in the deposit menu */
381
381
  enableCashApp?: boolean;
382
+ /** Show "Connect Wallet" option in the deposit menu. When undefined, uses the project dashboard setting. */
383
+ enableConnectWallet?: boolean;
382
384
  /** Show "Pay with Link" (Stripe) option in the deposit menu */
383
385
  enableStripeLinkPay?: boolean;
384
386
  /** Registered Stripe onramp component (Connect sets this from `enableStripeLinkPay`) */
@@ -463,6 +465,8 @@ interface DepositModalProps {
463
465
  stripeLinkPay?: BorderRadiusConfig;
464
466
  /** Cash App sheet */
465
467
  cashApp?: BorderRadiusConfig;
468
+ /** Connect Wallet sheet */
469
+ connectWallet?: BorderRadiusConfig;
466
470
  /** WebView sheet (inside buy with card) */
467
471
  webView?: BorderRadiusConfig;
468
472
  };
@@ -619,6 +623,8 @@ interface UnifoldConnectProviderConfig {
619
623
  enableStripeLinkPay?: boolean;
620
624
  /** Show "Pay with Cash App" option in the deposit menu. Defaults to false. */
621
625
  enableCashApp?: boolean;
626
+ /** Show "Connect Wallet" option in the deposit menu. When undefined, uses the dashboard setting. */
627
+ enableConnectWallet?: boolean;
622
628
  /**
623
629
  * Apple Pay merchant id (`merchant.com...`) for Stripe Link Pay. Must match the
624
630
  * `merchantIdentifier` in the `@stripe/stripe-react-native` Expo plugin (app.json).
package/dist/index.d.ts CHANGED
@@ -345,7 +345,7 @@ type TransferInputVariant = "single_input" | "double_input" | "compact";
345
345
  */
346
346
  type DepositMenuDisplay = "stacked" | "tabs";
347
347
  /** Controls which screen opens first when the deposit modal is shown */
348
- type DepositInitialScreen = "main" | "transfer" | "card" | "tracker" | "cashapp";
348
+ type DepositInitialScreen = "main" | "transfer" | "card" | "tracker" | "cashapp" | "wallet";
349
349
  interface DepositModalProps {
350
350
  /** Whether the modal is visible */
351
351
  visible: boolean;
@@ -379,6 +379,8 @@ interface DepositModalProps {
379
379
  hideDepositTracker?: boolean;
380
380
  /** Show "Pay with Cash App" option in the deposit menu */
381
381
  enableCashApp?: boolean;
382
+ /** Show "Connect Wallet" option in the deposit menu. When undefined, uses the project dashboard setting. */
383
+ enableConnectWallet?: boolean;
382
384
  /** Show "Pay with Link" (Stripe) option in the deposit menu */
383
385
  enableStripeLinkPay?: boolean;
384
386
  /** Registered Stripe onramp component (Connect sets this from `enableStripeLinkPay`) */
@@ -463,6 +465,8 @@ interface DepositModalProps {
463
465
  stripeLinkPay?: BorderRadiusConfig;
464
466
  /** Cash App sheet */
465
467
  cashApp?: BorderRadiusConfig;
468
+ /** Connect Wallet sheet */
469
+ connectWallet?: BorderRadiusConfig;
466
470
  /** WebView sheet (inside buy with card) */
467
471
  webView?: BorderRadiusConfig;
468
472
  };
@@ -619,6 +623,8 @@ interface UnifoldConnectProviderConfig {
619
623
  enableStripeLinkPay?: boolean;
620
624
  /** Show "Pay with Cash App" option in the deposit menu. Defaults to false. */
621
625
  enableCashApp?: boolean;
626
+ /** Show "Connect Wallet" option in the deposit menu. When undefined, uses the dashboard setting. */
627
+ enableConnectWallet?: boolean;
622
628
  /**
623
629
  * Apple Pay merchant id (`merchant.com...`) for Stripe Link Pay. Must match the
624
630
  * `merchantIdentifier` in the `@stripe/stripe-react-native` Expo plugin (app.json).