contentful-management 11.60.0 → 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.
@@ -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();
@@ -3637,9 +3637,6 @@ const get = (http, params, rawData, headers) => {
3637
3637
  });
3638
3638
  };
3639
3639
  const getMany = (http, params, rawData, headers) => {
3640
- params.query = _objectSpread(_objectSpread({}, params.query), {}, {
3641
- 'sys.schemaVersion': 'Release.V2'
3642
- });
3643
3640
  return _raw__WEBPACK_IMPORTED_MODULE_3__.get(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}/assets`, {
3644
3641
  params: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.normalizeSelect)(params.query),
3645
3642
  headers: headers ? _objectSpread({}, headers) : undefined
@@ -33366,7 +33363,7 @@ function createClient(params, opts = {}) {
33366
33363
  const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
33367
33364
  const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
33368
33365
  // @ts-expect-error
33369
- `${sdkMain}/${"11.60.0"}`, params.application, params.integration, params.feature);
33366
+ `${sdkMain}/${"11.60.2"}`, params.application, params.integration, params.feature);
33370
33367
  const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
33371
33368
  userAgent
33372
33369
  }));