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.
- package/dist/contentful-management.browser.js +13 -9
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.legacy.js +13 -9
- package/dist/contentful-management.legacy.js.map +1 -1
- package/dist/contentful-management.legacy.min.js +1 -1
- package/dist/contentful-management.node.js +9 -5
- 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/es-modules/plain/as-iterator.js +12 -8
- package/package.json +1 -1
|
@@ -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.
|
|
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
|
-
|
|
19849
|
-
|
|
19850
|
-
|
|
19851
|
-
|
|
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 {
|