@athenna/http 4.18.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.
|
|
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.
|
|
76
|
-
"@athenna/common": "^4.
|
|
77
|
-
"@athenna/config": "^4.
|
|
78
|
-
"@athenna/ioc": "^4.
|
|
79
|
-
"@athenna/logger": "^4.
|
|
80
|
-
"@athenna/test": "^4.
|
|
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
|
+
"@athenna/test": "^4.21.0",
|
|
81
81
|
"@athenna/tsconfig": "^4.12.0",
|
|
82
|
-
"@athenna/view": "^4.
|
|
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'
|
|
147
|
+
this.makeRoute(`${fullUrl}/:id`, ['PUT'], 'update');
|
|
148
148
|
this.makeRoute(`${fullUrl}/:id`, ['DELETE'], 'delete');
|
|
149
149
|
}
|
|
150
150
|
}
|