contentful-management 11.49.0 → 11.50.1

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.
@@ -47,7 +47,7 @@ function createClient(params, opts = {}) {
47
47
  const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
48
48
  const userAgent = getUserAgentHeader(
49
49
  // @ts-expect-error
50
- `${sdkMain}/${"11.49.0"}`, params.application, params.integration, params.feature);
50
+ `${sdkMain}/${"11.50.1"}`, params.application, params.integration, params.feature);
51
51
  const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, {
52
52
  userAgent
53
53
  }));
@@ -37,7 +37,7 @@ interface UserAgentParams {
37
37
  * @deprecated
38
38
  */
39
39
  export type ClientParams = RestAdapterParams & UserAgentParams;
40
- type ClientOptions = UserAgentParams & XOR<RestAdapterParams, AdapterParams>;
40
+ export type ClientOptions = UserAgentParams & XOR<RestAdapterParams, AdapterParams>;
41
41
  /**
42
42
  * Create a client instance
43
43
  * @param params - Client initialization parameters
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentful-management",
3
- "version": "11.49.0",
3
+ "version": "11.50.1",
4
4
  "description": "Client for Contentful's Content Management API",
5
5
  "homepage": "https://www.contentful.com/developers/documentation/content-management-api/",
6
6
  "main": "./dist/contentful-management.node.js",