@ccci/micro-server 1.0.54 → 1.0.56

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -113704,12 +113704,10 @@ class RouterFactory {
113704
113704
  }
113705
113705
  static authenticate(req, res, next, grantPublicAccess = false) {
113706
113706
  try {
113707
- console.log("req.body", req.body);
113708
113707
  let bearerToken = req.headers.authorization;
113709
113708
  if (bearerToken && bearerToken != null && bearerToken != "null") {
113710
113709
  const token = bearerToken.split(" ")[1];
113711
113710
  let decoded = verify(token);
113712
- console.log("decoded", decoded);
113713
113711
  } else if (!grantPublicAccess)
113714
113712
  return res.status(401).send({ success: false, error: 1004, errorMessage: "Unauthorized. No access token found on the request." });
113715
113713
  next();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.54",
3
+ "version": "1.0.56",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",