fiberx-backend-toolkit 1.0.11 → 1.0.13

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.
@@ -43,7 +43,7 @@ class EmailEnqueueProcessor {
43
43
  }
44
44
  }
45
45
  if (missing.length) {
46
- throw new Error(`Missing required email placeholders: ${missing.join(", ")}`);
46
+ throw new Error(`Missing required email placeholders: ${missing.join(", ")}, payload passed: ${payload}`);
47
47
  }
48
48
  }
49
49
  // ==============================
@@ -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.13",
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",
@@ -95,15 +95,15 @@
95
95
  "author": "David Matt-Ojo",
96
96
  "dependencies": {
97
97
  "@google-cloud/storage": "^7.21.0",
98
- "@types/nodemailer": "^8.0.0",
99
- "axios": "^1.17.0",
98
+ "@types/nodemailer": "^8.0.1",
99
+ "axios": "^1.18.0",
100
100
  "bcrypt": "^6.0.0",
101
101
  "dayjs": "^1.11.21",
102
102
  "ejs": "^6.0.1",
103
103
  "express": "^5.2.1",
104
104
  "js-yaml": "^4.2.0",
105
105
  "jsonwebtoken": "^9.0.3",
106
- "nodemailer": "^8.0.10",
106
+ "nodemailer": "^9.0.0",
107
107
  "sequelize": "^6.37.8",
108
108
  "uuid": "^14.0.0"
109
109
  },
@@ -114,9 +114,9 @@
114
114
  "@types/express": "^5.0.6",
115
115
  "@types/js-yaml": "^4.0.9",
116
116
  "@types/jsonwebtoken": "^9.0.10",
117
- "@types/node": "^25.9.2",
117
+ "@types/node": "^25.9.3",
118
118
  "cspell": "^10.0.1",
119
- "eslint": "^10.4.1",
119
+ "eslint": "^10.5.0",
120
120
  "globals": "^17.6.0",
121
121
  "prettier": "^3.8.4",
122
122
  "ts-node": "^10.9.2",
@@ -124,7 +124,7 @@
124
124
  "tsconfig-paths": "^4.2.0",
125
125
  "tsup": "^8.5.1",
126
126
  "typescript": "^6.0.3",
127
- "typescript-eslint": "^8.61.0"
127
+ "typescript-eslint": "^8.61.1"
128
128
  },
129
129
  "overrides": {
130
130
  "qs": "^6.15.2",
@@ -135,7 +135,7 @@
135
135
  },
136
136
  "allowScripts": {
137
137
  "bcrypt@6.0.0": true,
138
- "esbuild@0.27.7": true,
139
- "fsevents@2.3.3": true
138
+ "fsevents@2.3.3": true,
139
+ "esbuild@0.15.18": true
140
140
  }
141
141
  }