@prezly/sdk 12.3.1 → 12.4.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/Client.cjs CHANGED
@@ -18,6 +18,7 @@ function createClient({
18
18
  headers
19
19
  }));
20
20
  return {
21
+ api: apiClient,
21
22
  accounts: new _index2.Accounts.Client(apiClient),
22
23
  billing: new _index2.Billing.Client(apiClient),
23
24
  campaigns: new _index2.Campaigns.Client(apiClient),
package/dist/Client.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { DeferredJobsApiClient } from './api';
1
2
  import { Accounts, Billing, Campaigns, CampaignRecipients, ContactsExports, Coverage, Jobs, Licenses, Newsrooms, NewsroomCategories, NewsroomContacts, NewsroomLanguages, NewsroomThemes, NewsroomWebhooks, NewsroomPrivacyRequests, NewsroomDomains, NewsroomGalleries, NewsroomHub, SenderAddresses, Signup, Stories, Snippets, Subscriptions, NotificationSubscriptions } from './endpoints';
2
3
  import type { HeadersMap } from './http';
3
4
  export interface ClientOptions {
@@ -6,6 +7,7 @@ export interface ClientOptions {
6
7
  headers?: HeadersMap;
7
8
  }
8
9
  export interface Client {
10
+ api: DeferredJobsApiClient;
9
11
  accounts: Accounts.Client;
10
12
  billing: Billing.Client;
11
13
  campaigns: Campaigns.Client;
package/dist/Client.js CHANGED
@@ -12,6 +12,7 @@ export function createClient({
12
12
  headers
13
13
  }));
14
14
  return {
15
+ api: apiClient,
15
16
  accounts: new Accounts.Client(apiClient),
16
17
  billing: new Billing.Client(apiClient),
17
18
  campaigns: new Campaigns.Client(apiClient),
@@ -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.3.0";
7
+ const VERSION = "12.3.1";
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.3.0";
1
+ const VERSION = "12.3.1";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "12.3.1",
3
+ "version": "12.4.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",