contentful-management 11.60.1 → 11.60.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.
- package/dist/contentful-management.browser.js +3 -3
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +3 -3
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/adapters/REST/endpoints/app-action-call.js +2 -2
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/typings/entities/app-action-call.d.ts +1 -3
- package/package.json +1 -1
|
@@ -931,9 +931,9 @@ async function pollStructuredAppActionCall(http, params, {
|
|
|
931
931
|
|
|
932
932
|
// If backend has not yet written the record, keep polling up to retries
|
|
933
933
|
// Otherwise, resolve when status is terminal
|
|
934
|
-
if ((result === null || result === void 0 ? void 0 : result.status) === 'succeeded' || (result === null || result === void 0 ? void 0 : result.status) === 'failed') {
|
|
934
|
+
if ((result === null || result === void 0 ? void 0 : result.sys.status) === 'succeeded' || (result === null || result === void 0 ? void 0 : result.sys.status) === 'failed') {
|
|
935
935
|
resolve(result);
|
|
936
|
-
} else if ((result === null || result === void 0 ? void 0 : result.status) === 'processing' && checkCount < retries) {
|
|
936
|
+
} else if ((result === null || result === void 0 ? void 0 : result.sys.status) === 'processing' && checkCount < retries) {
|
|
937
937
|
checkCount++;
|
|
938
938
|
await (0,_common_utils__WEBPACK_IMPORTED_MODULE_1__.waitFor)(retryInterval);
|
|
939
939
|
poll();
|
|
@@ -33363,7 +33363,7 @@ function createClient(params, opts = {}) {
|
|
|
33363
33363
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
33364
33364
|
const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
|
|
33365
33365
|
// @ts-expect-error
|
|
33366
|
-
`${sdkMain}/${"11.60.
|
|
33366
|
+
`${sdkMain}/${"11.60.2"}`, params.application, params.integration, params.feature);
|
|
33367
33367
|
const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
33368
33368
|
userAgent
|
|
33369
33369
|
}));
|