@geekmidas/envkit 1.0.0 → 1.0.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.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +1 -1
- package/src/__tests__/SnifferEnvironmentParser.spec.ts +2 -2
- package/src/index.ts +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @geekmidas/envkit
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 🐛 [`8bdda11`](https://github.com/geekmidas/toolbox/commit/8bdda11f5c0f7c2eaea605befb0eca38ecc56e44) Thanks [@geekmidas](https://github.com/geekmidas)! - Fix iam resolution for authorizers and fixed exported types for envkit
|
|
8
|
+
|
|
3
9
|
## 1.0.0
|
|
4
10
|
|
|
5
11
|
### Major Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { EnvRecord, EnvValue, EnvironmentBuilder, EnvironmentBuilderOptions, EnvironmentResolver, InputValue, Resolvers, TypedInputValue, TypedResolvers, environmentCase } from "./EnvironmentBuilder-Xuf2Dd9u.cjs";
|
|
2
|
-
import { ConfigParser, EnvironmentParser } from "./EnvironmentParser-DtOL86NU.cjs";
|
|
2
|
+
import { ConfigParser, EmptyObject, EnvFetcher, EnvironmentParser, InferConfig } from "./EnvironmentParser-DtOL86NU.cjs";
|
|
3
3
|
import { FormatOptions, formatParseError, isDevelopment } from "./formatter-D85aIkpd.cjs";
|
|
4
|
-
export { ConfigParser, EnvRecord, EnvValue, EnvironmentBuilder, EnvironmentBuilderOptions, EnvironmentParser, EnvironmentResolver, FormatOptions, InputValue, Resolvers, TypedInputValue, TypedResolvers, environmentCase, formatParseError, isDevelopment };
|
|
4
|
+
export { ConfigParser, EmptyObject, EnvFetcher, EnvRecord, EnvValue, EnvironmentBuilder, EnvironmentBuilderOptions, EnvironmentParser, EnvironmentResolver, FormatOptions, InferConfig, InputValue, Resolvers, TypedInputValue, TypedResolvers, environmentCase, formatParseError, isDevelopment };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { EnvRecord, EnvValue, EnvironmentBuilder, EnvironmentBuilderOptions, EnvironmentResolver, InputValue, Resolvers, TypedInputValue, TypedResolvers, environmentCase } from "./EnvironmentBuilder-jF-b7WQg.mjs";
|
|
2
|
-
import { ConfigParser, EnvironmentParser } from "./EnvironmentParser-CkLfmn4Y.mjs";
|
|
2
|
+
import { ConfigParser, EmptyObject, EnvFetcher, EnvironmentParser, InferConfig } from "./EnvironmentParser-CkLfmn4Y.mjs";
|
|
3
3
|
import { FormatOptions, formatParseError, isDevelopment } from "./formatter-Cox0NGxT.mjs";
|
|
4
|
-
export { ConfigParser, EnvRecord, EnvValue, EnvironmentBuilder, EnvironmentBuilderOptions, EnvironmentParser, EnvironmentResolver, FormatOptions, InputValue, Resolvers, TypedInputValue, TypedResolvers, environmentCase, formatParseError, isDevelopment };
|
|
4
|
+
export { ConfigParser, EmptyObject, EnvFetcher, EnvRecord, EnvValue, EnvironmentBuilder, EnvironmentBuilderOptions, EnvironmentParser, EnvironmentResolver, FormatOptions, InferConfig, InputValue, Resolvers, TypedInputValue, TypedResolvers, environmentCase, formatParseError, isDevelopment };
|
package/package.json
CHANGED
|
@@ -467,8 +467,8 @@ describe('sniffWithFireAndForget', () => {
|
|
|
467
467
|
await sniffWithFireAndForget(sniffer, () => {}, { settleTimeMs: 50 });
|
|
468
468
|
|
|
469
469
|
const elapsed = Date.now() - startTime;
|
|
470
|
-
// Should wait
|
|
471
|
-
expect(elapsed).toBeGreaterThanOrEqual(
|
|
470
|
+
// Should wait approximately 50ms (allow small timing variance)
|
|
471
|
+
expect(elapsed).toBeGreaterThanOrEqual(45);
|
|
472
472
|
expect(elapsed).toBeLessThan(200);
|
|
473
473
|
});
|
|
474
474
|
|
package/src/index.ts
CHANGED
|
@@ -10,7 +10,13 @@ export {
|
|
|
10
10
|
type TypedInputValue,
|
|
11
11
|
type TypedResolvers,
|
|
12
12
|
} from './EnvironmentBuilder';
|
|
13
|
-
export {
|
|
13
|
+
export {
|
|
14
|
+
ConfigParser,
|
|
15
|
+
type EmptyObject,
|
|
16
|
+
type EnvFetcher,
|
|
17
|
+
EnvironmentParser,
|
|
18
|
+
type InferConfig,
|
|
19
|
+
} from './EnvironmentParser';
|
|
14
20
|
export {
|
|
15
21
|
type FormatOptions,
|
|
16
22
|
formatParseError,
|