contentful-management 11.40.2 → 11.40.4
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 +16 -25
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +16 -25
- 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/entities/app-installation.d.ts +2 -2
- package/package.json +2 -2
|
@@ -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.40.
|
|
49
|
+
`${sdkMain}/${"11.40.4"}`, params.application, params.integration, params.feature);
|
|
50
50
|
const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, {
|
|
51
51
|
userAgent
|
|
52
52
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RawAxiosRequestHeaders } from 'axios';
|
|
2
|
-
import type { CollectionProp, GetAppDefinitionParams, GetAppInstallationParams, GetSpaceEnvironmentParams, PaginationQueryParams } from '../../common-types';
|
|
2
|
+
import type { CollectionProp, GetAppDefinitionParams, GetAppInstallationParams, GetSpaceEnvironmentParams, PaginationQueryParams, SpaceQueryParams } from '../../common-types';
|
|
3
3
|
import type { AppInstallationsForOrganizationProps } from '../../entities/app-definition';
|
|
4
4
|
import type { AppInstallationProps, CreateAppInstallationProps } from '../../entities/app-installation';
|
|
5
5
|
import type { OptionalDefaults } from '../wrappers/wrap';
|
|
@@ -46,7 +46,7 @@ export type AppInstallationPlainClientAPI = {
|
|
|
46
46
|
* });
|
|
47
47
|
* ```
|
|
48
48
|
*/
|
|
49
|
-
getForOrganization(params: OptionalDefaults<GetAppDefinitionParams>): Promise<AppInstallationsForOrganizationProps>;
|
|
49
|
+
getForOrganization(params: OptionalDefaults<GetAppDefinitionParams & SpaceQueryParams>): Promise<AppInstallationsForOrganizationProps>;
|
|
50
50
|
/**
|
|
51
51
|
* Creates or updates an App Installation
|
|
52
52
|
* @param params entity IDs to identify the App Installation to update, or the App to install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful-management",
|
|
3
|
-
"version": "11.40.
|
|
3
|
+
"version": "11.40.4",
|
|
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",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
],
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@contentful/rich-text-types": "^16.6.1",
|
|
66
|
-
"axios": "^1.7.
|
|
66
|
+
"axios": "^1.7.9",
|
|
67
67
|
"contentful-sdk-core": "^9.0.1",
|
|
68
68
|
"fast-copy": "^3.0.0"
|
|
69
69
|
},
|