@smithy/util-config-provider 1.0.1 → 1.0.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.
@@ -0,0 +1,13 @@
1
+ export declare enum SelectorType {
2
+ ENV = "env",
3
+ CONFIG = "shared config entry"
4
+ }
5
+ /**
6
+ * Returns boolean value true/false for string value "true"/"false",
7
+ * if the string is defined in obj[key]
8
+ * Returns undefined, if obj[key] is not defined.
9
+ * Throws error for all other cases.
10
+ *
11
+ * @internal
12
+ */
13
+ export declare const booleanSelector: (obj: Record<string, string | undefined>, key: string, type: SelectorType) => boolean | undefined;
@@ -0,0 +1 @@
1
+ export * from "./booleanSelector";
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@smithy/util-config-provider",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Utilities package for configuration providers",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:types": "tsc -p tsconfig.types.json",