dt-common-device 13.0.15 → 13.0.16

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.
@@ -66,8 +66,14 @@ exports.CONFIG_KEYS = {
66
66
  },
67
67
  },
68
68
  REMOTE: {
69
- env: ["ADMIN_DB_URI", "PMS_DB_URI", "ACCESS_DB_URI", "ADMIN_SERVICE"],
70
- INTERNAL_EVENT_HANDLER: false,
69
+ env: [
70
+ "ADMIN_DB_URI",
71
+ "PMS_DB_URI",
72
+ "ACCESS_DB_URI",
73
+ "ADMIN_SERVICE",
74
+ "AWS_SQS_URL",
75
+ ],
76
+ INTERNAL_EVENT_HANDLER: true,
71
77
  db_keys: {
72
78
  admin: "ADMIN_DB_URI",
73
79
  pms: "PMS_DB_URI",
@@ -76,7 +76,6 @@ let ConnectionRepository = (() => {
76
76
  return result.rows;
77
77
  }
78
78
  async queryConnections(query) {
79
- console.log("queryConnections called with:", JSON.stringify(query, null, 2));
80
79
  // Filter out undefined/null values and build WHERE clause
81
80
  const conditions = [];
82
81
  const values = [];
@@ -90,16 +89,12 @@ let ConnectionRepository = (() => {
90
89
  paramIndex++;
91
90
  }
92
91
  });
93
- console.log("Conditions:", conditions);
94
- console.log("Values:", values);
95
92
  // Build the SQL query
96
93
  let sql = "SELECT * FROM dt_connections";
97
94
  if (conditions.length > 0) {
98
95
  sql += ` WHERE ${conditions.join(" AND ")}`;
99
96
  }
100
- console.log("SQL Query:", sql);
101
97
  const result = await this.pool.query(sql, values);
102
- console.log("Result:", result.rows);
103
98
  return result.rows;
104
99
  }
105
100
  async updateConnection(connectionId, data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "13.0.15",
3
+ "version": "13.0.16",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [