@revenuecat/purchases-js 0.1.1 → 0.1.2
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/Purchases.es.d.ts +5 -1
- package/dist/Purchases.es.js +416 -357
- package/dist/Purchases.umd.js +4 -4
- package/package.json +1 -1
package/dist/Purchases.es.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare interface CustomerInfo {
|
|
|
17
17
|
* Map of productIds to purchase dates.
|
|
18
18
|
*/
|
|
19
19
|
readonly allPurchaseDatesByProduct: {
|
|
20
|
-
[productIdentifier: string]: Date;
|
|
20
|
+
[productIdentifier: string]: Date | null;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* Set of active subscription product identifiers.
|
|
@@ -74,6 +74,10 @@ export declare interface EntitlementInfo {
|
|
|
74
74
|
* The store where this entitlement was unlocked from.
|
|
75
75
|
*/
|
|
76
76
|
readonly store: Store;
|
|
77
|
+
/**
|
|
78
|
+
* The latest purchase or renewal date for the entitlement.
|
|
79
|
+
*/
|
|
80
|
+
readonly latestPurchaseDate: Date;
|
|
77
81
|
/**
|
|
78
82
|
* The first date this entitlement was purchased.
|
|
79
83
|
*/
|