@formisch/vue 0.6.0 → 0.6.2

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.
@@ -11,6 +11,7 @@ import { ComponentPublicInstance, MaybeRefOrGetter, ShallowRef as Signal } from
11
11
  type Schema = v.GenericSchema | v.GenericSchemaAsync;
12
12
  //#endregion
13
13
  //#region src/types/signal.d.ts
14
+
14
15
  /**
15
16
  * Batch interface.
16
17
  */
@@ -475,7 +476,7 @@ declare function getInput<TSchema extends Schema, TFieldPath extends RequiredPat
475
476
  *
476
477
  * @returns A submit event handler function to attach to the form element.
477
478
  */
478
- declare function handleSubmit<TSchema extends Schema>(form: BaseFormStore<TSchema>, handler: SubmitHandler<TSchema>): (event: SubmitEvent) => void;
479
+ declare function handleSubmit<TSchema extends Schema>(form: BaseFormStore<TSchema>, handler: SubmitHandler<TSchema>): (event: SubmitEvent) => Promise<void>;
479
480
  //#endregion
480
481
  //#region src/insert/insert.d.ts
481
482
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formisch/vue",
3
3
  "description": "The modular and type-safe form library for Vue",
4
- "version": "0.6.0",
4
+ "version": "0.6.2",
5
5
  "license": "MIT",
6
6
  "author": "Fabian Hiller",
7
7
  "homepage": "https://formisch.dev",
@@ -37,14 +37,14 @@
37
37
  "@vue/eslint-config-typescript": "^14.6.0",
38
38
  "eslint": "^9.32.0",
39
39
  "eslint-plugin-vue": "~10.3.0",
40
- "tsdown": "^0.13.0",
40
+ "tsdown": "^0.16.8",
41
41
  "typescript": "~5.8.3",
42
42
  "unplugin-vue": "^7.0.0",
43
43
  "valibot": "^1.1.0",
44
44
  "vue": "^3.5.18",
45
45
  "vue-tsc": "^3.0.4",
46
- "@formisch/core": "0.4.2",
47
- "@formisch/methods": "0.5.0"
46
+ "@formisch/core": "0.4.3",
47
+ "@formisch/methods": "0.5.1"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "typescript": ">=5",