@heyhru/app-dms-server 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +3 -4
package/dist/index.js CHANGED
@@ -670,7 +670,7 @@ async function buildApp() {
670
670
  req.log.error(error, "Unhandled request error");
671
671
  done();
672
672
  });
673
- app.get("/health", (_req, reply) => reply.send({ status: "ok" }));
673
+ app.get("/health", { logLevel: "silent" }, (_req, reply) => reply.send({ status: "ok" }));
674
674
  authController(app);
675
675
  userController(app);
676
676
  datasourceController(app);
@@ -700,7 +700,7 @@ CREATE TABLE IF NOT EXISTS users (
700
700
 
701
701
  INSERT INTO users (id, username, email, password_hash, role)
702
702
  VALUES (
703
- 'admin-seed-id-0000000000000000',
703
+ '00000000-0000-0000-0000-000000000001',
704
704
  'admin',
705
705
  'admin@example.com',
706
706
  '178c20236d9629bffcb301f57d1b8383:40c49d6500a8f322754ac0cd2d5c9dea019a4c14feef60e436d767cc2dd44bc1eeee7ef16f1bd768260aeec4025e06c479c4c367537899002ec89962382a3104',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.3.0",
6
+ "version": "0.3.2",
7
7
  "description": "DMS backend API server built on Fastify",
8
8
  "type": "module",
9
9
  "main": "./dist/index.mjs",
@@ -18,10 +18,9 @@
18
18
  "clean": "rm -rf dist"
19
19
  },
20
20
  "dependencies": {
21
- "@fastify/cookie": "^11.0.2",
22
21
  "@fastify/cors": "^11.0.0",
23
22
  "@heyhru/business-dms-user": "0.3.0",
24
- "@heyhru/common-util-logger": "0.3.0",
23
+ "@heyhru/common-util-logger": "0.3.2",
25
24
  "@heyhru/server-plugin-jwt": "0.3.0",
26
25
  "@heyhru/server-plugin-mysql": "0.3.0",
27
26
  "@heyhru/server-plugin-pg": "0.3.0",
@@ -37,5 +36,5 @@
37
36
  "typescript": "^6.0.2",
38
37
  "vitest": "^4.1.2"
39
38
  },
40
- "gitHead": "577a6d89e51ac836bf14d9e6d12eeb61d1b17939"
39
+ "gitHead": "2d1a5a7ebc9d860d77554f7cdc12832e40bf078f"
41
40
  }