@aeriajs/validation 0.0.137 → 0.0.138

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/validate.js CHANGED
@@ -209,7 +209,7 @@ const validateRefs = async (what, property, options, descriptions) => {
209
209
  got: typeof what,
210
210
  }));
211
211
  }
212
- return (0, exports.validate)(what, description);
212
+ return (0, exports.validate)(what, description, options);
213
213
  }
214
214
  else if ('items' in property) {
215
215
  if (!Array.isArray(what)) {
package/dist/validate.mjs CHANGED
@@ -196,7 +196,7 @@ export const validateRefs = async (what, property, options, descriptions) => {
196
196
  got: typeof what
197
197
  }));
198
198
  }
199
- return validate(what, description);
199
+ return validate(what, description, options);
200
200
  } else if ("items" in property) {
201
201
  if (!Array.isArray(what)) {
202
202
  throw new Error();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/validation",
3
- "version": "0.0.137",
3
+ "version": "0.0.138",
4
4
  "description": "## Installation",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",