@pi-r/aws-v3 0.11.0 → 0.11.2

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 +9 -9
package/client/index.js CHANGED
@@ -321,7 +321,7 @@ async function copyObject(credential, BucketSource, KeySource, Bucket, Key, opti
321
321
  });
322
322
  }
323
323
  async function executeQuery(credential, data, sessionKey) {
324
- return (await executeBatchQuery.call(this, credential, [data], sessionKey))[0] || [];
324
+ return (await executeBatchQuery.call(this, credential, [data], sessionKey)).at(0) || [];
325
325
  }
326
326
  async function executeBatchQuery(credential, batch, sessionKey) {
327
327
  const length = batch.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/aws-v3",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "AWS cloud functions for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "publishConfig": {
@@ -19,14 +19,14 @@
19
19
  "license": "MIT",
20
20
  "homepage": "https://github.com/anpham6/pi-r#readme",
21
21
  "dependencies": {
22
- "@e-mc/cloud": "^0.13.0",
23
- "@e-mc/module": "^0.13.0",
24
- "@e-mc/types": "^0.13.0",
25
- "@pi-r/aws-lib": "^0.11.0",
26
- "@aws-sdk/client-dynamodb": "^3.913.0",
27
- "@aws-sdk/client-s3": "^3.913.0",
22
+ "@e-mc/cloud": "^0.13.9",
23
+ "@e-mc/module": "^0.13.9",
24
+ "@e-mc/types": "^0.13.9",
25
+ "@pi-r/aws-lib": "^0.11.2",
26
+ "@aws-sdk/client-dynamodb": "^3.1013.0",
27
+ "@aws-sdk/client-s3": "^3.1013.0",
28
28
  "@aws-sdk/credential-providers": "*",
29
- "@aws-sdk/lib-dynamodb": "^3.913.0",
30
- "@aws-sdk/lib-storage": "^3.913.0"
29
+ "@aws-sdk/lib-dynamodb": "^3.1013.0",
30
+ "@aws-sdk/lib-storage": "^3.1013.0"
31
31
  }
32
32
  }