@kisameholmes/horizon_node 1.0.1 → 1.0.2
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/README.md +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ const logger = pino({
|
|
|
72
72
|
### Winston
|
|
73
73
|
|
|
74
74
|
```typescript
|
|
75
|
-
import { HorizonWinstonTransport } from '@kisameholmes/horizon_node';
|
|
75
|
+
import { HorizonWinstonTransport } from '@kisameholmes/horizon_node/winston';
|
|
76
76
|
|
|
77
77
|
const logger = winston.createLogger({
|
|
78
78
|
transports: [
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -15,6 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./client"), exports);
|
|
18
|
-
__exportStar(require("./pino-horizon"), exports);
|
|
19
|
-
__exportStar(require("./winston-horizon"), exports);
|
|
20
18
|
__exportStar(require("./middleware"), exports);
|
package/package.json
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kisameholmes/horizon_node",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "High-performance observability and logging for Node.js",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./dist/index.js",
|
|
9
|
+
"./pino": "./dist/pino-horizon.js",
|
|
10
|
+
"./winston": "./dist/winston-horizon.js",
|
|
11
|
+
"./middleware": "./dist/middleware.js"
|
|
12
|
+
},
|
|
7
13
|
"files": [
|
|
8
14
|
"dist"
|
|
9
15
|
],
|
|
@@ -22,7 +28,9 @@
|
|
|
22
28
|
"author": "Horizon",
|
|
23
29
|
"license": "MIT",
|
|
24
30
|
"dependencies": {
|
|
25
|
-
"axios": "^1.6.0"
|
|
31
|
+
"axios": "^1.6.0",
|
|
32
|
+
"pino-abstract-transport": "^3.0.0",
|
|
33
|
+
"winston-transport": "^4.9.0"
|
|
26
34
|
},
|
|
27
35
|
"peerDependencies": {
|
|
28
36
|
"express": "^4.18.0",
|
|
@@ -49,8 +57,6 @@
|
|
|
49
57
|
"@types/node": "^20.0.0",
|
|
50
58
|
"fastify": "^4.0.0",
|
|
51
59
|
"pino": "^8.0.0",
|
|
52
|
-
"winston-transport": "^4.0.0",
|
|
53
|
-
"pino-abstract-transport": "^3.0.0",
|
|
54
60
|
"typescript": "^5.0.0"
|
|
55
61
|
}
|
|
56
62
|
}
|