@revenuecat/purchases-typescript-internal-esm 20.12.0 → 20.13.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.
- package/dist/offerings.d.ts +8 -1
- package/package.json +1 -1
package/dist/offerings.d.ts
CHANGED
|
@@ -78,7 +78,14 @@ export interface PurchasesStoreProduct {
|
|
|
78
78
|
*/
|
|
79
79
|
readonly identifier: string;
|
|
80
80
|
/**
|
|
81
|
-
* Description of the product.
|
|
81
|
+
* Description of the product. This can be an empty string.
|
|
82
|
+
*
|
|
83
|
+
* - **App Store** uses the localized description from App Store Connect
|
|
84
|
+
* (`SKProduct.localizedDescription` in StoreKit 1 or `Product.description` in StoreKit 2).
|
|
85
|
+
* - **Google Play** uses `ProductDetails.getDescription()`, which returns an
|
|
86
|
+
* empty string when no description is set in Play Console.
|
|
87
|
+
* - **RevenueCat Test Store** always returns an empty string.
|
|
88
|
+
* - **Web (RevenueCat Billing)** uses the product's configured description, which can be empty.
|
|
82
89
|
*/
|
|
83
90
|
readonly description: 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": "20.
|
|
4
|
+
"version": "20.13.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",
|