config-dug
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -13,3 +13,3 @@ "use strict"; | ||
httpOptions: { | ||
connectTimeout: timeout | ||
timeout | ||
} | ||
@@ -20,3 +20,7 @@ }); | ||
catch (error) { | ||
console.error('ERROR: Unable to get secret from AWS Secrets Manager'); | ||
console.error('ERROR: Unable to get secret from AWS Secrets Manager', { | ||
secretName, | ||
region, | ||
timeout | ||
}); | ||
console.error(error); | ||
@@ -23,0 +27,0 @@ return {}; |
@@ -8,2 +8,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.loadConfig = void 0; | ||
const fs_1 = __importDefault(require("fs")); | ||
@@ -10,0 +11,0 @@ const path_1 = __importDefault(require("path")); |
# Changelog | ||
## 1.4.1 (October 17, 2020) | ||
- Better error logging when fetching from Secrets Manager | ||
- Updated `httpOptions` to use `timeout` instead of `connectTimeout` | ||
## 1.4.0 (November 28, 2019) | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "config-dug", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Config loader with support for AWS Secrets Manager", | ||
@@ -5,0 +5,0 @@ "author": "Neo Financial Engineering <engineering@neofinancial.com>", |
# Config Dug | ||
[![Build status](https://github.com/neofinancial/config-dug/workflows/CI/badge.svg)](https://github.com/neofinancial/config-dug/actions) | ||
[![codecov](https://codecov.io/gh/neofinancial/config-dug/branch/master/graph/badge.svg)](https://codecov.io/gh/neofinancial/config-dug) | ||
![TypeScript 3.7.2](https://img.shields.io/badge/TypeScript-3.7.2-brightgreen.svg) | ||
@@ -5,0 +6,0 @@ |
14331
135
139