@conform-to/zod
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"main": "index.js", | ||
@@ -18,3 +18,3 @@ "module": "module/index.js", | ||
"peerDependencies": { | ||
"@conform-to/dom": "0.3.0", | ||
"@conform-to/dom": "0.3.1", | ||
"zod": "^3.0.0" | ||
@@ -21,0 +21,0 @@ }, |
@@ -5,7 +5,11 @@ # @conform-to/zod | ||
<!-- aside --> | ||
## API Reference | ||
- [resolve](#resolve) | ||
- [ifNonEmptyString](#ifNonEmptyString) | ||
- [ifNonEmptyString](#ifnonemptystring) | ||
<!-- /aside --> | ||
### resolve | ||
@@ -54,3 +58,3 @@ | ||
const [setupFieldset, { email, password }] = useFieldset({ | ||
// Inferring the constraint with the schema | ||
// Optional: setup native constraint inferred from the schema | ||
constraint: schema.constraint | ||
@@ -96,2 +100,4 @@ }); | ||
--- | ||
### ifNonEmptyString | ||
@@ -98,0 +104,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18781
133