ecrs-auth-core 1.0.78 → 1.0.79

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.
@@ -139,6 +139,7 @@ let AuthController = class AuthController {
139
139
  getClientIp(request) {
140
140
  let ip = '';
141
141
  // Check X-Forwarded-For header (most common with proxies)
142
+ console.log('Headers:', request.headers);
142
143
  const xForwardedFor = request.headers['x-forwarded-for'];
143
144
  if (xForwardedFor) {
144
145
  const ips = Array.isArray(xForwardedFor)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecrs-auth-core",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "description": "Centralized authentication and authorization module for ECRS apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",