@prezly/sdk 21.3.0 → 21.4.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/api/constants.cjs
CHANGED
|
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.DEFAULT_USER_AGENT = void 0;
|
|
7
|
-
const VERSION = "21.
|
|
7
|
+
const VERSION = "21.4.0";
|
|
8
8
|
const URL = 'https://github.com/prezly/javascript-sdk';
|
|
9
9
|
const DEFAULT_USER_AGENT = exports.DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
|
package/dist/api/constants.js
CHANGED
package/dist/types/Newsroom.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface NewsroomRef {
|
|
|
22
22
|
* @see status
|
|
23
23
|
*/
|
|
24
24
|
is_archived: boolean;
|
|
25
|
+
is_demo: boolean;
|
|
25
26
|
is_multilingual: boolean;
|
|
26
27
|
is_indexable: boolean;
|
|
27
28
|
/**
|
|
@@ -113,7 +114,6 @@ export interface Newsroom extends NewsroomRef {
|
|
|
113
114
|
visits_last_7_days: number | null;
|
|
114
115
|
visits_last_7_days_previous: number | null;
|
|
115
116
|
};
|
|
116
|
-
is_demo: boolean;
|
|
117
117
|
}
|
|
118
118
|
export declare namespace Newsroom {
|
|
119
119
|
enum Status {
|
|
@@ -17,6 +17,7 @@ export interface NewsroomContactRef {
|
|
|
17
17
|
twitter: string | null;
|
|
18
18
|
facebook: string | null;
|
|
19
19
|
avatar_url: string | null;
|
|
20
|
+
is_demo: boolean;
|
|
20
21
|
}
|
|
21
22
|
export interface NewsroomContact extends Omit<NewsroomContactRef, 'avatar_url'> {
|
|
22
23
|
avatar_image: UploadedImage | null;
|