@cripty2001/utils 0.0.216 → 0.0.217

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.
@@ -108,12 +108,12 @@ class AppserverDispatcher {
108
108
  undefined;
109
109
  if (!value_1.Value.Check(mod.schema, payload))
110
110
  return respond(422, {
111
- errors: JSON.stringify([...value_1.Value.Errors(mod.schema, payload)]
111
+ errors: [...value_1.Value.Errors(mod.schema, payload)]
112
112
  .map(e => ({
113
113
  path: e.path,
114
114
  message: e.message,
115
115
  value: e.value,
116
- }))),
116
+ })),
117
117
  received: payload,
118
118
  });
119
119
  return respond(200, await mod.handler(payload, token));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.216",
3
+ "version": "0.0.217",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {