@nmtjs/core 0.12.9 → 0.13.0
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.
- package/dist/logger.d.ts +2 -2
- package/package.json +5 -5
package/dist/logger.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type DestinationStream, type Level, type Logger as PinoLogger, pino, type StreamEntry } from 'pino';
|
|
1
|
+
import { type DestinationStream, type Level, type LoggerOptions, type Logger as PinoLogger, pino, type StreamEntry } from 'pino';
|
|
2
2
|
export type { StreamEntry } from 'pino';
|
|
3
3
|
export type Logger = PinoLogger;
|
|
4
4
|
export type LoggingOptions = {
|
|
5
5
|
destinations?: Array<DestinationStream | StreamEntry<Level>>;
|
|
6
|
-
pinoOptions?:
|
|
6
|
+
pinoOptions?: LoggerOptions;
|
|
7
7
|
};
|
|
8
8
|
export declare const createLogger: (options: LoggingOptions | undefined, $group: string) => pino.Logger<never, boolean>;
|
|
9
9
|
export declare const createConsolePrettyDestination: (level: Level, sync?: boolean) => StreamEntry;
|
package/package.json
CHANGED
|
@@ -11,22 +11,22 @@
|
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"pino": "^9.6.0",
|
|
13
13
|
"pino-pretty": "^13.0.0",
|
|
14
|
-
"@nmtjs/
|
|
15
|
-
"@nmtjs/
|
|
14
|
+
"@nmtjs/common": "0.13.0",
|
|
15
|
+
"@nmtjs/type": "0.13.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^20",
|
|
19
19
|
"pino": "^9.6.0",
|
|
20
20
|
"pino-pretty": "^13.0.0",
|
|
21
|
-
"@nmtjs/common": "0.
|
|
22
|
-
"@nmtjs/type": "0.
|
|
21
|
+
"@nmtjs/common": "0.13.0",
|
|
22
|
+
"@nmtjs/type": "0.13.0"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"dist",
|
|
26
26
|
"LICENSE.md",
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
|
-
"version": "0.
|
|
29
|
+
"version": "0.13.0",
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "tsc",
|
|
32
32
|
"type-check": "tsc --noEmit"
|