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.
@@ -546,7 +546,7 @@ function _pollStructuredAppActionCall() {
546
546
  }));
547
547
  case 1:
548
548
  result = _context5.v;
549
- if (!((result === null || result === void 0 ? void 0 : result.status) === 'succeeded' || (result === null || result === void 0 ? void 0 : result.status) === 'failed')) {
549
+ if (!((result === null || result === void 0 ? void 0 : result.sys.status) === 'succeeded' || (result === null || result === void 0 ? void 0 : result.sys.status) === 'failed')) {
550
550
  _context5.n = 2;
551
551
  break;
552
552
  }
@@ -554,7 +554,7 @@ function _pollStructuredAppActionCall() {
554
554
  _context5.n = 5;
555
555
  break;
556
556
  case 2:
557
- if (!((result === null || result === void 0 ? void 0 : result.status) === 'processing' && checkCount < retries)) {
557
+ if (!((result === null || result === void 0 ? void 0 : result.sys.status) === 'processing' && checkCount < retries)) {
558
558
  _context5.n = 4;
559
559
  break;
560
560
  }
@@ -3467,9 +3467,6 @@ var get = function get(http, params, rawData, headers) {
3467
3467
  });
3468
3468
  };
3469
3469
  var getMany = function getMany(http, params, rawData, headers) {
3470
- params.query = _objectSpread(_objectSpread({}, params.query), {}, {
3471
- 'sys.schemaVersion': 'Release.V2'
3472
- });
3473
3470
  return _raw__WEBPACK_IMPORTED_MODULE_3__.get(http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/releases/").concat(params.releaseId, "/assets"), {
3474
3471
  params: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.normalizeSelect)(params.query),
3475
3472
  headers: headers ? _objectSpread({}, headers) : undefined
@@ -29876,7 +29873,7 @@ function createClient(params) {
29876
29873
  var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
29877
29874
  var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
29878
29875
  var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(// @ts-expect-error
29879
- "".concat(sdkMain, "/").concat("11.60.0"), params.application, params.integration, params.feature);
29876
+ "".concat(sdkMain, "/").concat("11.60.2"), params.application, params.integration, params.feature);
29880
29877
  var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
29881
29878
  userAgent: userAgent
29882
29879
  }));