contentful-management 7.45.1 → 7.45.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.
@@ -11112,7 +11112,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
11112
11112
  function createClient(params, opts = {}) {
11113
11113
  const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
11114
11114
  const userAgent = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__["getUserAgentHeader"])( // @ts-expect-error
11115
- `${sdkMain}/${"7.45.1"}`, params.application, params.integration, params.feature);
11115
+ `${sdkMain}/${"7.45.2"}`, params.application, params.integration, params.feature);
11116
11116
  const adapter = Object(_create_adapter__WEBPACK_IMPORTED_MODULE_1__["createAdapter"])(params); // Parameters<?> and ReturnType<?> only return the types of the last overload
11117
11117
  // https://github.com/microsoft/TypeScript/issues/26591
11118
11118
  // @ts-expect-error
@@ -19845,10 +19845,14 @@ const asIterator = (fn, params) => {
19845
19845
 
19846
19846
  return _asyncToGenerator(function* () {
19847
19847
  const _yield$currentResult = yield currentResult,
19848
- total = _yield$currentResult.total,
19849
- items = _yield$currentResult.items,
19850
- skip = _yield$currentResult.skip,
19851
- limit = _yield$currentResult.limit;
19848
+ _yield$currentResult$ = _yield$currentResult.total,
19849
+ total = _yield$currentResult$ === void 0 ? 0 : _yield$currentResult$,
19850
+ _yield$currentResult$2 = _yield$currentResult.items,
19851
+ items = _yield$currentResult$2 === void 0 ? [] : _yield$currentResult$2,
19852
+ _yield$currentResult$3 = _yield$currentResult.skip,
19853
+ skip = _yield$currentResult$3 === void 0 ? 0 : _yield$currentResult$3,
19854
+ _yield$currentResult$4 = _yield$currentResult.limit,
19855
+ limit = _yield$currentResult$4 === void 0 ? 100 : _yield$currentResult$4;
19852
19856
 
19853
19857
  if (total === _this.current) {
19854
19858
  return {