fastify-graylog-reporter
Advanced tools
Comparing version 1.9.0 to 1.10.0
@@ -1,2 +0,2 @@ | ||
# [1.9.0](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.8.0...v1.9.0) (2023-10-12) | ||
# [1.10.0](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.9.0...v1.10.0) (2023-10-12) | ||
@@ -6,2 +6,2 @@ | ||
* add headers to full message ([205dbbd](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/205dbbd8012d2d447729caa4b4cd56650e7885f2)) | ||
* add response ([1f76b99](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/1f76b998b0ad7bc879fdf2e032dd2ad3f849e7eb)) |
@@ -11,3 +11,3 @@ "use strict"; | ||
const instance = new Gelf_1.GrayLogGelfReporter(options); | ||
fastify.addHook('onResponse', async (request, reply) => { | ||
fastify.addHook('onSend', async (request, reply, response) => { | ||
var _a; | ||
@@ -26,2 +26,3 @@ const { query, params, body, headers, routerMethod, routerPath } = request; | ||
body, | ||
response, | ||
headers, | ||
@@ -28,0 +29,0 @@ }); |
{ | ||
"name": "fastify-graylog-reporter", | ||
"version": "1.9.0", | ||
"version": "1.10.0", | ||
"description": "Fastify plugin for report request data to Graylog", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Blynskyniki/fastify-graylog-reporter#readme", |
Sorry, the diff of this file is not supported yet
144541
296