@arki/env 0.0.7 → 0.0.8

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
  export declare const contracts: {
2
2
  json: <T extends import("zod").ZodType>(schema: T) => import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<Awaited<import("zod").infer<T>>, string>>;
3
- csvArray: <T extends import("zod").ZodType>(itemSchema: T) => import("zod").ZodPipe<import("zod").ZodTransform<unknown, unknown>, import("zod").ZodArray<T>>;
4
- csvSet: <T extends import("zod").ZodType>(itemSchema: T) => import("zod").ZodPipe<import("zod").ZodTransform<unknown, unknown>, import("zod").ZodArray<T>>;
3
+ csvArray: <T extends import("zod").ZodType>(itemSchema: T) => import("zod").ZodPreprocess<import("zod").ZodArray<T>, unknown>;
4
+ csvSet: <T extends import("zod").ZodType>(itemSchema: T) => import("zod").ZodPreprocess<import("zod").ZodArray<T>, unknown>;
5
5
  url: (defaultValue?: string) => import("zod").ZodURL | import("zod").ZodDefault<import("zod").ZodURL>;
6
6
  databaseUrl: () => import("zod").ZodURL;
7
7
  redisUrl: () => import("zod").ZodURL;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const parseContracts: {
3
3
  json: <T extends z.ZodType>(schema: T) => z.ZodPipe<z.ZodString, z.ZodTransform<Awaited<z.core.output<T>>, string>>;
4
- csvArray: <T extends z.ZodType>(itemSchema: T) => z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<T>>;
5
- csvSet: <T extends z.ZodType>(itemSchema: T) => z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodArray<T>>;
4
+ csvArray: <T extends z.ZodType>(itemSchema: T) => z.ZodPreprocess<z.ZodArray<T>, unknown>;
5
+ csvSet: <T extends z.ZodType>(itemSchema: T) => z.ZodPreprocess<z.ZodArray<T>, unknown>;
6
6
  };
7
7
  //# sourceMappingURL=parsing.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arki/env",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Type-safe environment variable parsing for ARKI — defineEnv() built on @t3-oss/env-core with Zod contracts for common variable shapes.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -59,11 +59,11 @@
59
59
  ],
60
60
  "dependencies": {
61
61
  "@arki/ts": "0.0.3",
62
- "@t3-oss/env-core": "^0.13.10",
63
- "zod": "4.3.5"
62
+ "@t3-oss/env-core": "^0.13.11",
63
+ "zod": "4.6.5"
64
64
  },
65
65
  "peerDependencies": {
66
- "@arki/dot": "^0.4.0"
66
+ "@arki/dot": "^0.4.1"
67
67
  },
68
68
  "peerDependenciesMeta": {
69
69
  "@arki/dot": {