@leyyo/env 1.0.12 → 1.0.13

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,7 +1,7 @@
1
1
  import type { EnvFieldConfigure, EnvFieldPrint, EnvFieldRuntime } from "../field";
2
2
  import type { EnvBase, EnvCoreRuntime } from "../core";
3
3
  export interface EnvScopeConfigure<E extends EnvBase = EnvBase> {
4
- get runtime(): EnvScopeRuntime<E>;
4
+ get begin(): EnvScopeConfigure<E>;
5
5
  get end(): EnvScopeRuntime<E>;
6
6
  field<Z extends keyof E = keyof E>(name: Z): EnvFieldConfigure<E, Z>;
7
7
  uses(scope: string): EnvScopeConfigure<E>;
@@ -14,7 +14,6 @@ export interface EnvScopeRuntime<E extends EnvBase = EnvBase> {
14
14
  readonly name: string;
15
15
  readonly core: EnvCoreRuntime;
16
16
  get configure(): EnvScopeConfigure<E>;
17
- get begin(): EnvScopeConfigure<E>;
18
17
  get $secure(): EnvScopeSecure<E>;
19
18
  getField<Z extends keyof E = keyof E>(name: Z): EnvFieldRuntime<E, Z>;
20
19
  hasField<Z extends keyof E = keyof E>(name: Z): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leyyo/env",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Environment library",
5
5
  "keywords": [
6
6
  "env",