soonjs 0.0.8 → 0.0.9

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -38107,7 +38107,7 @@ class WV {
38107
38107
  } catch (k) {
38108
38108
  c.status = 400;
38109
38109
  const E = (b = k == null ? void 0 : k.issues) == null ? void 0 : b[0];
38110
- throw E && (E.message = (E.path ?? []).join(".") + ": " + E.message), E ? { ...E, code: 0 } : new Error("参数错误");
38110
+ throw E && (E.message = (E.path ?? []).join(".") + " " + E.message), E ? { ...E, code: 0 } : new Error("参数错误");
38111
38111
  }
38112
38112
  else
38113
38113
  throw c.status = 500, new Error("bodySchema must be ZodType");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soonjs",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",