@ikonintegration/ikapi 3.0.14 → 3.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonintegration/ikapi",
3
- "version": "3.0.14",
3
+ "version": "3.0.15",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "main.js",
@@ -20,7 +20,7 @@ export default class IKDBQueryScan extends IKDBBaseQuery {
20
20
  //Check for continuation
21
21
  this.lastEvaluatedKey = resp.LastEvaluatedKey;
22
22
  if (resp.LastEvaluatedKey && !(this.limit > 0 && unmarshalled.length >= this.limit)) {
23
- localConsole.log('Using continuation key:', resp.LastEvaluatedKey);
23
+ localConsole.log('Using continuation key:', resp.LastEvaluatedKey, unmarshalled.length, this.limit);
24
24
  this.exclusiveStartKey = resp.LastEvaluatedKey;
25
25
  return this.run(dbManager, unmarshalled);
26
26
  } return unmarshalled;
@@ -32,7 +32,7 @@ export default class IKDBQueryScan extends IKDBBaseQuery {
32
32
  ...this._rawQuery(dbManager.tableName),
33
33
  ...(this.limit > 0 ? { Limit: this.limit - (appendingItems ? appendingItems.length : 0) } : {})
34
34
  };
35
- localConsole.log('Scanning: ', query, appendingItems.length);
35
+ localConsole.log('Scanning: ', query, appendingItems ? appendingItems.length : 0);
36
36
  const resp = await dbManager.connection.scan(query);
37
37
  // localConsole.debug('Raw result: ', resp);
38
38
  return resp;