@pi-r/oci 0.10.1 → 0.10.3

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 +3 -3
  2. package/package.json +7 -7
package/client/index.js CHANGED
@@ -39,7 +39,7 @@ function setStorageCredential(credential) {
39
39
  credential.signatureVersion = 'v4';
40
40
  }
41
41
  async function createDatabaseClient(credential) {
42
- oracle.initOracleClient.call(this, credential, this.logType.CLOUD);
42
+ oracle.initOracleClient.call(this, credential, 64);
43
43
  return oracledb.getConnection(credential);
44
44
  }
45
45
  async function createBucket(credential, bucket, publicRead) {
@@ -152,7 +152,7 @@ async function executeBatchQuery(credential, batch, sessionKey) {
152
152
  else {
153
153
  delete item.update;
154
154
  }
155
- this.addLog(types_1.STATUS_TYPE.WARN, message + ` (_id=${id.toString()})`, service, 'replaceOne');
155
+ this.addLog(3, message + ` (_id=${id.toString()})`, service, 'replaceOne');
156
156
  };
157
157
  if ((0, types_1.isArray)(id)) {
158
158
  target = col.find().key(id[0]);
@@ -203,7 +203,7 @@ async function executeBatchQuery(credential, batch, sessionKey) {
203
203
  if (limit > rows.length) {
204
204
  rows = rows.slice(0, limit);
205
205
  }
206
- this.addLog(types_1.STATUS_TYPE.WARN, err, service, 'getDocuments');
206
+ this.addLog(3, err, service, 'getDocuments');
207
207
  break;
208
208
  }
209
209
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/oci",
3
- "version": "0.10.1",
3
+ "version": "0.10.3",
4
4
  "description": "Oracle (OCI) cloud functions for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "publishConfig": {
@@ -19,12 +19,12 @@
19
19
  "license": "MIT",
20
20
  "homepage": "https://github.com/anpham6/pi-r#readme",
21
21
  "dependencies": {
22
- "@e-mc/cloud": "^0.12.3",
23
- "@e-mc/module": "^0.12.3",
24
- "@e-mc/types": "^0.12.3",
25
- "@pi-r/aws": "^0.10.1",
26
- "@pi-r/oracle": "^0.10.1",
22
+ "@e-mc/cloud": "^0.12.7",
23
+ "@e-mc/module": "^0.12.7",
24
+ "@e-mc/types": "^0.12.7",
25
+ "@pi-r/aws": "^0.10.3",
26
+ "@pi-r/oracle": "^0.10.3",
27
27
  "aws-sdk": "^2.1692.0",
28
- "oracledb": "^6.8.0"
28
+ "oracledb": "^6.9.0"
29
29
  }
30
30
  }