diff --git a/_changelog.md b/_changelog.md index 9d1ea76..85d05cd 100644 --- a/_changelog.md +++ b/_changelog.md @@ -2,6 +2,14 @@ --- +## [7.0.5] 2024-02-06 + +### Changed + +- Updated `aws-lite` + +--- + ## [7.0.0, 7.0.4] 2024-02-03 ### Fixed diff --git a/package.json b/package.json index 54f362e..0fb57c1 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,8 @@ "src/*" ], "dependencies": { - "@aws-lite/client": "~0.16.1", - "@aws-lite/s3": "^0.1.17" + "@aws-lite/client": "~0.17.1", + "@aws-lite/s3": "^0.1.18" }, "devDependencies": { "@architect/eslint-config": "~2.1.2", diff --git a/src/lib/get-s3.js b/src/lib/get-s3.js index ddfcfb8..5b2dce9 100644 --- a/src/lib/get-s3.js +++ b/src/lib/get-s3.js @@ -5,9 +5,9 @@ module.exports = async function getS3 () { // eslint-disable-next-line let awsLite = require('@aws-lite/client') let { s3 } = await awsLite({ - autoloadPlugins: false, region: process.env.AWS_REGION || 'us-west-2', - plugins: [ '@aws-lite/s3' ], + // eslint-disable-next-line + plugins: [ require('@aws-lite/s3') ], }) _s3 = s3.GetObject return _s3