triangle-utils 1.4.137 → 1.4.138

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.
@@ -97,10 +97,10 @@ export class UtilsRDS {
97
97
  sql: sql,
98
98
  includeResultMetadata: true
99
99
  })
100
- .then(response => {
101
- console.log(JSON.stringify(response, undefined, 4));
102
- return response;
103
- })
100
+ // .then(response => {
101
+ // console.log(JSON.stringify(response, undefined, 4))
102
+ // return response
103
+ // })
104
104
  .then(response => (response.records || [])
105
105
  .map((item) => Object.fromEntries((response.columnMetadata || [])
106
106
  .map((column, i) => [column.name || "", column.typeName === "numeric" ? Number(convert_rds_output(item[i])) : convert_rds_output(item[i])])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-utils",
3
- "version": "1.4.137",
3
+ "version": "1.4.138",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
package/src/UtilsRDS.ts CHANGED
@@ -115,10 +115,10 @@ export class UtilsRDS {
115
115
  sql : sql,
116
116
  includeResultMetadata : true
117
117
  })
118
- .then(response => {
119
- console.log(JSON.stringify(response, undefined, 4))
120
- return response
121
- })
118
+ // .then(response => {
119
+ // console.log(JSON.stringify(response, undefined, 4))
120
+ // return response
121
+ // })
122
122
  .then(response => (response.records || [])
123
123
  .map((item : any) => Object.fromEntries((response.columnMetadata || [])
124
124
  .map((column, i) => [column.name || "", column.typeName === "numeric" ? Number(convert_rds_output(item[i])) : convert_rds_output(item[i])])