powr-sdk-api 4.1.3 → 4.1.5

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.
@@ -35,14 +35,12 @@ const verifyToken = async (req, res, next) => {
35
35
 
36
36
  // Verify JWT token
37
37
  const decoded = jwt.verify(token, config.jwtToken);
38
- console.log("🔐 JWT Token verification successful");
39
38
  console.log("JWT Decoded user data:", JSON.stringify(decoded, null, 2));
40
39
  req.user = {
41
40
  powrId: decoded.userId,
42
41
  fullName: decoded.fullName,
43
42
  access: decoded.access
44
43
  };
45
- console.log("👤 User object set on request:", JSON.stringify(req.user, null, 2));
46
44
  next();
47
45
  } catch (error) {
48
46
  console.error("Error in auth middleware:", error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powr-sdk-api",
3
- "version": "4.1.3",
3
+ "version": "4.1.5",
4
4
  "description": "Shared API core library for PowrStack projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",