@darthcav/ts-utils 0.6.0 → 0.8.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.
Files changed (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -50,11 +50,12 @@ const logger = await getConsoleLogger("my-app", "debug")
50
50
  ### `main`
51
51
 
52
52
  Bootstraps an application process: logs startup information, optionally registers
53
- handlers for `SIGINT` and `SIGTERM` (controlled by `defaultInterruptionHandler`,
54
- defaults to `true`), always registers handlers for `uncaughtException` and
55
- `unhandledRejection`, then delegates to an optional launcher function. Set
56
- `defaultInterruptionHandler` to `false` when the application manages its own
57
- graceful shutdown (e.g. closing servers or database connections).
53
+ handlers for `SIGINT` and `SIGTERM` (controlled by
54
+ `defaultInterruptionHandler`, defaults to `true`), always registers handlers for
55
+ `uncaughtException` and `unhandledRejection`, then delegates to an optional
56
+ launcher function. Set `defaultInterruptionHandler` to `false` when the
57
+ application manages its own graceful shutdown (e.g. closing servers or database
58
+ connections).
58
59
 
59
60
  `defaultInterruptionHandler` can always be omitted — pass the launcher directly
60
61
  as the third argument. Use a closure inside the launcher to capture any
@@ -115,7 +116,7 @@ public/ # Documentation output (generated)
115
116
  [Apache-2.0](LICENSE)
116
117
 
117
118
  [node-version]: https://img.shields.io/badge/node-%3E%3D25-orange.svg?style=flat-square
118
- [version-image]: https://img.shields.io/badge/version-0.6.0-blue.svg?style=flat-square
119
+ [version-image]: https://img.shields.io/badge/version-0.8.0-blue.svg?style=flat-square
119
120
  [ci-badge]: https://github.com/darthcav/ts-utils/actions/workflows/tests.yml/badge.svg
120
121
  [coverage-badge]: https://img.shields.io/badge/coverage-check%20CI-yellow.svg?style=flat-square
121
122
  [pages-url]: https://darthcav.github.io/ts-utils/
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@darthcav/ts-utils",
3
3
  "description": "A collection of utility functions for TypeScript applications and modules",
4
- "version": "0.6.0",
4
+ "version": "0.8.0",
5
5
  "author": {
6
6
  "name": "darthcav"
7
7
  },