@unifold/connect-react 0.1.81 → 0.1.83

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
@@ -68,6 +68,19 @@ interface UnifoldConnectProviderConfig {
68
68
  enableConnectExchange?: boolean;
69
69
  /** Enable "Pay with Cash App" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
70
70
  enableCashApp?: boolean;
71
+ /**
72
+ * Enable the "Pay with Interac" option (CAD e-Transfer, Canada). Opt-in
73
+ * like Stripe Link: resolves as flag ?? dashboard `interac.enabled` ?? false.
74
+ * The platform `interac.is_hidden` hard hide (project whitelist + Canada-only)
75
+ * always wins.
76
+ */
77
+ enableInterac?: boolean;
78
+ /**
79
+ * Enable the "Bank Transfer" option. Resolves as flag ?? dashboard
80
+ * `bank_transfer.enabled` ?? false. The platform `bank_transfer.is_hidden`
81
+ * hard hide always wins.
82
+ */
83
+ enableBankTransfer?: boolean;
71
84
  /** Enable "Pay with Link" headless onramp option. Defaults to false. */
72
85
  enableStripeLink?: boolean;
73
86
  /**
@@ -171,11 +184,10 @@ interface DepositConfig {
171
184
  *
172
185
  * - **Stripe Link / other onramp providers (Banxa, etc.):** `user.email` pre-fills
173
186
  * the email screen and auto-submits, skipping manual entry.
174
- * - **Apple Pay (headless Coinbase):** `user.email` is treated as a pre-trusted
175
- * address the flow skips both the localStorage email check and the email-OTP
176
- * screen (it passes `email_already_verified: true` and uses this address
177
- * directly). Phone OTP is still required (Coinbase mandates phone
178
- * re-verification every 60 days).
187
+ * - **Apple Pay (headless Coinbase):** `user.email` pre-fills the contact
188
+ * form. Email OTP is not required (default `required_factors` is phone).
189
+ * Phone OTP is still required (Coinbase mandates phone re-verification
190
+ * every 60 days).
179
191
  */
180
192
  user?: {
181
193
  /** User's email address. Pre-fills Stripe Link / onramp flows and acts as the pre-trusted email for Apple Pay (headless Coinbase). */
package/dist/index.d.ts CHANGED
@@ -68,6 +68,19 @@ interface UnifoldConnectProviderConfig {
68
68
  enableConnectExchange?: boolean;
69
69
  /** Enable "Pay with Cash App" option. Overrides dashboard default. Resolves as flag ?? dashboard value ?? true. */
70
70
  enableCashApp?: boolean;
71
+ /**
72
+ * Enable the "Pay with Interac" option (CAD e-Transfer, Canada). Opt-in
73
+ * like Stripe Link: resolves as flag ?? dashboard `interac.enabled` ?? false.
74
+ * The platform `interac.is_hidden` hard hide (project whitelist + Canada-only)
75
+ * always wins.
76
+ */
77
+ enableInterac?: boolean;
78
+ /**
79
+ * Enable the "Bank Transfer" option. Resolves as flag ?? dashboard
80
+ * `bank_transfer.enabled` ?? false. The platform `bank_transfer.is_hidden`
81
+ * hard hide always wins.
82
+ */
83
+ enableBankTransfer?: boolean;
71
84
  /** Enable "Pay with Link" headless onramp option. Defaults to false. */
72
85
  enableStripeLink?: boolean;
73
86
  /**
@@ -171,11 +184,10 @@ interface DepositConfig {
171
184
  *
172
185
  * - **Stripe Link / other onramp providers (Banxa, etc.):** `user.email` pre-fills
173
186
  * the email screen and auto-submits, skipping manual entry.
174
- * - **Apple Pay (headless Coinbase):** `user.email` is treated as a pre-trusted
175
- * address the flow skips both the localStorage email check and the email-OTP
176
- * screen (it passes `email_already_verified: true` and uses this address
177
- * directly). Phone OTP is still required (Coinbase mandates phone
178
- * re-verification every 60 days).
187
+ * - **Apple Pay (headless Coinbase):** `user.email` pre-fills the contact
188
+ * form. Email OTP is not required (default `required_factors` is phone).
189
+ * Phone OTP is still required (Coinbase mandates phone re-verification
190
+ * every 60 days).
179
191
  */
180
192
  user?: {
181
193
  /** User's email address. Pre-fills Stripe Link / onramp flows and acts as the pre-trusted email for Apple Pay (headless Coinbase). */