@nmtjs/core 0.14.1 → 0.14.2

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/container.js CHANGED
@@ -303,7 +303,7 @@ export class Container {
303
303
  await dispose(instance, context);
304
304
  }
305
305
  else if (isClassInjectable(injectable)) {
306
- await instance[kClassInjectableDispose]();
306
+ await instance[kClassInjectableDispose]?.();
307
307
  }
308
308
  }
309
309
  }
package/package.json CHANGED
@@ -16,22 +16,22 @@
16
16
  "peerDependencies": {
17
17
  "pino": "^9.6.0",
18
18
  "pino-pretty": "^13.0.0",
19
- "@nmtjs/common": "0.14.1",
20
- "@nmtjs/type": "0.14.1"
19
+ "@nmtjs/type": "0.14.2",
20
+ "@nmtjs/common": "0.14.2"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^20",
24
24
  "pino": "^9.6.0",
25
25
  "pino-pretty": "^13.0.0",
26
- "@nmtjs/type": "0.14.1",
27
- "@nmtjs/common": "0.14.1"
26
+ "@nmtjs/common": "0.14.2",
27
+ "@nmtjs/type": "0.14.2"
28
28
  },
29
29
  "files": [
30
30
  "dist",
31
31
  "LICENSE.md",
32
32
  "README.md"
33
33
  ],
34
- "version": "0.14.1",
34
+ "version": "0.14.2",
35
35
  "scripts": {
36
36
  "build": "tsc",
37
37
  "type-check": "tsc --noEmit"