@revenuecat/purchases-typescript-internal 19.4.0 → 19.5.0

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.
@@ -88,4 +88,29 @@ export interface PurchasesConfiguration {
88
88
  * @param localeString - The locale string (e.g., "es-ES", "en-US") or null to use system default
89
89
  */
90
90
  preferredUILocaleOverride?: string;
91
+ /**
92
+ * iOS-only, will be ignored for Android.
93
+ *
94
+ * Whether a web purchase button that opens its link in the external browser goes through Apple's
95
+ * external purchase custom link flow: the customer is shown Apple's disclosure notice, and the
96
+ * purchase is reported to Apple.
97
+ *
98
+ * Disabled by default. Enabling it requires the app to carry Apple's external purchase link
99
+ * entitlement, otherwise no purchase can be made outside the App Store.
100
+ *
101
+ * @experimental This API is experimental and may be changed or removed in a future release.
102
+ */
103
+ useExternalPurchaseCustomLinks?: boolean;
104
+ /**
105
+ * iOS-only, will be ignored for Android.
106
+ *
107
+ * Whether the simulator offers external purchases in any storefront. When disabled, the simulator
108
+ * behaves as a device does for a customer who is not eligible.
109
+ *
110
+ * Enabled by default. Has no effect on a physical device, nor while `useExternalPurchaseCustomLinks`
111
+ * is disabled.
112
+ *
113
+ * @experimental This API is experimental and may be changed or removed in a future release.
114
+ */
115
+ enableExternalPurchasesInSimulator?: boolean;
91
116
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@revenuecat/purchases-typescript-internal",
3
3
  "title": "Purchases typescript internal shared code",
4
- "version": "19.4.0",
4
+ "version": "19.5.0",
5
5
  "description": "Typescript code to be used by RevenueCat's hybrid SDKs. Not meant for external usage.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",