@navios/core 0.1.12 → 0.1.13

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/index.js CHANGED
@@ -2552,7 +2552,7 @@ var _ControllerAdapterService = class _ControllerAdapterService {
2552
2552
  }
2553
2553
  }
2554
2554
  }
2555
- argument.body = requestSchema.parse(req);
2555
+ argument.data = requestSchema.parse(req);
2556
2556
  const result = await controllerInstance[endpointMetadata.classMethod](argument);
2557
2557
  reply.status(endpointMetadata.successStatusCode).headers(endpointMetadata.headers).send(result);
2558
2558
  } finally {
package/dist/index.mjs CHANGED
@@ -2421,7 +2421,7 @@ var _ControllerAdapterService = class _ControllerAdapterService {
2421
2421
  }
2422
2422
  }
2423
2423
  }
2424
- argument.body = requestSchema.parse(req);
2424
+ argument.data = requestSchema.parse(req);
2425
2425
  const result = await controllerInstance[endpointMetadata.classMethod](argument);
2426
2426
  reply.status(endpointMetadata.successStatusCode).headers(endpointMetadata.headers).send(result);
2427
2427
  } finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navios/core",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "author": {
5
5
  "name": "Oleksandr Hanzha",
6
6
  "email": "alex@granted.name"
@@ -15,7 +15,7 @@
15
15
  "main": "./dist/index.js",
16
16
  "module": "./dist/index.mjs",
17
17
  "peerDependencies": {
18
- "@navios/common": "^0.1.3",
18
+ "@navios/common": "^0.1.5",
19
19
  "zod": "^3.23.8"
20
20
  },
21
21
  "exports": {
@@ -32,7 +32,7 @@
32
32
  "./package.json": "./package.json"
33
33
  },
34
34
  "devDependencies": {
35
- "@navios/common": "^0.1.3",
35
+ "@navios/common": "^0.1.5",
36
36
  "tsx": "^4.19.4",
37
37
  "typescript": "^5.8.3",
38
38
  "zod": "^3.24.4"
@@ -287,7 +287,7 @@ export class ControllerAdapterService {
287
287
  }
288
288
  }
289
289
  }
290
- argument.body = requestSchema.parse(req)
290
+ argument.data = requestSchema.parse(req)
291
291
  const result =
292
292
  await controllerInstance[endpointMetadata.classMethod](argument)
293
293
  reply