nestjs-pino 2.5.0-alpha.c29113 → 2.5.0-alpha.ccf6eb

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -433,7 +433,7 @@ By default, `pino-http` exposes `err` property with a stack trace and error deta
433
433
  import { LoggerErrorInterceptor } from 'nestjs-pino';
434
434
 
435
435
  const app = await NestFactory.create(AppModule);
436
- app.useGlobalInterceptors(LoggerErrorInterceptor);
436
+ app.useGlobalInterceptors(new LoggerErrorInterceptor());
437
437
  ```
438
438
 
439
439
  ## Migration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestjs-pino",
3
- "version": "2.5.0-alpha.c29113",
3
+ "version": "2.5.0-alpha.ccf6eb",
4
4
  "description": "Pino logger for NestJS",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -54,7 +54,7 @@
54
54
  "eslint-config-prettier": "^8.3.0",
55
55
  "eslint-plugin-import": "^2.24.2",
56
56
  "eslint-plugin-prettier": "^4.0.0",
57
- "jest": "27.4.7",
57
+ "jest": "27.5.1",
58
58
  "memorystream": "^0.3.1",
59
59
  "pino": "^7.5.1",
60
60
  "pino-http": "^6.4.0",