@sebspark/health-check 0.1.0 → 0.1.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/dist/index.d.mts CHANGED
@@ -295,7 +295,6 @@ interface HealthMonitorConfig {
295
295
  declare class HealthMonitor {
296
296
  private readonly _router;
297
297
  private readonly dependencies;
298
- private isDisposed;
299
298
  /**
300
299
  * Create a new HealthMonitor instance with its own router and dependency map.
301
300
  */
package/dist/index.d.ts CHANGED
@@ -295,7 +295,6 @@ interface HealthMonitorConfig {
295
295
  declare class HealthMonitor {
296
296
  private readonly _router;
297
297
  private readonly dependencies;
298
- private isDisposed;
299
298
  /**
300
299
  * Create a new HealthMonitor instance with its own router and dependency map.
301
300
  */
package/dist/index.js CHANGED
@@ -120,7 +120,7 @@ var throttle = (fn, ms) => {
120
120
  var HealthMonitor = class {
121
121
  _router;
122
122
  dependencies;
123
- isDisposed = false;
123
+ // private isDisposed = false
124
124
  /**
125
125
  * Create a new HealthMonitor instance with its own router and dependency map.
126
126
  */
@@ -353,7 +353,6 @@ var HealthMonitor = class {
353
353
  * - (future: could also stop all dependency monitors)
354
354
  */
355
355
  dispose() {
356
- this.isDisposed = true;
357
356
  for (const dependency of this.dependencies.values()) {
358
357
  dependency.dispose();
359
358
  }
package/dist/index.mjs CHANGED
@@ -82,7 +82,7 @@ var throttle = (fn, ms) => {
82
82
  var HealthMonitor = class {
83
83
  _router;
84
84
  dependencies;
85
- isDisposed = false;
85
+ // private isDisposed = false
86
86
  /**
87
87
  * Create a new HealthMonitor instance with its own router and dependency map.
88
88
  */
@@ -315,7 +315,6 @@ var HealthMonitor = class {
315
315
  * - (future: could also stop all dependency monitors)
316
316
  */
317
317
  dispose() {
318
- this.isDisposed = true;
319
318
  for (const dependency of this.dependencies.values()) {
320
319
  dependency.dispose();
321
320
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/health-check",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -21,12 +21,12 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@google-cloud/pubsub": "^5.2.0",
24
- "@testcontainers/gcloud": "^11.5.1",
25
- "@testcontainers/mockserver": "^11.5.1",
26
- "@testcontainers/redis": "^11.5.1",
24
+ "@testcontainers/gcloud": "^11.7.0",
25
+ "@testcontainers/mockserver": "^11.7.0",
26
+ "@testcontainers/redis": "^11.7.0",
27
27
  "mockserver-client": "^5.15.0",
28
28
  "supertest": "^7.1.4",
29
- "testcontainers": "^11.5.1",
29
+ "testcontainers": "^11.7.0",
30
30
  "tsconfig": "*"
31
31
  }
32
32
  }