@revenuecat/purchases-typescript-internal 13.24.0 → 13.26.0-vc-beta.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.
- package/dist/customerInfo.d.ts +19 -0
- package/package.json +1 -1
package/dist/customerInfo.d.ts
CHANGED
|
@@ -215,6 +215,13 @@ export interface CustomerInfo {
|
|
|
215
215
|
readonly subscriptionsByProductIdentifier: {
|
|
216
216
|
[key: string]: PurchasesSubscriptionInfo;
|
|
217
217
|
};
|
|
218
|
+
/**
|
|
219
|
+
* Information about the customer's virtual currencies contained in an object keyed
|
|
220
|
+
* by the virtual currency's code.
|
|
221
|
+
*/
|
|
222
|
+
readonly virtualCurrencies: {
|
|
223
|
+
[key: string]: PurchasesVirtualCurrencyInfo;
|
|
224
|
+
};
|
|
218
225
|
}
|
|
219
226
|
/**
|
|
220
227
|
* Represents a non-subscription transaction in the Store.
|
|
@@ -311,3 +318,15 @@ export interface PurchasesSubscriptionInfo {
|
|
|
311
318
|
*/
|
|
312
319
|
readonly willRenew: boolean;
|
|
313
320
|
}
|
|
321
|
+
/**
|
|
322
|
+
* Describes information about a virtual currency in the app.
|
|
323
|
+
*
|
|
324
|
+
* Use this class to access information about a virtual currency, such as its current balance.
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
export interface PurchasesVirtualCurrencyInfo {
|
|
328
|
+
/**
|
|
329
|
+
* The current balance of the virtual currency.
|
|
330
|
+
*/
|
|
331
|
+
readonly balance: number;
|
|
332
|
+
}
|
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": "13.
|
|
4
|
+
"version": "13.26.0-vc-beta.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",
|