@felte/common
Advanced tools
Comparing version 0.2.2 to 0.2.3
# @felte/common | ||
## 0.2.3 | ||
### Patch Changes | ||
- a664ef3: Update types to allow validator to return undefined | ||
## 0.2.2 | ||
@@ -4,0 +10,0 @@ |
@@ -38,3 +38,3 @@ import { Readable, Writable } from "svelte/store"; | ||
/** Optional function to validate the data. */ | ||
validate?: (values: Data) => Errors<Data> | Promise<Errors<Data>>; | ||
validate?: (values: Data) => Errors<Data> | undefined | Promise<Errors<Data> | undefined>; | ||
/** Required function to handle the form data on submit. */ | ||
@@ -41,0 +41,0 @@ onSubmit: (values: Data) => Promise<void> | void; |
{ | ||
"name": "@felte/common", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Common utilities for Felte packages", | ||
@@ -12,3 +12,5 @@ "author": "Pablo Berganza <pablo@berganza.dev>", | ||
"types": "dist/index.d.ts", | ||
"files": ["dist"], | ||
"files": [ | ||
"dist" | ||
], | ||
"publishConfig": { | ||
@@ -15,0 +17,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
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
45143