@telia-ace/alliance-internal-node-utilities 1.0.3-next.3 → 1.0.3
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/CHANGELOG.md +16 -0
- package/dist/index.cjs +6 -8
- package/dist/index.mjs +6 -8
- package/package.json +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @telia-ace/alliance-internal-node-utilities
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0f20a09: Change to unformatted JSON logs.
|
|
8
|
+
- ba11e1f: Remove unused error codes.
|
|
9
|
+
- f2aafe4: Store user session in Redis cache to avoid hitting cookie size limits (https://github.com/telia-company/ace-alliance-sdk/issues/377).
|
|
10
|
+
- 828548a: Add error code for missing database record.
|
|
11
|
+
- c9b1488: Add `REDIS_PASSWORD` environment variable.
|
|
12
|
+
|
|
13
|
+
## 1.0.3-next.4
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 0f20a09: Change to unformatted JSON logs.
|
|
18
|
+
|
|
3
19
|
## 1.0.3-next.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -751,14 +751,12 @@ exports.LoggerModule = class LoggerModule {
|
|
|
751
751
|
useFactory: async (configService) => ({
|
|
752
752
|
pinoHttp: {
|
|
753
753
|
level: logLevel || configService.get(SharedConfigKeys.ServiceLogLevel) || "silent",
|
|
754
|
-
redact: redact ? [
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
761
|
-
}
|
|
754
|
+
redact: redact ? [
|
|
755
|
+
"authorization",
|
|
756
|
+
"headers.authorization",
|
|
757
|
+
"req.headers.authorization",
|
|
758
|
+
"res.headers.authorization"
|
|
759
|
+
] : []
|
|
762
760
|
}
|
|
763
761
|
})
|
|
764
762
|
})
|
package/dist/index.mjs
CHANGED
|
@@ -745,14 +745,12 @@ let LoggerModule = class {
|
|
|
745
745
|
useFactory: async (configService) => ({
|
|
746
746
|
pinoHttp: {
|
|
747
747
|
level: logLevel || configService.get(SharedConfigKeys.ServiceLogLevel) || "silent",
|
|
748
|
-
redact: redact ? [
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}
|
|
755
|
-
}
|
|
748
|
+
redact: redact ? [
|
|
749
|
+
"authorization",
|
|
750
|
+
"headers.authorization",
|
|
751
|
+
"req.headers.authorization",
|
|
752
|
+
"res.headers.authorization"
|
|
753
|
+
] : []
|
|
756
754
|
}
|
|
757
755
|
})
|
|
758
756
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/alliance-internal-node-utilities",
|
|
3
|
-
"version": "1.0.3
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Utilities used internally by packages developed by team Alliance.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Telia Company AB",
|
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
"jsonschema": "^1.4.1",
|
|
24
24
|
"jsonwebtoken": "^9.0.1",
|
|
25
25
|
"nestjs-pino": "^3.3.0",
|
|
26
|
-
"pino-http": "^8.3.3",
|
|
27
|
-
"pino-pretty": "^10.1.0",
|
|
28
26
|
"redis": "^4.6.8",
|
|
29
27
|
"slugify": "^1.6.6"
|
|
30
28
|
},
|