@revenuecat/purchases-typescript-internal 11.0.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
|
@@ -140,6 +140,11 @@ var PRORATION_MODE;
|
|
|
140
140
|
* next recurrence time. The billing cycle stays the same.
|
|
141
141
|
*/
|
|
142
142
|
PRORATION_MODE[PRORATION_MODE["IMMEDIATE_WITHOUT_PRORATION"] = 3] = "IMMEDIATE_WITHOUT_PRORATION";
|
|
143
|
+
/**
|
|
144
|
+
* Replacement takes effect when the old plan expires, and the new price will
|
|
145
|
+
* be charged at the same time.
|
|
146
|
+
*/
|
|
147
|
+
PRORATION_MODE[PRORATION_MODE["DEFERRED"] = 4] = "DEFERRED";
|
|
143
148
|
/**
|
|
144
149
|
* Replacement takes effect immediately, and the user is charged full price
|
|
145
150
|
* 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",
|
|
3
3
|
"title": "Purchases typescript internal shared code",
|
|
4
|
-
"version": "11.
|
|
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",
|