@prezly/sdk 26.3.0-0 → 26.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,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.DEFAULT_USER_AGENT = void 0;
7
- const VERSION = "26.2.1";
7
+ const VERSION = "26.3.0-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})`;
@@ -1,3 +1,3 @@
1
- const VERSION = "26.2.1";
1
+ const VERSION = "26.3.0-0";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -22,7 +22,7 @@ interface BaseContactPayload {
22
22
  avatar_image?: string | null;
23
23
  languages?: string[];
24
24
  emails?: string[];
25
- email_addresses?: (Pick<Contact.EmailAddress, 'email_address'> & Partial<Omit<Contact.EmailAddress, 'email_address'>>)[];
25
+ email_addresses?: (Pick<Contact.EmailAddress, 'email_address'> & Partial<Contact.EmailAddress>)[];
26
26
  phone_numbers?: Contact.PhoneNumber[];
27
27
  urls?: string[];
28
28
  social_accounts?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "26.3.0-0",
3
+ "version": "26.3.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",