Compare commits

...

3 Commits

Author SHA1 Message Date
e47060b1fb feat: 3.2.2 release 2025-03-26 23:33:07 +09:00
c7f52ce58f chore: build 2025-03-26 23:33:01 +09:00
8cb8970b9e fix: remove forced ExecuteContext in LoggedMiddleware 2025-03-26 23:32:23 +09:00
4 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,2 @@
import { OverrideBuildOptions } from '../utils';
import { ExecutionContext } from '@nestjs/common';
export declare function LoggedMiddleware<F extends Array<any>, R>(options?: Partial<OverrideBuildOptions>): (_target: any, key: string, descriptor: TypedPropertyDescriptor<(context: ExecutionContext, ...args: F) => R>) => void;
export declare function LoggedMiddleware<F extends Array<any>, R>(options?: Partial<OverrideBuildOptions>): (_target: any, key: string, descriptor: TypedPropertyDescriptor<(...args: F) => R>) => void;

2
dist/package.json vendored
View File

@ -1,6 +1,6 @@
{
"name": "nestlogged",
"version": "3.2.1",
"version": "3.2.2",
"description": "A NestJS Logger Decorator Library",
"main": "lib/index.js",
"repository": "https://git.psw.kr/p-sw/nestlogged",

View File

@ -1,6 +1,6 @@
{
"name": "nestlogged",
"version": "3.2.1",
"version": "3.2.2",
"description": "A NestJS Logger Decorator Library",
"main": "./dist/lib/index.js",
"repository": "https://git.psw.kr/p-sw/nestlogged",

View File

@ -1,5 +1,5 @@
import { OverrideBuildOptions } from '../utils';
import { ExecutionContext, Logger } from '@nestjs/common';
import { Logger } from '@nestjs/common';
import { loggerInit } from '../utils';
import { LoggedMetadata, nestLoggedMetadata } from '../metadata';
import { scopedLogger, returns, ReturnsReflectData } from '../../reflected';
@ -12,7 +12,7 @@ export function LoggedMiddleware<F extends Array<any>, R>(
_target: any,
key: string,
descriptor: TypedPropertyDescriptor<
(context: ExecutionContext, ...args: F) => R
(...args: F) => R
>,
) => {
loggerInit(_target);