@karmaniverous/entity-manager 0.1.1 → 0.1.2-0

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.
@@ -159,12 +159,18 @@ class EntityManager {
159
159
  items,
160
160
  pageKey
161
161
  } = _ref2;
162
+ console.log('shardQueryResult', {
163
+ shardedKey,
164
+ items,
165
+ pageKey
166
+ });
162
167
  return resolve({
163
168
  shardedKey,
164
169
  items,
165
170
  pageKey
166
171
  });
167
172
  }))));
173
+ console.log('shardQueryResults', shardQueryResults);
168
174
 
169
175
  // Reduce shardQueryResults into a single result.
170
176
  const result = shardQueryResults.reduce((shardedQueryResult, _ref3) => {
@@ -160,13 +160,16 @@ export class EntityManager {
160
160
  pageKeys,
161
161
  (pageKey, shardedKey) =>
162
162
  new Promise((resolve) =>
163
- shardQuery(shardedKey, pageKey).then(({ items, pageKey }) =>
164
- resolve({ shardedKey, items, pageKey })
165
- )
163
+ shardQuery(shardedKey, pageKey).then(({ items, pageKey }) => {
164
+ console.log('shardQueryResult', { shardedKey, items, pageKey });
165
+ return resolve({ shardedKey, items, pageKey });
166
+ })
166
167
  )
167
168
  )
168
169
  );
169
170
 
171
+ console.log('shardQueryResults', shardQueryResults);
172
+
170
173
  // Reduce shardQueryResults into a single result.
171
174
  const result = shardQueryResults.reduce(
172
175
  (shardedQueryResult, { shardedKey, items, pageKey }) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmaniverous/entity-manager",
3
- "version": "0.1.1",
3
+ "version": "0.1.2-0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },