@prezly/sdk 14.2.0 → 14.3.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.
@@ -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 = "14.1.1";
7
+ const VERSION = "14.2.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;
@@ -1,3 +1,3 @@
1
- const VERSION = "14.1.1";
1
+ const VERSION = "14.2.0";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -60,7 +60,7 @@ export interface License extends LicenseRef {
60
60
  * use "plan" instead.
61
61
  */
62
62
  plan_level: PlanLevel | null;
63
- plan: License.Plan;
63
+ plan: License.Plan | null;
64
64
  status: License.Status;
65
65
  subscription_lockout: boolean;
66
66
  /**
@@ -111,5 +111,6 @@ export declare namespace License {
111
111
  interface Plan {
112
112
  display_name: string | null;
113
113
  is_legacy: boolean;
114
+ is_superior: boolean;
114
115
  }
115
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "14.2.0",
3
+ "version": "14.3.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",