fastify-graylog-reporter
Advanced tools
Comparing version 1.10.0 to 1.11.0
@@ -1,2 +0,2 @@ | ||
# [1.10.0](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.9.0...v1.10.0) (2023-10-12) | ||
# [1.11.0](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.10.0...v1.11.0) (2023-10-12) | ||
@@ -6,2 +6,2 @@ | ||
* add response ([1f76b99](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/1f76b998b0ad7bc879fdf2e032dd2ad3f849e7eb)) | ||
* add credentials ([0869729](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/08697299590fc440e088326d812be8b1b27d2502)) |
/// <reference types="node" /> | ||
import { FastifyPluginCallback } from 'fastify'; | ||
declare module 'fastify' { | ||
interface FastifyRequest { | ||
credentials?: Record<string, unknown>; | ||
} | ||
} | ||
export declare const fastifyGrayLogReporter: FastifyPluginCallback<Omit<import("./Gelf").ConnectionOptions, "minCompressSize" | "maxChunkSize"> & Partial<Pick<import("./Gelf").ConnectionOptions, "minCompressSize" | "maxChunkSize">>, import("http").Server, import("fastify").FastifyTypeProviderDefault, import("fastify").FastifyBaseLogger>; |
@@ -13,3 +13,3 @@ "use strict"; | ||
var _a; | ||
const { query, params, body, headers, routerMethod, routerPath } = request; | ||
const { query, params, body, headers, routerMethod, routerPath, credentials } = request; | ||
try { | ||
@@ -27,2 +27,3 @@ await instance.report({ | ||
response, | ||
credentials, | ||
headers, | ||
@@ -29,0 +30,0 @@ }); |
{ | ||
"name": "fastify-graylog-reporter", | ||
"version": "1.10.0", | ||
"version": "1.11.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
144721
302