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 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(response.includes[type]));
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(response.includes[type]));
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentful-resolve-response",
3
- "version": "1.9.6",
3
+ "version": "1.9.8",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",