@adobe/helix-admin-support 2.9.8 → 2.9.10
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/CHANGELOG.md +14 -0
- package/package.json +2 -2
- package/src/fetch-s3.js +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.9.10](https://github.com/adobe/helix-admin-support/compare/v2.9.9...v2.9.10) (2024-09-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @adobe/helix-shared-config to v11 ([#313](https://github.com/adobe/helix-admin-support/issues/313)) ([2a9bf7f](https://github.com/adobe/helix-admin-support/commit/2a9bf7fc844353b4d94357fe36c68cc4693add04))
|
|
7
|
+
|
|
8
|
+
## [2.9.9](https://github.com/adobe/helix-admin-support/compare/v2.9.8...v2.9.9) (2024-09-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* hardcode s3 region ([#312](https://github.com/adobe/helix-admin-support/issues/312)) ([96394d7](https://github.com/adobe/helix-admin-support/commit/96394d7c422c467fecddb4b30c26b5e90e154c7f))
|
|
14
|
+
|
|
1
15
|
## [2.9.8](https://github.com/adobe/helix-admin-support/compare/v2.9.7...v2.9.8) (2024-09-24)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-admin-support",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.10",
|
|
4
4
|
"description": "Helix Admin Support Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@adobe/fetch": "4.1.9",
|
|
40
|
-
"@adobe/helix-shared-config": "
|
|
40
|
+
"@adobe/helix-shared-config": "11.0.0",
|
|
41
41
|
"@adobe/helix-shared-utils": "3.0.2",
|
|
42
42
|
"@aws-sdk/client-s3": "3.654.0",
|
|
43
43
|
"@aws-sdk/client-sqs": "3.654.0",
|
package/src/fetch-s3.js
CHANGED
|
@@ -47,9 +47,11 @@ export async function fetchS3(context, bucketId, key, head = false) {
|
|
|
47
47
|
try {
|
|
48
48
|
// the client initialization is a bit picky with undefined properties.
|
|
49
49
|
// so we omit the credentials when we provide them via context.env
|
|
50
|
-
/* c8 ignore next */
|
|
51
|
-
const opts = !env.AWS_S3_ACCESS_KEY_ID ? {
|
|
52
|
-
region:
|
|
50
|
+
/* c8 ignore next 3 */
|
|
51
|
+
const opts = !env.AWS_S3_ACCESS_KEY_ID ? {
|
|
52
|
+
region: 'us-east-1',
|
|
53
|
+
} : {
|
|
54
|
+
region: 'us-east-1',
|
|
53
55
|
credentials: {
|
|
54
56
|
accessKeyId: env.AWS_S3_ACCESS_KEY_ID,
|
|
55
57
|
secretAccessKey: env.AWS_S3_SECRET_ACCESS_KEY,
|