cogsbox-shape 0.5.34 → 0.5.36

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.
Files changed (2) hide show
  1. package/dist/schema.js +2 -2
  2. package/package.json +1 -1
package/dist/schema.js CHANGED
@@ -117,8 +117,8 @@ function createBuilder(config) {
117
117
  : schemaOrDefault
118
118
  : config.sqlZod; // Keep SQL type if just setting default
119
119
  const finalDefaultValue = hasTypeParam
120
- ? defaultValue()
121
- : schemaOrDefault();
120
+ ? defaultValue
121
+ : schemaOrDefault;
122
122
  const newCompletedStages = new Set(completedStages);
123
123
  newCompletedStages.add("new");
124
124
  const newClientZod = hasTypeParam
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cogsbox-shape",
3
- "version": "0.5.34",
3
+ "version": "0.5.36",
4
4
  "description": "A TypeScript library for creating type-safe database schemas with Zod validation, SQL type definitions, and automatic client/server transformations. Unifies client, server, and database types through a single schema definition, with built-in support for relationships and serialization.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",