@pi-r/aws 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 +6 -6
package/client/index.js CHANGED
@@ -296,7 +296,7 @@ async function copyObject(credential, BucketSource, KeySource, Bucket, Key, opti
296
296
  });
297
297
  }
298
298
  async function executeQuery(credential, data, sessionKey) {
299
- return (await executeBatchQuery.call(this, credential, [data], sessionKey))[0] || [];
299
+ return (await executeBatchQuery.call(this, credential, [data], sessionKey)).at(0) || [];
300
300
  }
301
301
  async function executeBatchQuery(credential, batch, sessionKey) {
302
302
  const length = batch.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/aws",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "AWS V2 cloud functions for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "types": "client/index.d.ts",
@@ -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.13.0",
24
- "@e-mc/module": "^0.13.0",
25
- "@e-mc/types": "^0.13.0",
26
- "@pi-r/aws-lib": "^0.11.0",
27
- "aws-sdk": "^2.1692.0"
23
+ "@e-mc/cloud": "^0.13.9",
24
+ "@e-mc/module": "^0.13.9",
25
+ "@e-mc/types": "^0.13.9",
26
+ "@pi-r/aws-lib": "^0.11.2",
27
+ "aws-sdk": "^2.1693.0"
28
28
  }
29
29
  }