@nxtedition/lib 23.17.13 → 23.17.15

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.
Files changed (3) hide show
  1. package/app.js +1 -1
  2. package/http.js +1 -1
  3. package/package.json +1 -1
package/app.js CHANGED
@@ -902,7 +902,7 @@ export function makeApp(appConfig, onTerminate) {
902
902
  )
903
903
 
904
904
  const loggerSubscription = status$
905
- .pipe(rx.pluck('messages'), rx.startWith([]), rx.pairwise())
905
+ .pipe(rx.auditTime(1e3), rx.pluck('messages'), rx.startWith([]), rx.pairwise())
906
906
  .subscribe(([prev, next]) => {
907
907
  for (const { level, msg: status, ...message } of fp.differenceBy('id', next, prev)) {
908
908
  if (level >= 50) {
package/http.js CHANGED
@@ -232,7 +232,7 @@ export async function requestMiddleware(ctx, next) {
232
232
  }
233
233
 
234
234
  if (!isHealthcheck) {
235
- ctx.logger?.debug('request started')
235
+ ctx.logger?.debug({ req }, 'request started')
236
236
  }
237
237
 
238
238
  if (ctx.id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "23.17.13",
3
+ "version": "23.17.15",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",