@revenuecat/purchases-typescript-internal-esm 17.4.0 → 17.5.1
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.
|
@@ -81,4 +81,11 @@ export interface PurchasesConfiguration {
|
|
|
81
81
|
* Default is enabled.
|
|
82
82
|
*/
|
|
83
83
|
automaticDeviceIdentifierCollectionEnabled?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Override the preferred UI locale for RevenueCat UI components at runtime. This affects both API requests and UI rendering.
|
|
86
|
+
* This will automatically clear the offerings cache and trigger a background refetch to get paywall templates with the correct localizations.
|
|
87
|
+
*
|
|
88
|
+
* @param localeString - The locale string (e.g., "es-ES", "en-US") or null to use system default
|
|
89
|
+
*/
|
|
90
|
+
preferredUILocaleOverride?: string;
|
|
84
91
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revenuecat/purchases-typescript-internal-esm",
|
|
3
3
|
"title": "Purchases typescript internal shared code",
|
|
4
|
-
"version": "17.
|
|
4
|
+
"version": "17.5.1",
|
|
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",
|