@forklaunch/hyper-express 0.9.29 → 0.9.30

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/lib/index.js CHANGED
@@ -502,6 +502,10 @@ Correlation id: ${(0, import_http13.isForklaunchRequest)(req) ? req.context.corr
502
502
  [import_http13.ATTR_HTTP_RESPONSE_STATUS_CODE]: statusCode ?? 500
503
503
  });
504
504
  });
505
+ this.internal.use("*", (req, res, next) => {
506
+ res.setHeader("X-Powered-By", "forklaunch");
507
+ next();
508
+ });
505
509
  if (this.schemaValidator instanceof import_zod.ZodSchemaValidator && this.mcpConfiguration !== false) {
506
510
  const {
507
511
  port: mcpPort,
package/lib/index.mjs CHANGED
@@ -496,6 +496,10 @@ Correlation id: ${isForklaunchRequest(req) ? req.context.correlationId : "No cor
496
496
  [ATTR_HTTP_RESPONSE_STATUS_CODE]: statusCode ?? 500
497
497
  });
498
498
  });
499
+ this.internal.use("*", (req, res, next) => {
500
+ res.setHeader("X-Powered-By", "forklaunch");
501
+ next();
502
+ });
499
503
  if (this.schemaValidator instanceof ZodSchemaValidator && this.mcpConfiguration !== false) {
500
504
  const {
501
505
  port: mcpPort,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/hyper-express",
3
- "version": "0.9.29",
3
+ "version": "0.9.30",
4
4
  "description": "Forklaunch framework for hyper-express.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -31,12 +31,12 @@
31
31
  "live-directory": "^3.0.3",
32
32
  "openapi3-ts": "^4.5.0",
33
33
  "qs": "^6.14.0",
34
- "swagger-ui-dist": "^5.29.5",
34
+ "swagger-ui-dist": "^5.30.0",
35
35
  "swagger-ui-express": "^5.0.1",
36
36
  "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.52.0",
37
- "@forklaunch/common": "0.6.20",
38
- "@forklaunch/core": "0.15.10",
39
- "@forklaunch/validator": "0.10.20"
37
+ "@forklaunch/validator": "0.10.21",
38
+ "@forklaunch/core": "0.15.11",
39
+ "@forklaunch/common": "0.6.21"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@eslint/js": "^9.38.0",
@@ -46,7 +46,7 @@
46
46
  "@types/qs": "^6.14.0",
47
47
  "@types/swagger-ui-dist": "^3.30.6",
48
48
  "@types/swagger-ui-express": "^4.1.8",
49
- "@typescript/native-preview": "7.0.0-dev.20251017.1",
49
+ "@typescript/native-preview": "7.0.0-dev.20251027.1",
50
50
  "jest": "^30.2.0",
51
51
  "kill-port-process": "^3.2.1",
52
52
  "prettier": "^3.6.2",
@@ -56,7 +56,7 @@
56
56
  "tsx": "^4.20.6",
57
57
  "typedoc": "^0.28.14",
58
58
  "typescript": "^5.9.3",
59
- "typescript-eslint": "^8.46.1"
59
+ "typescript-eslint": "^8.46.2"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsgo --noEmit && tsup index.ts --format cjs,esm --no-splitting --dts --tsconfig tsconfig.json --out-dir lib --clean",