Compare commits

..

No commits in common. "e47060b1fbe91da41787f6528d82c280a9a61112" and "59cd1992879e86c68655420f008d3ef3bf22295a" have entirely different histories.

4 changed files with 6 additions and 5 deletions

View File

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

2
dist/package.json vendored
View File

@ -1,6 +1,6 @@
{
"name": "nestlogged",
"version": "3.2.2",
"version": "3.2.1",
"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.2",
"version": "3.2.1",
"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 { Logger } from '@nestjs/common';
import { ExecutionContext, 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<
(...args: F) => R
(context: ExecutionContext, ...args: F) => R
>,
) => {
loggerInit(_target);