@nxtedition/lib 23.6.10 → 23.6.11

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.d.ts +7 -0
  2. package/app.js +1 -1
  3. package/package.json +1 -1
package/app.d.ts CHANGED
@@ -16,6 +16,13 @@ export interface AppConfig<Config = Record<string, unknown>> {
16
16
  module?: string
17
17
  version?: string
18
18
  config: Config
19
+ underPressure?: {
20
+ sampleInterval?: number
21
+ maxEventLoopDelay?: number
22
+ maxHeapUsedBytes?: number
23
+ maxRssBytes?: number
24
+ maxEventLoopUtilization?: number
25
+ }
19
26
  [key: string]: unknown
20
27
  }
21
28
 
package/app.js CHANGED
@@ -641,7 +641,7 @@ export function makeApp(appConfig, onTerminate) {
641
641
  ],
642
642
  ),
643
643
  ) ?? rxjs.of([]),
644
- underPressure.pressure$.pipe(
644
+ underPressure?.pressure$.pipe(
645
645
  rx.map((pressure) =>
646
646
  pressure == null
647
647
  ? []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "23.6.10",
3
+ "version": "23.6.11",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",