@prezly/sdk 14.0.0 → 14.1.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/api/constants.cjs
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.DEFAULT_USER_AGENT = void 0;
|
|
7
|
-
const VERSION = "
|
|
7
|
+
const VERSION = "14.0.0";
|
|
8
8
|
const URL = 'https://github.com/prezly/javascript-sdk';
|
|
9
9
|
const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
|
|
10
10
|
exports.DEFAULT_USER_AGENT = DEFAULT_USER_AGENT;
|
package/dist/api/constants.js
CHANGED
package/dist/types/License.d.ts
CHANGED
|
@@ -55,8 +55,12 @@ export interface License extends LicenseRef {
|
|
|
55
55
|
/**
|
|
56
56
|
* Plan level will be null in case
|
|
57
57
|
* we do not have data about plan level.
|
|
58
|
+
*
|
|
59
|
+
* @deprecated Will be dropped in the future,
|
|
60
|
+
* use "plan" instead.
|
|
58
61
|
*/
|
|
59
62
|
plan_level: PlanLevel | null;
|
|
63
|
+
plan: License.Plan;
|
|
60
64
|
status: License.Status;
|
|
61
65
|
subscription_lockout: boolean;
|
|
62
66
|
/**
|
|
@@ -104,4 +108,8 @@ export declare namespace License {
|
|
|
104
108
|
CANCELED = "canceled",
|
|
105
109
|
UNPAID = "unpaid"
|
|
106
110
|
}
|
|
111
|
+
interface Plan {
|
|
112
|
+
display_name: string | null;
|
|
113
|
+
is_legacy: boolean;
|
|
114
|
+
}
|
|
107
115
|
}
|