@unifold/connect-react-native 0.1.20 → 0.1.21
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 +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -277,6 +277,10 @@ export interface DepositModalProps {
|
|
|
277
277
|
enableStripeLinkPay?: boolean;
|
|
278
278
|
/** Injected StripeOnramp component — avoids bundling Stripe into the main entry */
|
|
279
279
|
StripeOnrampComponent?: React$1.ComponentType<any>;
|
|
280
|
+
/** Pre-fills Stripe Link Pay email (forwarded as `email` on `StripeOnramp`) */
|
|
281
|
+
stripeOnrampEmail?: string;
|
|
282
|
+
/** Pre-fills Stripe Link Pay phone (forwarded as `phone` on `StripeOnramp`) */
|
|
283
|
+
stripeOnrampPhone?: string;
|
|
280
284
|
/**
|
|
281
285
|
* How deposit confirmation is handled: auto_ui (show waiting UI + poll after 10s),
|
|
282
286
|
* auto_silent (poll after 10s, no waiting UI), manual ("I've deposited" button starts polling).
|
|
@@ -430,6 +434,10 @@ export interface DepositConfig {
|
|
|
430
434
|
defaultChainId?: string;
|
|
431
435
|
defaultTokenAddress?: string;
|
|
432
436
|
showBalance?: boolean;
|
|
437
|
+
/** Pre-fills Stripe Link Pay email step (deposit menu → Pay with Stripe Link) */
|
|
438
|
+
stripeOnrampEmail?: string;
|
|
439
|
+
/** Pre-fills Stripe Link Pay phone; with `stripeOnrampEmail`, can skip verify steps per Stripe flow */
|
|
440
|
+
stripeOnrampPhone?: string;
|
|
433
441
|
/**
|
|
434
442
|
* How deposit confirmation and waiting behavior is handled.
|
|
435
443
|
* - auto_ui (default): Automatically show "Processing deposit" UI and start polling after 10s. No "I've deposited" button.
|
package/dist/index.d.ts
CHANGED
|
@@ -277,6 +277,10 @@ export interface DepositModalProps {
|
|
|
277
277
|
enableStripeLinkPay?: boolean;
|
|
278
278
|
/** Injected StripeOnramp component — avoids bundling Stripe into the main entry */
|
|
279
279
|
StripeOnrampComponent?: React$1.ComponentType<any>;
|
|
280
|
+
/** Pre-fills Stripe Link Pay email (forwarded as `email` on `StripeOnramp`) */
|
|
281
|
+
stripeOnrampEmail?: string;
|
|
282
|
+
/** Pre-fills Stripe Link Pay phone (forwarded as `phone` on `StripeOnramp`) */
|
|
283
|
+
stripeOnrampPhone?: string;
|
|
280
284
|
/**
|
|
281
285
|
* How deposit confirmation is handled: auto_ui (show waiting UI + poll after 10s),
|
|
282
286
|
* auto_silent (poll after 10s, no waiting UI), manual ("I've deposited" button starts polling).
|
|
@@ -430,6 +434,10 @@ export interface DepositConfig {
|
|
|
430
434
|
defaultChainId?: string;
|
|
431
435
|
defaultTokenAddress?: string;
|
|
432
436
|
showBalance?: boolean;
|
|
437
|
+
/** Pre-fills Stripe Link Pay email step (deposit menu → Pay with Stripe Link) */
|
|
438
|
+
stripeOnrampEmail?: string;
|
|
439
|
+
/** Pre-fills Stripe Link Pay phone; with `stripeOnrampEmail`, can skip verify steps per Stripe flow */
|
|
440
|
+
stripeOnrampPhone?: string;
|
|
433
441
|
/**
|
|
434
442
|
* How deposit confirmation and waiting behavior is handled.
|
|
435
443
|
* - auto_ui (default): Automatically show "Processing deposit" UI and start polling after 10s. No "I've deposited" button.
|