contentful-management 11.48.0 → 11.48.2

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.48.0"}`, params.application, params.integration, params.feature);
50
+ `${sdkMain}/${"11.48.2"}`, params.application, params.integration, params.feature);
51
51
  const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, {
52
52
  userAgent
53
53
  }));
@@ -167,6 +167,7 @@ export type PlainClientAPI = {
167
167
  }>, rawData: EntryProps<T>, headers?: RawAxiosRequestHeaders): Promise<EntryProps<T>>;
168
168
  patch<T extends KeyValueMap = KeyValueMap>(params: OptionalDefaults<GetSpaceEnvironmentParams & {
169
169
  entryId: string;
170
+ version: number;
170
171
  }>, rawData: OpPatch[], headers?: RawAxiosRequestHeaders): Promise<EntryProps<T>>;
171
172
  delete(params: OptionalDefaults<GetSpaceEnvironmentParams & {
172
173
  entryId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentful-management",
3
- "version": "11.48.0",
3
+ "version": "11.48.2",
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",
@@ -67,7 +67,7 @@
67
67
  ],
68
68
  "dependencies": {
69
69
  "@contentful/rich-text-types": "^16.6.1",
70
- "axios": "^1.7.9",
70
+ "axios": "^1.8.4",
71
71
  "contentful-sdk-core": "^9.0.1",
72
72
  "fast-copy": "^3.0.0",
73
73
  "globals": "^15.15.0"