contentful-management 12.0.0-beta.5 → 12.0.0-beta.7

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.
@@ -35339,7 +35339,7 @@ function createClientApi(makeRequest) {
35339
35339
  wrapOAuthApplicationCollection
35340
35340
  } = entities.oauthApplication;
35341
35341
  return {
35342
- version: "12.0.0-beta.5",
35342
+ version: "12.0.0-beta.7",
35343
35343
  /**
35344
35344
  * Gets all environment templates for a given organization with the lasted version
35345
35345
  * @param organizationId - Organization ID
@@ -35995,7 +35995,7 @@ const createPlainClient = (makeRequest, defaults) => {
35995
35995
  defaults
35996
35996
  };
35997
35997
  return {
35998
- version: "12.0.0-beta.5",
35998
+ version: "12.0.0-beta.7",
35999
35999
  raw: {
36000
36000
  getDefaultParams: () => defaults,
36001
36001
  get: (url, config) => makeRequest({
@@ -36996,7 +36996,7 @@ async function fetchAll(fetchFn, params) {
36996
36996
  */
36997
36997
  function createClient(params, opts = {}) {
36998
36998
  const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
36999
- const userAgent = getUserAgentHeader(`${sdkMain}/${"12.0.0-beta.5"}`, params.application, params.integration, params.feature);
36999
+ const userAgent = getUserAgentHeader(`${sdkMain}/${"12.0.0-beta.7"}`, params.application, params.integration, params.feature);
37000
37000
  const adapter = createAdapter(Object.assign(Object.assign({}, params), {
37001
37001
  userAgent
37002
37002
  }));
@@ -16,7 +16,7 @@ function createClientApi(makeRequest) {
16
16
  const { wrapEnvironmentTemplate, wrapEnvironmentTemplateCollection } = entities.environmentTemplate;
17
17
  const { wrapOAuthApplication, wrapOAuthApplicationCollection } = entities.oauthApplication;
18
18
  return {
19
- version: "12.0.0-beta.5",
19
+ version: "12.0.0-beta.7",
20
20
  /**
21
21
  * Gets all environment templates for a given organization with the lasted version
22
22
  * @param organizationId - Organization ID
package/dist/esm/index.js CHANGED
@@ -19,7 +19,7 @@ export { WorkflowStepPermissionAction, WorkflowStepPermissionEffect, WorkflowSte
19
19
  */
20
20
  function createClient(params, opts = {}) {
21
21
  const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
22
- const userAgent = getUserAgentHeader(`${sdkMain}/${"12.0.0-beta.5"}`, params.application, params.integration, params.feature);
22
+ const userAgent = getUserAgentHeader(`${sdkMain}/${"12.0.0-beta.7"}`, params.application, params.integration, params.feature);
23
23
  const adapter = createAdapter(Object.assign(Object.assign({}, params), { userAgent }));
24
24
  // Parameters<?> and ReturnType<?> only return the types of the last overload
25
25
  // https://github.com/microsoft/TypeScript/issues/26591
@@ -7,7 +7,7 @@ import { wrap } from './wrappers/wrap.js';
7
7
  const createPlainClient = (makeRequest, defaults) => {
8
8
  const wrapParams = { makeRequest, defaults };
9
9
  return {
10
- version: "12.0.0-beta.5",
10
+ version: "12.0.0-beta.7",
11
11
  raw: {
12
12
  getDefaultParams: () => defaults,
13
13
  get: (url, config) => makeRequest({