@revenuecat/purchases-typescript-internal-esm 20.13.0 → 20.14.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.
|
@@ -131,4 +131,28 @@ export interface PurchasesConfiguration {
|
|
|
131
131
|
* @experimental This API is experimental and may be changed or removed in a future release.
|
|
132
132
|
*/
|
|
133
133
|
keychainAccessGroup?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Settings that turn off safeguards of the SDK. See {@link DangerousSettings}.
|
|
136
|
+
*
|
|
137
|
+
* Hybrid SDKs that don't pass these settings on to the native SDK yet ignore them.
|
|
138
|
+
*/
|
|
139
|
+
dangerousSettings?: DangerousSettings;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Settings that turn off safeguards of the SDK. Only enable a setting in the situations its
|
|
143
|
+
* documentation describes.
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export interface DangerousSettings {
|
|
147
|
+
/**
|
|
148
|
+
* Forces the SDK to allow using a Test Store API key in release builds. By default, configuring
|
|
149
|
+
* the SDK with a Test Store API key in a release build crashes the app, so that no build using the
|
|
150
|
+
* Test Store reaches the stores.
|
|
151
|
+
*
|
|
152
|
+
* Avoid enabling this except when necessary, e.g. for internal builds compiled in release mode
|
|
153
|
+
* that are never uploaded to the stores.
|
|
154
|
+
*
|
|
155
|
+
* Disabled by default.
|
|
156
|
+
*/
|
|
157
|
+
forceAllowTestStoreInReleaseBuilds?: boolean;
|
|
134
158
|
}
|
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": "20.
|
|
4
|
+
"version": "20.14.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",
|