@athenna/http 4.19.0 → 4.20.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/http",
3
- "version": "4.19.0",
3
+ "version": "4.20.0",
4
4
  "description": "The Athenna Http server. Built on top of fastify.",
5
5
  "license": "MIT",
6
6
  "author": "João Lenon <lenon@athenna.io>",
@@ -72,14 +72,14 @@
72
72
  "#tests": "./tests/index.js"
73
73
  },
74
74
  "devDependencies": {
75
- "@athenna/artisan": "^4.31.0",
76
- "@athenna/common": "^4.32.0",
77
- "@athenna/config": "^4.14.0",
78
- "@athenna/ioc": "^4.14.0",
79
- "@athenna/logger": "^4.15.0",
75
+ "@athenna/artisan": "^4.32.0",
76
+ "@athenna/common": "^4.33.0",
77
+ "@athenna/config": "^4.15.0",
78
+ "@athenna/ioc": "^4.15.0",
79
+ "@athenna/logger": "^4.16.0",
80
80
  "@athenna/test": "^4.21.0",
81
81
  "@athenna/tsconfig": "^4.12.0",
82
- "@athenna/view": "^4.12.0",
82
+ "@athenna/view": "^4.13.0",
83
83
  "@fastify/cors": "^8.4.2",
84
84
  "@fastify/helmet": "^11.1.1",
85
85
  "@fastify/rate-limit": "^8.1.1",
@@ -144,7 +144,7 @@ export class RouteResource {
144
144
  this.makeRoute(fullUrl, ['GET'], 'index');
145
145
  this.makeRoute(fullUrl, ['POST'], 'store');
146
146
  this.makeRoute(`${fullUrl}/:id`, ['GET'], 'show');
147
- this.makeRoute(`${fullUrl}/:id`, ['PUT', 'PATCH'], 'update');
147
+ this.makeRoute(`${fullUrl}/:id`, ['PUT'], 'update');
148
148
  this.makeRoute(`${fullUrl}/:id`, ['DELETE'], 'delete');
149
149
  }
150
150
  }