@aeriajs/core 0.0.196 → 0.0.197

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.
@@ -177,7 +177,7 @@ const validate = (value, ctx) => {
177
177
  return value;
178
178
  }
179
179
  }
180
- const { error } = (0, validation_1.validateProperty)(ctx.propName, value, ctx.property);
180
+ const { error } = (0, validation_1.validateProperty)(value, ctx.property);
181
181
  if (error) {
182
182
  return types_1.Result.error({
183
183
  [ctx.propName]: error,
@@ -145,7 +145,7 @@ const validate = (value, ctx) => {
145
145
  return value;
146
146
  }
147
147
  }
148
- const { error } = validateProperty(ctx.propName, value, ctx.property);
148
+ const { error } = validateProperty(value, ctx.property);
149
149
  if (error) {
150
150
  return Result.error({
151
151
  [ctx.propName]: error
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/core",
3
- "version": "0.0.196",
3
+ "version": "0.0.197",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "aeriaMain": "tests/fixtures/aeriaMain.js",
@@ -42,13 +42,13 @@
42
42
  "mongodb-memory-server": "^9.2.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@aeriajs/builtins": "^0.0.196",
45
+ "@aeriajs/builtins": "^0.0.197",
46
46
  "@aeriajs/common": "^0.0.120",
47
47
  "@aeriajs/entrypoint": "^0.0.123",
48
- "@aeriajs/http": "^0.0.136",
49
- "@aeriajs/security": "^0.0.196",
48
+ "@aeriajs/http": "^0.0.137",
49
+ "@aeriajs/security": "^0.0.197",
50
50
  "@aeriajs/types": "^0.0.102",
51
- "@aeriajs/validation": "^0.0.125"
51
+ "@aeriajs/validation": "^0.0.126"
52
52
  },
53
53
  "dependencies": {
54
54
  "mongodb": "^6.5.0",