ac-awssecrets 2.3.0 → 2.3.1

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 (3) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/index.js +1 -0
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ <a name="2.3.1"></a>
2
+
3
+ ## [2.3.1](https://github.com/admiralcloud/ac-awssecrets/compare/v2.3.0..v2.3.1) (2024-08-17 10:57:27)
4
+
5
+
6
+ ### Bug Fix
7
+
8
+ * **App:** Add ignoreInTestmode for secret params | MP | [0065e17890c41d01a2ce47a302ce9f2a818cbce3](https://github.com/admiralcloud/ac-awssecrets/commit/0065e17890c41d01a2ce47a302ce9f2a818cbce3)
9
+ If ignoreInTestmode is true in testmode, the secret parameter is not fetched.
10
+ Related issues: [undefined/undefined#master](undefined/browse/master)
11
+ ### Chores
12
+
13
+ * **App:** Updated packages | MP | [53c458370aba20b633b7ebe33ab3e026bc95a133](https://github.com/admiralcloud/ac-awssecrets/commit/53c458370aba20b633b7ebe33ab3e026bc95a133)
14
+ Updated packages
15
+ Related issues: [undefined/undefined#master](undefined/browse/master)
1
16
  <a name="2.3.0"></a>
2
17
 
3
18
  # [2.3.0](https://github.com/admiralcloud/ac-awssecrets/compare/v2.2.1..v2.3.0) (2024-08-12 10:04:48)
package/index.js CHANGED
@@ -124,6 +124,7 @@ const awsSecrets = () => {
124
124
  }
125
125
 
126
126
  for (const secretParameter of secretParameters) {
127
+ if (environment === 'test' && secretParameter?.ignoreInTestMode) continue
127
128
  await getSecretParameter(secretParameter)
128
129
  }
129
130
  }
package/package.json CHANGED
@@ -3,10 +3,10 @@
3
3
  "author": "Mark Poepping (https://www.admiralcloud.com)",
4
4
  "license": "MIT",
5
5
  "repository": "admiralcloud/ac-awssecrets",
6
- "version": "2.3.0",
6
+ "version": "2.3.1",
7
7
  "dependencies": {
8
- "@aws-sdk/client-secrets-manager": "^3.624.0",
9
- "@aws-sdk/client-ssm": "^3.628.0"
8
+ "@aws-sdk/client-secrets-manager": "^3.632.0",
9
+ "@aws-sdk/client-ssm": "^3.632.0"
10
10
  },
11
11
  "devDependencies": {
12
12
  "ac-semantic-release": "^0.4.2",