@arkenv/core 1.0.0-alpha.2 → 1.0.0-alpha.4

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.mts CHANGED
@@ -6269,21 +6269,16 @@ type EnvSchema<def> = type$1.validate<def, $$1>;
6269
6269
  type Infer<T> = T extends StandardSchemaV1<infer _Input, infer Output> ? Output : T extends {
6270
6270
  t: infer U;
6271
6271
  } ? U : T extends type$1.Any<infer U, infer _Scope> ? U : T extends SchemaShape ? distill.Out<type$1.infer<T, $$1>> : InferType<T>;
6272
- /**
6273
- * The environment variables passed to `arkenv`.
6274
- * Uses `Dict<string>` to enforce
6275
- * compile-time safety: all input environment variables must be strings
6276
- * (or undefined), matching `process.env` semantics.
6277
- */
6278
- type RuntimeEnvironment = Dict<string>;
6279
6272
  /**
6280
6273
  * Configuration options for `arkenv`
6281
6274
  */
6282
6275
  type ArkEnvConfig = {
6283
6276
  /**
6284
- * The environment variables to parse. Defaults to `process.env`
6277
+ * The environment variables to parse. Defaults to `process.env`.
6278
+ *
6279
+ * All values must be strings (or `undefined`) to match `process.env` semantics.
6285
6280
  */
6286
- env?: RuntimeEnvironment;
6281
+ env?: Record<string, string | undefined>;
6287
6282
  /**
6288
6283
  * Whether to coerce environment variables to their defined types. Defaults to `true`
6289
6284
  */