@ccci/micro-server 1.0.93 → 1.0.94

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 +1 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -113667,6 +113667,7 @@ function generate(payload) {
113667
113667
  return import_jsonwebtoken.default.sign(payload, SECRET_KEY, { expiresIn: EXPIRY, issuer: ISSUER });
113668
113668
  }
113669
113669
  function verify(token) {
113670
+ console.log("process.env.JWT_SECRET_KEY :>> ", process.env.JWT_SECRET_KEY);
113670
113671
  let decoded = import_jsonwebtoken.default.verify(token, SECRET_KEY);
113671
113672
  if (decoded.iss !== ISSUER) {
113672
113673
  throw new Error("Token Issuer is not valid");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",