@ikonintegration/ikapi 2.6.3 → 2.6.4

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": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "main.js",
@@ -16,7 +16,7 @@ export default class IKDB_DDB extends IKDB {
16
16
  this.region = config.region;
17
17
  //
18
18
  const localConsole = (transaction ? transaction.logger : console);
19
- if (config && this.tableName) { localConsole.debug(`Using table: ${this.tableName} on region: ${this.region}`); }
19
+ // if (config && this.tableName) { localConsole.debug(`Using table: ${this.tableName} on region: ${this.region}`); }
20
20
  }
21
21
 
22
22
  async _getConnection() {
@@ -30,7 +30,7 @@ export default class IKDB_DDB extends IKDB {
30
30
  localConsole.debug("Starting offline database connection");
31
31
  this.connection = new AWS.DynamoDB(IKGlobals.DynamoDBLocalConfig);
32
32
  } else {
33
- localConsole.debug("Starting remote database connection");
33
+ // localConsole.debug("Starting remote database connection");
34
34
  //setup ssl
35
35
  const sslAgent = new HTTPS.Agent({ keepAlive: true, maxSockets: 50, rejectUnauthorized: true });
36
36
  sslAgent.setMaxListeners(50);
@@ -21,7 +21,7 @@ export default class IKDBQueryPut extends IKDBQuery {
21
21
  else val = AWS.DynamoDB.Converter.input(source[key]);
22
22
  //valid
23
23
  if (val != undefined) { this.putItems[key]= val; }
24
- console.debug("Apppending key:", key, " val:", val);
24
+ // console.debug("Apppending key:", key, " val:", val);
25
25
  return true;
26
26
  } return false;
27
27
  }
@@ -31,7 +31,7 @@ export default class IKDBQueryPut extends IKDBQuery {
31
31
  const query = this.__rawQuery(dbManager.tableName);
32
32
  localConsole.log('Putting item: ', query);
33
33
  const resp = await dbManager.connection.putItem(query).promise();
34
- localConsole.log('Raw result: ', resp);
34
+ // localConsole.log('Raw result: ', resp);
35
35
  const unmarshalled = resp.Items.map(AWS.DynamoDB.Converter.unmarshall);
36
36
  localConsole.log('Parsed result: ', unmarshalled);
37
37
  return unmarshalled;
@@ -10,7 +10,7 @@ export default class IKPublisher {
10
10
  constructor(config) {
11
11
  if (config && config.region) {
12
12
  this.region = config.region;
13
- console.debug(`Using region: ${this.region}`);
13
+ // console.debug(`Using region: ${this.region}`);
14
14
  }
15
15
  }
16
16
  /* Public */