@ledgerhq/logs 6.11.0 → 6.12.0-nightly.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/CHANGELOG.md +6 -0
- package/README.md +12 -12
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ledgerhq/logs
|
|
2
2
|
|
|
3
|
+
## 6.12.0-nightly.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#5430](https://github.com/LedgerHQ/ledger-live/pull/5430) [`5964e30bed`](https://github.com/LedgerHQ/ledger-live/commit/5964e30bed11d64a3b7401c6ab51ffc1ad4c427c) Thanks [@hedi-edelbloute](https://github.com/hedi-edelbloute)! - Update documentation v14 ledgerjs
|
|
8
|
+
|
|
3
9
|
## 6.11.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ Logs something
|
|
|
66
66
|
|
|
67
67
|
* `type` **LogType** a namespaced identifier of the log (it is not a level like "debug", "error" but more like "apdu-in", "apdu-out", etc...)
|
|
68
68
|
* `message` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** a clear message of the log associated to the type
|
|
69
|
-
* `data` **LogData
|
|
69
|
+
* `data` **LogData?** 
|
|
70
70
|
|
|
71
71
|
### trace
|
|
72
72
|
|
|
@@ -79,10 +79,10 @@ This is simple for now, but can be improved later.
|
|
|
79
79
|
|
|
80
80
|
* `context` **{type: LogType, message: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, data: LogData?, context: TraceContext?}** Anything representing the context where the log occurred
|
|
81
81
|
|
|
82
|
-
* `context.type`
|
|
83
|
-
* `context.message`
|
|
84
|
-
* `context.data`
|
|
85
|
-
* `context.context`
|
|
82
|
+
* `context.type`  
|
|
83
|
+
* `context.message`  
|
|
84
|
+
* `context.data`  
|
|
85
|
+
* `context.context`  
|
|
86
86
|
|
|
87
87
|
### LocalTracer
|
|
88
88
|
|
|
@@ -93,8 +93,8 @@ This is simple for now, but can be improved later.
|
|
|
93
93
|
|
|
94
94
|
#### Parameters
|
|
95
95
|
|
|
96
|
-
* ``
|
|
97
|
-
* ``
|
|
96
|
+
* ``  
|
|
97
|
+
* ``  
|
|
98
98
|
* `type` A given type (not level) for the current local tracer ("hw", "withDevice", etc.)
|
|
99
99
|
* `context` Anything representing the context where the log occurred
|
|
100
100
|
|
|
@@ -107,9 +107,9 @@ following a simple builder pattern.
|
|
|
107
107
|
|
|
108
108
|
##### Parameters
|
|
109
109
|
|
|
110
|
-
* `type` **LogType
|
|
110
|
+
* `type` **LogType** 
|
|
111
111
|
|
|
112
|
-
Returns **[LocalTracer](#localtracer)
|
|
112
|
+
Returns **[LocalTracer](#localtracer)** 
|
|
113
113
|
|
|
114
114
|
#### withContext
|
|
115
115
|
|
|
@@ -122,7 +122,7 @@ following a simple builder pattern.
|
|
|
122
122
|
|
|
123
123
|
* `context` **TraceContext?** A TraceContext, that can undefined to reset the context
|
|
124
124
|
|
|
125
|
-
Returns **[LocalTracer](#localtracer)
|
|
125
|
+
Returns **[LocalTracer](#localtracer)** 
|
|
126
126
|
|
|
127
127
|
#### withUpdatedContext
|
|
128
128
|
|
|
@@ -134,9 +134,9 @@ following a simple builder pattern.
|
|
|
134
134
|
|
|
135
135
|
##### Parameters
|
|
136
136
|
|
|
137
|
-
* `contextToAdd` **TraceContext
|
|
137
|
+
* `contextToAdd` **TraceContext** 
|
|
138
138
|
|
|
139
|
-
Returns **[LocalTracer](#localtracer)
|
|
139
|
+
Returns **[LocalTracer](#localtracer)** 
|
|
140
140
|
|
|
141
141
|
### listen
|
|
142
142
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/logs",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.0-nightly.0",
|
|
4
4
|
"description": "Ledger logs central point",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ledger"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "^29.5.0",
|
|
26
|
-
"@types/node": "^
|
|
27
|
-
"documentation": "
|
|
26
|
+
"@types/node": "^20.8.10",
|
|
27
|
+
"documentation": "14.0.2",
|
|
28
28
|
"jest": "^28.1.1",
|
|
29
29
|
"rimraf": "^4.4.1",
|
|
30
30
|
"source-map-support": "^0.5.21",
|