@revenuecat/purchases-typescript-internal-esm 11.1.0 → 11.1.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/offerings.d.ts +5 -0
- package/dist/offerings.js +5 -0
- package/package.json +1 -1
package/dist/offerings.d.ts
CHANGED
|
@@ -461,6 +461,11 @@ export declare enum PRORATION_MODE {
|
|
|
461
461
|
* next recurrence time. The billing cycle stays the same.
|
|
462
462
|
*/
|
|
463
463
|
IMMEDIATE_WITHOUT_PRORATION = 3,
|
|
464
|
+
/**
|
|
465
|
+
* Replacement takes effect when the old plan expires, and the new price will
|
|
466
|
+
* be charged at the same time.
|
|
467
|
+
*/
|
|
468
|
+
DEFERRED = 4,
|
|
464
469
|
/**
|
|
465
470
|
* Replacement takes effect immediately, and the user is charged full price
|
|
466
471
|
* of new plan and is given a full billing cycle of subscription,
|
package/dist/offerings.js
CHANGED
|
@@ -137,6 +137,11 @@ export var PRORATION_MODE;
|
|
|
137
137
|
* next recurrence time. The billing cycle stays the same.
|
|
138
138
|
*/
|
|
139
139
|
PRORATION_MODE[PRORATION_MODE["IMMEDIATE_WITHOUT_PRORATION"] = 3] = "IMMEDIATE_WITHOUT_PRORATION";
|
|
140
|
+
/**
|
|
141
|
+
* Replacement takes effect when the old plan expires, and the new price will
|
|
142
|
+
* be charged at the same time.
|
|
143
|
+
*/
|
|
144
|
+
PRORATION_MODE[PRORATION_MODE["DEFERRED"] = 4] = "DEFERRED";
|
|
140
145
|
/**
|
|
141
146
|
* Replacement takes effect immediately, and the user is charged full price
|
|
142
147
|
* of new plan and is given a full billing cycle of subscription,
|
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": "11.1.
|
|
4
|
+
"version": "11.1.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",
|