convex-env 2.5.0 → 3.0.0

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.
@@ -90,7 +90,7 @@ declare const dodo: {
90
90
  */
91
91
  declare const polar: {
92
92
  POLAR_ORGANIZATION_TOKEN: convex_values0.VString<string, "required">;
93
- POLAR_SERVER: convex_values0.VString<string, "required">;
93
+ POLAR_SERVER: convex_values0.VUnion<"production" | "sandbox", [convex_values0.VLiteral<"production", "required">, convex_values0.VLiteral<"sandbox", "required">], "required", never>;
94
94
  POLAR_WEBHOOK_SECRET: convex_values0.VString<string, "required">;
95
95
  };
96
96
  /** Get started with uploadthing here:
package/dist/presets.mjs CHANGED
@@ -82,7 +82,7 @@ const dodo = {
82
82
  */
83
83
  const polar = {
84
84
  POLAR_ORGANIZATION_TOKEN: v.string(),
85
- POLAR_SERVER: v.string(),
85
+ POLAR_SERVER: v.union(v.literal("production"), v.literal("sandbox")),
86
86
  POLAR_WEBHOOK_SECRET: v.string()
87
87
  };
88
88
  /** Get started with uploadthing here:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "convex-env",
3
3
  "type": "module",
4
- "version": "2.5.0",
4
+ "version": "3.0.0",
5
5
  "license": "MIT",
6
6
  "description": "Type-safe access to environment variables in Convex",
7
7
  "exports": {