@smithy/shared-ini-file-loader 3.0.0 → 3.1.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.
@@ -1,4 +1,4 @@
1
- import { SharedConfigFiles } from "@smithy/types";
1
+ import { Logger, SharedConfigFiles } from "@smithy/types";
2
2
  export interface SharedConfigInit {
3
3
  /**
4
4
  * The path at which to locate the ini credentials file. Defaults to the
@@ -17,6 +17,10 @@ export interface SharedConfigInit {
17
17
  * property is set, the provider will always reload any configuration files loaded before.
18
18
  */
19
19
  ignoreCache?: boolean;
20
+ /**
21
+ * For credential resolution trace logging.
22
+ */
23
+ logger?: Logger;
20
24
  }
21
25
  export declare const CONFIG_PREFIX_SEPARATOR = ".";
22
26
  export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
@@ -1,4 +1,4 @@
1
- import { SharedConfigFiles } from "@smithy/types";
1
+ import { Logger, SharedConfigFiles } from "@smithy/types";
2
2
  export interface SharedConfigInit {
3
3
  /**
4
4
  * The path at which to locate the ini credentials file. Defaults to the
@@ -17,6 +17,10 @@ export interface SharedConfigInit {
17
17
  * property is set, the provider will always reload any configuration files loaded before.
18
18
  */
19
19
  ignoreCache?: boolean;
20
+ /**
21
+ * For credential resolution trace logging.
22
+ */
23
+ logger?: Logger;
20
24
  }
21
25
  export declare const CONFIG_PREFIX_SEPARATOR = ".";
22
26
  export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "dependencies": {
5
- "@smithy/types": "^3.0.0",
5
+ "@smithy/types": "^3.1.0",
6
6
  "tslib": "^2.6.2"
7
7
  },
8
8
  "devDependencies": {