@prezly/sdk 15.18.0 → 15.19.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 = "15.
|
|
7
|
+
const VERSION = "15.18.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/Campaign.d.ts
CHANGED
|
@@ -14,6 +14,14 @@ export interface Campaign {
|
|
|
14
14
|
*/
|
|
15
15
|
content: string;
|
|
16
16
|
thumbnail_url: string;
|
|
17
|
+
/**
|
|
18
|
+
* This partially duplicates the `sender` property, but will always stay defined,
|
|
19
|
+
* even if the linked sender gets deleted later.
|
|
20
|
+
*/
|
|
21
|
+
from: {
|
|
22
|
+
name: string;
|
|
23
|
+
email_address: string;
|
|
24
|
+
};
|
|
17
25
|
story: StoryRef | null;
|
|
18
26
|
newsroom: NewsroomRef | null;
|
|
19
27
|
story_alignment: Campaign.StoryAlignment;
|