@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.
- package/client/index.js +3 -3
- 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,
|
|
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(
|
|
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(
|
|
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.
|
|
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.
|
|
23
|
-
"@e-mc/module": "^0.12.
|
|
24
|
-
"@e-mc/types": "^0.12.
|
|
25
|
-
"@pi-r/aws": "^0.10.
|
|
26
|
-
"@pi-r/oracle": "^0.10.
|
|
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.
|
|
28
|
+
"oracledb": "^6.9.0"
|
|
29
29
|
}
|
|
30
30
|
}
|