contentful-resolve-response 1.9.6 → 1.9.8
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -223,7 +223,7 @@ var resolveResponse = function resolveResponse(response, options) {
|
|
|
223
223
|
}
|
|
224
224
|
var responseClone = (0, _fastCopy2.default)(response);
|
|
225
225
|
var allIncludes = Object.keys(responseClone.includes || {}).reduce(function (all, type) {
|
|
226
|
-
return [].concat(_toConsumableArray(all), _toConsumableArray(
|
|
226
|
+
return [].concat(_toConsumableArray(all), _toConsumableArray(responseClone.includes[type]));
|
|
227
227
|
}, []);
|
|
228
228
|
|
|
229
229
|
var allEntries = [].concat(_toConsumableArray(responseClone.items), _toConsumableArray(allIncludes)).filter(function (entity) {
|
package/dist/esm/index.js
CHANGED
|
@@ -215,7 +215,7 @@ var resolveResponse = function resolveResponse(response, options) {
|
|
|
215
215
|
}
|
|
216
216
|
var responseClone = copy(response);
|
|
217
217
|
var allIncludes = Object.keys(responseClone.includes || {}).reduce(function (all, type) {
|
|
218
|
-
return [].concat(_toConsumableArray(all), _toConsumableArray(
|
|
218
|
+
return [].concat(_toConsumableArray(all), _toConsumableArray(responseClone.includes[type]));
|
|
219
219
|
}, []);
|
|
220
220
|
|
|
221
221
|
var allEntries = [].concat(_toConsumableArray(responseClone.items), _toConsumableArray(allIncludes)).filter(function (entity) {
|