@karmaniverous/entity-manager 4.3.0-1 → 4.3.0-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.
@@ -263,6 +263,7 @@ class EntityManager {
263
263
 
264
264
  // Return empty result if no pageKeys.
265
265
  if ((0, _isEmpty2.default)(pageKeys)) return {
266
+ count: 0,
266
267
  items: [],
267
268
  pageKeys: {}
268
269
  };
@@ -254,7 +254,7 @@ export class EntityManager {
254
254
  );
255
255
 
256
256
  // Return empty result if no pageKeys.
257
- if (_.isEmpty(pageKeys)) return { items: [], pageKeys: {} };
257
+ if (_.isEmpty(pageKeys)) return { count: 0, items: [], pageKeys: {} };
258
258
 
259
259
  // Calculate shard limit.
260
260
  const shardLimit = _.isUndefined(limit)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmaniverous/entity-manager",
3
- "version": "4.3.0-1",
3
+ "version": "4.3.0-2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },