@revenuecat/purchases-typescript-internal 19.17.0 → 20.0.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/customerInfo.d.ts +3 -3
- package/package.json +1 -1
package/dist/customerInfo.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface PurchasesEntitlementInfo {
|
|
|
34
34
|
/**
|
|
35
35
|
* The last period type this entitlement was in. Either: NORMAL, INTRO, TRIAL, PREPAID.
|
|
36
36
|
*/
|
|
37
|
-
readonly periodType:
|
|
37
|
+
readonly periodType: PeriodType;
|
|
38
38
|
/**
|
|
39
39
|
* The latest purchase or renewal date for the entitlement in ISO8601 format.
|
|
40
40
|
*/
|
|
@@ -53,12 +53,12 @@ export interface PurchasesEntitlementInfo {
|
|
|
53
53
|
readonly originalPurchaseDateMillis: number;
|
|
54
54
|
/**
|
|
55
55
|
* The expiration date for the entitlement in ISO8601, can be `null` for lifetime access.
|
|
56
|
-
* If the `periodType` is `
|
|
56
|
+
* If the `periodType` is `TRIAL`, this is the trial expiration date.
|
|
57
57
|
*/
|
|
58
58
|
readonly expirationDate: string | null;
|
|
59
59
|
/**
|
|
60
60
|
* The expiration date for the entitlement in milliseconds, can be `null` for lifetime access.
|
|
61
|
-
* If the `periodType` is `
|
|
61
|
+
* If the `periodType` is `TRIAL`, this is the trial expiration date.
|
|
62
62
|
*/
|
|
63
63
|
readonly expirationDateMillis: number | null;
|
|
64
64
|
/**
|
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": "
|
|
4
|
+
"version": "20.0.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",
|