@unifold/connect-react-native 0.1.32 → 0.1.34

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
@@ -378,6 +378,10 @@ interface DepositModalProps {
378
378
  * in app.json (the UI reads it via `expo-constants`).
379
379
  */
380
380
  stripeMerchantIdentifier?: string;
381
+ /** Where to render the Stripe payment method selector: "header" or "inline". Default: "header" */
382
+ stripePaymentSelectorPosition?: "header" | "inline";
383
+ /** Skip the success confirmation screen and fire onComplete immediately. Default: false */
384
+ stripeSkipSuccessConfirmation?: boolean;
381
385
  /**
382
386
  * Same ThemeProvider options as `UnifoldProvider` (`theme`, `components`, fonts, etc.).
383
387
  * Re-wrapped around the Stripe Link Pay sheet so nested modals receive theme context and
@@ -597,6 +601,10 @@ interface UnifoldConnectProviderConfig {
597
601
  * `expo-constants`. Use this for bare React Native or to override.
598
602
  */
599
603
  stripeMerchantIdentifier?: string;
604
+ /** Where to render the Stripe payment method selector: "header" (above amount) or "inline" (below). Default: "header" */
605
+ stripePaymentSelectorPosition?: "header" | "inline";
606
+ /** Skip the success confirmation screen and fire onComplete immediately. Default: false */
607
+ stripeSkipSuccessConfirmation?: boolean;
600
608
  };
601
609
  }
602
610
  interface DepositResult {
package/dist/index.d.ts CHANGED
@@ -378,6 +378,10 @@ interface DepositModalProps {
378
378
  * in app.json (the UI reads it via `expo-constants`).
379
379
  */
380
380
  stripeMerchantIdentifier?: string;
381
+ /** Where to render the Stripe payment method selector: "header" or "inline". Default: "header" */
382
+ stripePaymentSelectorPosition?: "header" | "inline";
383
+ /** Skip the success confirmation screen and fire onComplete immediately. Default: false */
384
+ stripeSkipSuccessConfirmation?: boolean;
381
385
  /**
382
386
  * Same ThemeProvider options as `UnifoldProvider` (`theme`, `components`, fonts, etc.).
383
387
  * Re-wrapped around the Stripe Link Pay sheet so nested modals receive theme context and
@@ -597,6 +601,10 @@ interface UnifoldConnectProviderConfig {
597
601
  * `expo-constants`. Use this for bare React Native or to override.
598
602
  */
599
603
  stripeMerchantIdentifier?: string;
604
+ /** Where to render the Stripe payment method selector: "header" (above amount) or "inline" (below). Default: "header" */
605
+ stripePaymentSelectorPosition?: "header" | "inline";
606
+ /** Skip the success confirmation screen and fire onComplete immediately. Default: false */
607
+ stripeSkipSuccessConfirmation?: boolean;
600
608
  };
601
609
  }
602
610
  interface DepositResult {