@adobe/helix-admin-support 2.9.7 → 2.9.9

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [2.9.9](https://github.com/adobe/helix-admin-support/compare/v2.9.8...v2.9.9) (2024-09-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * hardcode s3 region ([#312](https://github.com/adobe/helix-admin-support/issues/312)) ([96394d7](https://github.com/adobe/helix-admin-support/commit/96394d7c422c467fecddb4b30c26b5e90e154c7f))
7
+
8
+ ## [2.9.8](https://github.com/adobe/helix-admin-support/compare/v2.9.7...v2.9.8) (2024-09-24)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/helix-shared-config to v10.6.9 ([7d3dc9c](https://github.com/adobe/helix-admin-support/commit/7d3dc9c6ab31fa213cb77e8b69d8124715edd284))
14
+
1
15
  ## [2.9.7](https://github.com/adobe/helix-admin-support/compare/v2.9.6...v2.9.7) (2024-09-21)
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.7",
3
+ "version": "2.9.9",
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": "10.6.8",
40
+ "@adobe/helix-shared-config": "10.6.9",
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: env.AWS_S3_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,