@prezly/sdk 12.0.1 → 12.0.3

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 = "12.0.0";
7
+ const VERSION = "12.0.2";
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 = "12.0.0";
1
+ const VERSION = "12.0.2";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -1,7 +1,7 @@
1
- import type { NewsroomRef } from '../../types';
2
- declare type NewsroomId = NewsroomRef['uuid'] | NewsroomRef['id'];
1
+ import type { Newsroom } from '../../types';
2
+ declare type NewsroomId = Newsroom['uuid'] | Newsroom['id'];
3
3
  export interface HubMember {
4
- newsroom: NewsroomRef;
4
+ newsroom: Newsroom;
5
5
  is_displaying_stories_in_hub: boolean;
6
6
  }
7
7
  export interface ListResponse {
@@ -88,9 +88,14 @@ export interface Newsroom extends NewsroomRef {
88
88
  is_enabled: boolean;
89
89
  category: string | null;
90
90
  };
91
+ google_analytics_id: string | null;
92
+ /**
93
+ * @deprecated Please use `google_analytics_id` instead.
94
+ * @see google_analytics_id
95
+ */
91
96
  ga_tracking_id: string | null;
92
- segment_analytics_id: string | null;
93
97
  google_search_console_key: string | null;
98
+ segment_analytics_id: string | null;
94
99
  is_subscription_form_enabled: boolean;
95
100
  is_white_labeled: boolean;
96
101
  is_plausible_enabled: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "12.0.1",
3
+ "version": "12.0.3",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",