@aeriajs/http 0.0.206 → 0.0.208

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/routing.js +1 -0
  2. package/package.json +5 -5
package/dist/routing.js CHANGED
@@ -98,6 +98,7 @@ export const registerRoute = async (context, method, exp, cb, contract, options
98
98
  const { error, result: validated } = await checkUnprocessable(context.request.payload, contract.payload, context, {
99
99
  checkObjectIds: true,
100
100
  coerceObjectIds: true,
101
+ coerceDates: true,
101
102
  context,
102
103
  objectIdConstructor: ObjectId,
103
104
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aeriajs/http",
3
3
  "type": "module",
4
- "version": "0.0.206",
4
+ "version": "0.0.208",
5
5
  "description": "## Installation",
6
6
  "main": "dist/index.js",
7
7
  "aeriaMain": "tests/fixtures/aeriaMain.js",
@@ -29,10 +29,10 @@
29
29
  "mongodb": "^7.1.0"
30
30
  },
31
31
  "peerDependencies": {
32
- "@aeriajs/common": "^0.0.167",
33
- "@aeriajs/entrypoint": "^0.0.175",
34
- "@aeriajs/types": "^0.0.140",
35
- "@aeriajs/validation": "^0.0.191",
32
+ "@aeriajs/common": "^0.0.168",
33
+ "@aeriajs/entrypoint": "^0.0.176",
34
+ "@aeriajs/types": "^0.0.141",
35
+ "@aeriajs/validation": "^0.0.193",
36
36
  "mongodb": "^7.1.0"
37
37
  },
38
38
  "scripts": {