@formisch/preact 0.7.0 → 0.7.1
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.
- package/dist/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -475,7 +475,7 @@ declare function getInput<TSchema extends Schema, TFieldPath extends RequiredPat
|
|
|
475
475
|
*
|
|
476
476
|
* @returns A submit event handler function to attach to the form element.
|
|
477
477
|
*/
|
|
478
|
-
declare function handleSubmit<TSchema extends Schema>(form: BaseFormStore<TSchema>, handler: SubmitHandler<TSchema>): (event: SubmitEvent) => void
|
|
478
|
+
declare function handleSubmit<TSchema extends Schema>(form: BaseFormStore<TSchema>, handler: SubmitHandler<TSchema>): (event: SubmitEvent) => Promise<void>;
|
|
479
479
|
//#endregion
|
|
480
480
|
//#region src/insert/insert.d.ts
|
|
481
481
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formisch/preact",
|
|
3
3
|
"description": "The modular and type-safe form library for Preact",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fabian Hiller",
|
|
7
7
|
"homepage": "https://formisch.dev",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"typescript-eslint": "^8.37.0",
|
|
45
45
|
"vite": "^6.0.4",
|
|
46
46
|
"@formisch/core": "0.4.2",
|
|
47
|
-
"@formisch/methods": "0.5.
|
|
47
|
+
"@formisch/methods": "0.5.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@preact/signals": "^2.0.0",
|