@formkit/zod 0.18.0-156fdf1 → 0.18.0-23c4d8f

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.cjs CHANGED
@@ -101,7 +101,7 @@ function createZodPlugin(zodSchema, submitCallback) {
101
101
  setFormValidations(zodResults.error, node);
102
102
  }
103
103
  else {
104
- await submitCallback(payload, node);
104
+ await submitCallback(zodResults.data, node);
105
105
  }
106
106
  }
107
107
  // Sets the form errors on the correct nodes.
package/dist/index.mjs CHANGED
@@ -97,7 +97,7 @@ function createZodPlugin(zodSchema, submitCallback) {
97
97
  setFormValidations(zodResults.error, node);
98
98
  }
99
99
  else {
100
- await submitCallback(payload, node);
100
+ await submitCallback(zodResults.data, node);
101
101
  }
102
102
  }
103
103
  // Sets the form errors on the correct nodes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formkit/zod",
3
- "version": "0.18.0-156fdf1",
3
+ "version": "0.18.0-23c4d8f",
4
4
  "type": "module",
5
5
  "description": "Zod validation for FormKit.",
6
6
  "main": "dist/index.cjs",
@@ -34,7 +34,7 @@
34
34
  "test": "jest"
35
35
  },
36
36
  "dependencies": {
37
- "@formkit/core": "0.18.0-156fdf1"
37
+ "@formkit/core": "0.18.0-23c4d8f"
38
38
  },
39
39
  "devDependencies": {},
40
40
  "peerDependencies": {