tf-checkout-react-native 2.0.0-beta.15 → 2.0.0-beta.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tf-checkout-react-native",
3
- "version": "2.0.0-beta.15",
3
+ "version": "2.0.0-beta.16",
4
4
  "description": "TheTicketFairy ReactNative Checkout library",
5
5
  "homepage": "https://github.com/theticketfairy/tf-shared-libraries#readme",
6
6
  "author": "The Ticket Fairy",
@@ -60,7 +60,7 @@ export const nativeSheetIntentIdentity = (
60
60
  }
61
61
 
62
62
  /** The bridge must preserve the complete raw PI payment_method_types list.
63
- * Link has no universal card-fee equivalence contract, so it is not admitted. */
63
+ * Stripe may offer card-mode Link within this existing card payment contract. */
64
64
  const nativeSheetCardMethods = (intent: unknown): boolean => {
65
65
  if (!intent || typeof intent !== 'object') return false
66
66
  const methods = Object.getOwnPropertyDescriptor(intent, 'paymentMethodTypes')?.value
@@ -126,9 +126,9 @@ export const createPaymentSheetConfirmation = (
126
126
  defaultBillingDetails: billing,
127
127
  customFlow: false,
128
128
  allowsDelayedPaymentMethods: false,
129
- // A native Link selection can have a different canonical fee class.
130
- // Do not infer equivalence from PI eligibility or a display preference.
131
- link: { display: sdk.LinkDisplay.NEVER },
129
+ // Stripe decides whether the original account/session supports card-mode
130
+ // Link. This preference does not add an explicit Link/non-card PI type.
131
+ link: { display: sdk.LinkDisplay.AUTOMATIC },
132
132
  })
133
133
  if (initialized.error)
134
134
  throw paymentProviderError(NATIVE_SHEET_CARD_FIELD_MESSAGE, 'notStarted', {