@pi-r/aws-v3 0.6.2 → 0.6.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 +1 -1
- package/package.json +6 -6
package/client/index.js
CHANGED
|
@@ -311,7 +311,7 @@ async function executeBatchQuery(credential, batch, sessionKey) {
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
const [db, AWS] = createClient();
|
|
314
|
-
const Key = (0, types_1.isPlainObject)(key) ? key : { [key]:
|
|
314
|
+
const Key = (0, types_1.isPlainObject)(key) ? key : { [key]: id };
|
|
315
315
|
const command = { TableName, Key };
|
|
316
316
|
if (update) {
|
|
317
317
|
await db.send(new AWS.UpdateCommand({ ...command, ...update }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/aws-v3",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "AWS V3 cloud functions for E-mc.",
|
|
5
5
|
"main": "client/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/anpham6/pi-r.git",
|
|
11
|
+
"url": "git+https://github.com/anpham6/pi-r.git",
|
|
12
12
|
"directory": "src/cloud/aws-v3"
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"homepage": "https://github.com/anpham6/pi-r#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/cloud": "^0.8.
|
|
24
|
-
"@e-mc/module": "^0.8.
|
|
25
|
-
"@e-mc/types": "^0.8.
|
|
26
|
-
"@pi-r/aws": "^0.6.
|
|
23
|
+
"@e-mc/cloud": "^0.8.3",
|
|
24
|
+
"@e-mc/module": "^0.8.3",
|
|
25
|
+
"@e-mc/types": "^0.8.3",
|
|
26
|
+
"@pi-r/aws": "^0.6.3",
|
|
27
27
|
"@aws-sdk/client-dynamodb": "^3.501.0",
|
|
28
28
|
"@aws-sdk/client-s3": "^3.501.0",
|
|
29
29
|
"@aws-sdk/credential-providers": "^3.501.0",
|