contentful-management 11.45.0 → 11.45.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.
- package/dist/contentful-management.browser.js +1 -1
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +1 -1
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/typings/plain/common-types.d.ts +2 -2
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ function createClient(params, opts = {}) {
|
|
|
46
46
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
47
47
|
const userAgent = getUserAgentHeader(
|
|
48
48
|
// @ts-expect-error
|
|
49
|
-
`${sdkMain}/${"11.45.
|
|
49
|
+
`${sdkMain}/${"11.45.1"}`, params.application, params.integration, params.feature);
|
|
50
50
|
const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, {
|
|
51
51
|
userAgent
|
|
52
52
|
}));
|
|
@@ -177,7 +177,7 @@ export type PlainClientAPI = {
|
|
|
177
177
|
unpublish<T extends KeyValueMap = KeyValueMap>(params: OptionalDefaults<GetSpaceEnvironmentParams & {
|
|
178
178
|
entryId: string;
|
|
179
179
|
locales?: string[];
|
|
180
|
-
}>): Promise<EntryProps<T>>;
|
|
180
|
+
}>, rawData?: EntryProps<T>): Promise<EntryProps<T>>;
|
|
181
181
|
archive<T extends KeyValueMap = KeyValueMap>(params: OptionalDefaults<GetSpaceEnvironmentParams & {
|
|
182
182
|
entryId: string;
|
|
183
183
|
}>): Promise<EntryProps<T>>;
|
|
@@ -215,7 +215,7 @@ export type PlainClientAPI = {
|
|
|
215
215
|
unpublish(params: OptionalDefaults<GetSpaceEnvironmentParams & {
|
|
216
216
|
assetId: string;
|
|
217
217
|
locales?: string[];
|
|
218
|
-
}
|
|
218
|
+
}>, rawData?: AssetProps): Promise<AssetProps>;
|
|
219
219
|
archive(params: OptionalDefaults<GetSpaceEnvironmentParams & {
|
|
220
220
|
assetId: string;
|
|
221
221
|
}>): Promise<AssetProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful-management",
|
|
3
|
-
"version": "11.45.
|
|
3
|
+
"version": "11.45.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",
|