@darthcav/ts-http-server 0.0.1 → 0.1.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.
package/README.md CHANGED
@@ -112,7 +112,7 @@ public/ # Documentation output (generated)
112
112
  [Apache-2.0](LICENSE)
113
113
 
114
114
  [node-version]: https://img.shields.io/badge/node-%3E%3D25-orange.svg?style=flat-square
115
- [version-image]: https://img.shields.io/badge/version-0.0.1-blue.svg?style=flat-square
115
+ [version-image]: https://img.shields.io/badge/version-0.1.0-blue.svg?style=flat-square
116
116
  [ci-badge]: https://github.com/darthcav/ts-http-server/actions/workflows/tests.yml/badge.svg
117
117
  [coverage-badge]: https://img.shields.io/badge/coverage-check%20CI-yellow.svg?style=flat-square
118
118
  [pages-url]: https://darthcav.github.io/ts-http-server/
@@ -11,7 +11,7 @@ import type { FastifyReply, FastifyRequest } from "fastify";
11
11
  * fastify.addHook("preHandler", preHandler)
12
12
  * ```
13
13
  *
14
- * Uses `request.log.info` so each log record is automatically correlated with
14
+ * Uses `request.log.debug` so each log record is automatically correlated with
15
15
  * the request ID assigned by Fastify.
16
16
  */
17
17
  export default function preHandler(request: FastifyRequest, _reply: FastifyReply): Promise<void>;
@@ -10,7 +10,7 @@
10
10
  * fastify.addHook("preHandler", preHandler)
11
11
  * ```
12
12
  *
13
- * Uses `request.log.info` so each log record is automatically correlated with
13
+ * Uses `request.log.debug` so each log record is automatically correlated with
14
14
  * the request ID assigned by Fastify.
15
15
  */
16
16
  export default async function preHandler(request, _reply) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@darthcav/ts-http-server",
3
3
  "description": "A TypeScript HTTP server for Node.js >= 25",
4
- "version": "0.0.1",
4
+ "version": "0.1.0",
5
5
  "author": {
6
6
  "name": "darthcav"
7
7
  },
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "repository": {
54
54
  "type": "git",
55
- "url": "git@github.com:darthcav/ts-http-server.git"
55
+ "url": "git+https://github.com/darthcav/ts-http-server.git"
56
56
  },
57
57
  "engines": {
58
58
  "node": ">=25"
@@ -12,7 +12,7 @@ import type { FastifyReply, FastifyRequest } from "fastify"
12
12
  * fastify.addHook("preHandler", preHandler)
13
13
  * ```
14
14
  *
15
- * Uses `request.log.info` so each log record is automatically correlated with
15
+ * Uses `request.log.debug` so each log record is automatically correlated with
16
16
  * the request ID assigned by Fastify.
17
17
  */
18
18
  export default async function preHandler(
@@ -1,3 +1,3 @@
1
1
  # Public directory
2
2
 
3
- Placeholder directory for static files.
3
+ Static files served by `@fastify/static`: `css/` and `images/`.
@@ -1,3 +1,3 @@
1
1
  # Views directory
2
2
 
3
- Placeholder directory for views files.
3
+ EJS view templates used by `@fastify/view`: `index.ejs` (home page) and `_error.ejs` (error page).