@pi-r/oracle 0.11.0 → 0.11.1

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.
Files changed (2) hide show
  1. package/client/index.js +1 -1
  2. package/package.json +3 -3
package/client/index.js CHANGED
@@ -181,7 +181,7 @@ async function setCredential(item) {
181
181
  .parent = POOL_STATE;
182
182
  }
183
183
  async function executeQuery(item, options) {
184
- return (await executeBatchQuery.call(this, [item], options))[0] || [];
184
+ return (await executeBatchQuery.call(this, [item], options)).at(0) || [];
185
185
  }
186
186
  async function executeBatchQuery(batch, options = '', outResult) {
187
187
  const length = batch.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/oracle",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Oracle client driver for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "types": "client/index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/pi-r#readme",
22
22
  "dependencies": {
23
- "@e-mc/db": "^0.13.0",
24
- "@e-mc/types": "^0.13.0",
23
+ "@e-mc/db": "^0.13.5",
24
+ "@e-mc/types": "^0.13.5",
25
25
  "oracledb": "^6.10.0"
26
26
  }
27
27
  }