fiberx-backend-toolkit 1.0.11 → 1.0.12

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.
@@ -90,7 +90,7 @@ class AuthenticationMiddleWare {
90
90
  }
91
91
  const has_permission = await this.validateHasPermission(request_info, req);
92
92
  if (!has_permission) {
93
- this.logger.info(`[${this.name}] ⛔ Permission denied for request ${req.request_id} with required permission ${permission_name}`);
93
+ this.logger.error(`[${this.name}] ⛔ Permission denied for request ${req.request_id} with required permission ${permission_name}`);
94
94
  return res.errResponse(403, "unauthorized_access_permission");
95
95
  }
96
96
  this.logger.success(`[${this.name}] ✅ Permission granted for request ${req.request_id} with required permission ${permission_name}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fiberx-backend-toolkit",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "A TypeScript backend toolkit providing shared domain logic, infrastructure helpers, and utilities for FiberX server-side applications and services.",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",