envin 1.1.8 → 1.1.9

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.
@@ -154,7 +154,7 @@ declare const netlify: {
154
154
  readonly server: {
155
155
  readonly NETLIFY: arktype.BaseType<string | undefined, {}>;
156
156
  readonly BUILD_ID: arktype.BaseType<string | undefined, {}>;
157
- readonly CONTEXT: arktype.BaseType<"dev" | "production" | "deploy-preview" | "branch-deploy" | undefined, {}>;
157
+ readonly CONTEXT: arktype.BaseType<"production" | "deploy-preview" | "branch-deploy" | "dev" | undefined, {}>;
158
158
  readonly REPOSITORY_URL: arktype.BaseType<string | undefined, {}>;
159
159
  readonly BRANCH: arktype.BaseType<string | undefined, {}>;
160
160
  readonly URL: arktype.BaseType<string | undefined, {}>;
@@ -169,10 +169,10 @@ declare const netlify: {
169
169
  readonly NETLIFY: z.ZodOptional<z.ZodString>;
170
170
  readonly BUILD_ID: z.ZodOptional<z.ZodString>;
171
171
  readonly CONTEXT: z.ZodOptional<z.ZodEnum<{
172
- dev: "dev";
173
172
  production: "production";
174
173
  "deploy-preview": "deploy-preview";
175
174
  "branch-deploy": "branch-deploy";
175
+ dev: "dev";
176
176
  }>>;
177
177
  readonly REPOSITORY_URL: z.ZodOptional<z.ZodString>;
178
178
  readonly BRANCH: z.ZodOptional<z.ZodString>;
package/dist/types.d.ts CHANGED
@@ -165,7 +165,7 @@ interface StrictOptions<Prefix extends PrefixFormat, Server extends ServerFormat
165
165
  [Key in keyof Server]: Prefix extends undefined ? Key : Key extends `${Prefix}${string}` ? never : Key;
166
166
  }[keyof Server] | {
167
167
  [Key in keyof Shared]: Key extends string ? Key : never;
168
- }[keyof Shared], string | boolean | number | undefined>;
168
+ }[keyof Shared] | keyof StandardSchemaDictionary.InferOutput<FullSchemaShape<Shared, Server, Client, Extends>>, string | boolean | number | undefined>;
169
169
  /**
170
170
  * Must be undefined when using strict options. Use `envStrict` instead.
171
171
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "envin",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Type-safe env validation with live previews",
5
5
  "keywords": [
6
6
  "turbostarter",