presidium 1.4.1 → 1.4.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.
package/SecretsManager.js CHANGED
@@ -164,7 +164,7 @@ class SecretsManager {
164
164
 
165
165
  if (createSecretAwsError.name == 'ResourceExistsException') {
166
166
  // continue
167
- } else if (retryableErrorNames.includes(error.name)) {
167
+ } else if (retryableErrorNames.includes(createSecretAwsError.name)) {
168
168
  await sleep(1000)
169
169
  return putSecret.call(this, name, secretString)
170
170
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presidium",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "A library for creating web services",
5
5
  "author": "Richard Tong",
6
6
  "license": "MIT",