@larvit/log 1.3.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +7 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -80,6 +80,13 @@ const log = new Log({
80
80
  return `${logLevel}: ${msg} ${JSON.stringify(metadata)}`;
81
81
  },
82
82
 
83
+ // Open Telemetry additional http headers
84
+ // For example:
85
+ // { Authorization: "Bearer xxx" }
86
+ // Defaults to null
87
+ // Added in 1.4.0
88
+ otlpAdditionalHeaders: null,
89
+
83
90
  // Open Telemetry http endpoint to send spans, traces and logs to.
84
91
  // For example http://127.0.0.1:4318
85
92
  // Defaults to null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larvit/log",
3
- "version": "1.3.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "packageManager": "yarn@4.5.1",
@@ -14,11 +14,11 @@
14
14
  "devDependencies": {
15
15
  "@larvit/eslint-config-typescript-esm": "1.2.1",
16
16
  "@randomgoods/tap-spec": "5.0.4",
17
- "@types/express": "4.17.21",
18
- "@types/node": "22.5.5",
17
+ "@types/express": "5.0.0",
18
+ "@types/node": "22.9.1",
19
19
  "@types/tape": "5.6.4",
20
20
  "eslint": "8.57.1",
21
- "express": "4.21.1",
21
+ "express": "5.0.0",
22
22
  "tape": "5.9.0",
23
23
  "ts-node": "10.9.2",
24
24
  "typescript": "5.6.3",