@uoa/lambda-tracing 2.2.0 → 2.2.1
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/ReleaseSteps.md +3 -2
- package/changelog.md +4 -0
- package/package.json +1 -1
- package/readme.md +1 -2
package/ReleaseSteps.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Steps to release package to npm
|
|
2
2
|
1. `npm login`
|
|
3
3
|
2. `npm version <new version>`
|
|
4
|
-
3.
|
|
5
|
-
4.
|
|
4
|
+
3. Update changelog.md & commit the changes
|
|
5
|
+
4. Push to git to sync new tags
|
|
6
|
+
5. `npm publish --access=public --otp=<2FA code>`
|
|
6
7
|
|
|
7
8
|
# Testing locally before release
|
|
8
9
|
1. `npm pack`
|
package/changelog.md
CHANGED
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -126,8 +126,7 @@ logger.audit({application: "applicationName", action: "read", resourceId: "12345
|
|
|
126
126
|
```
|
|
127
127
|
Will produce the following log message:
|
|
128
128
|
```text
|
|
129
|
-
2024-04-12T00:58:05.321Z [-] AUDIT src.controller.person-controller - [[[TraceId,SpanId,Info]]] application:applicationName accessedBy:upi1234 action:read owner:upi5678
|
|
130
|
-
resourceType:personalDetails resourceId:123456789 Additional useful info
|
|
129
|
+
2024-04-12T00:58:05.321Z [-] AUDIT src.controller.person-controller - [[[TraceId,SpanId,Info]]] application:applicationName accessedBy:upi1234 action:read owner:upi5678 resourceType:personalDetails resourceId:123456789 Additional useful info
|
|
131
130
|
```
|
|
132
131
|
|
|
133
132
|
### Distributed Tracing
|