@unifold/connect-react-native 0.1.21 → 0.1.22

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/README.md CHANGED
@@ -217,6 +217,8 @@ const { beginDeposit, closeDeposit, publishableKey } = useUnifold();
217
217
  | `destinationTokenAddress` | `string` | No | Target token contract address |
218
218
  | `destinationTokenSymbol` | `string` | No | Target token symbol (e.g., `'USDC'`) |
219
219
  | `recipientAddress` | `string` | No | Wallet address to receive funds |
220
+ | `stripeOnrampEmail` | `string` | No | Pre-fills Stripe Link Pay email when user opens Pay with Stripe Link from the deposit menu |
221
+ | `stripeOnrampPhone` | `string` | No | Pre-fills Stripe Link Pay phone (use with `stripeOnrampEmail` per Stripe’s flow) |
220
222
  | `defaultChainType` | `'ethereum' \| 'solana' \| 'bitcoin'` | No | Pre-select source network type |
221
223
  | `defaultChainId` | `string` | No | Pre-select source chain ID |
222
224
  | `defaultTokenAddress` | `string` | No | Pre-select source token address |
package/dist/index.d.mts CHANGED
@@ -277,9 +277,9 @@ 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`) */
280
+ /** Pre-fills Stripe Link Pay email — set via `beginDeposit({ stripeOnrampEmail })` (forwarded as `email` on `StripeOnramp`) */
281
281
  stripeOnrampEmail?: string;
282
- /** Pre-fills Stripe Link Pay phone (forwarded as `phone` on `StripeOnramp`) */
282
+ /** Pre-fills Stripe Link Pay phone — set via `beginDeposit({ stripeOnrampPhone })` (forwarded as `phone` on `StripeOnramp`) */
283
283
  stripeOnrampPhone?: string;
284
284
  /**
285
285
  * How deposit confirmation is handled: auto_ui (show waiting UI + poll after 10s),
@@ -434,9 +434,9 @@ export interface DepositConfig {
434
434
  defaultChainId?: string;
435
435
  defaultTokenAddress?: string;
436
436
  showBalance?: boolean;
437
- /** Pre-fills Stripe Link Pay email step (deposit menu Pay with Stripe Link) */
437
+ /** Pre-fills Stripe Link Pay email (`beginDeposit` only not provider config) */
438
438
  stripeOnrampEmail?: string;
439
- /** Pre-fills Stripe Link Pay phone; with `stripeOnrampEmail`, can skip verify steps per Stripe flow */
439
+ /** Pre-fills Stripe Link Pay phone; with `stripeOnrampEmail`, Stripe may skip verify steps */
440
440
  stripeOnrampPhone?: string;
441
441
  /**
442
442
  * How deposit confirmation and waiting behavior is handled.
package/dist/index.d.ts CHANGED
@@ -277,9 +277,9 @@ 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`) */
280
+ /** Pre-fills Stripe Link Pay email — set via `beginDeposit({ stripeOnrampEmail })` (forwarded as `email` on `StripeOnramp`) */
281
281
  stripeOnrampEmail?: string;
282
- /** Pre-fills Stripe Link Pay phone (forwarded as `phone` on `StripeOnramp`) */
282
+ /** Pre-fills Stripe Link Pay phone — set via `beginDeposit({ stripeOnrampPhone })` (forwarded as `phone` on `StripeOnramp`) */
283
283
  stripeOnrampPhone?: string;
284
284
  /**
285
285
  * How deposit confirmation is handled: auto_ui (show waiting UI + poll after 10s),
@@ -434,9 +434,9 @@ export interface DepositConfig {
434
434
  defaultChainId?: string;
435
435
  defaultTokenAddress?: string;
436
436
  showBalance?: boolean;
437
- /** Pre-fills Stripe Link Pay email step (deposit menu Pay with Stripe Link) */
437
+ /** Pre-fills Stripe Link Pay email (`beginDeposit` only not provider config) */
438
438
  stripeOnrampEmail?: string;
439
- /** Pre-fills Stripe Link Pay phone; with `stripeOnrampEmail`, can skip verify steps per Stripe flow */
439
+ /** Pre-fills Stripe Link Pay phone; with `stripeOnrampEmail`, Stripe may skip verify steps */
440
440
  stripeOnrampPhone?: string;
441
441
  /**
442
442
  * How deposit confirmation and waiting behavior is handled.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifold/connect-react-native",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Unifold Connect React Native SDK - Crypto deposit and onramp for React Native/Expo",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -50,7 +50,7 @@
50
50
  "dts-bundle-generator": "^9.5.1",
51
51
  "tsup": "^8.0.0",
52
52
  "typescript": "^5.0.0",
53
- "@unifold/ui-react-native": "0.1.14"
53
+ "@unifold/ui-react-native": "0.1.15"
54
54
  },
55
55
  "keywords": [
56
56
  "unifold",