@aromix/core 0.4.6 → 0.4.7

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/dist/index.d.ts CHANGED
@@ -19,8 +19,6 @@ declare function system(): {
19
19
  declare function LoadEnv<Shape extends AxSchemaShape = AxSchemaShape>(options: Partial<{
20
20
  path: string;
21
21
  schema: AxObjectSchema<Shape>;
22
- }>): {
23
- env: <Key extends keyof Shape["base"]>(key: Key) => Shape["base"][Key];
24
- };
22
+ }>): <Key extends keyof Shape["base"]>(key: Key) => Shape["base"][Key];
25
23
 
26
24
  export { LoadEnv, type Unit, system };
package/dist/index.js CHANGED
@@ -86,7 +86,7 @@ function LoadEnv(options) {
86
86
  function env(key) {
87
87
  return values[key];
88
88
  }
89
- return { env };
89
+ return env;
90
90
  }
91
91
  export {
92
92
  LoadEnv,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aromix/core",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "The Core Package For Aromix",
5
5
  "type": "module",
6
6
  "license": "MIT",