adminforth 1.1.86 → 1.1.88

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 (3) hide show
  1. package/auth.ts +1 -0
  2. package/dist/auth.js +1 -0
  3. package/package.json +1 -1
package/auth.ts CHANGED
@@ -84,6 +84,7 @@ class AdminForthAuth {
84
84
  return null;
85
85
  }
86
86
  const { pk, t } = decoded;
87
+ process.env.HEAVY_DEBUG && console.log('🪲Decoded token:', decoded, 'orig token', jwtToken);
87
88
  if (t !== mustHaveType) {
88
89
  console.error(`Invalid token type during verification: ${t}, must be ${mustHaveType}`);
89
90
  return null;
package/dist/auth.js CHANGED
@@ -76,6 +76,7 @@ class AdminForthAuth {
76
76
  return null;
77
77
  }
78
78
  const { pk, t } = decoded;
79
+ process.env.HEAVY_DEBUG && console.log('🪲Decoded token:', decoded, 'orig token', jwtToken);
79
80
  if (t !== mustHaveType) {
80
81
  console.error(`Invalid token type during verification: ${t}, must be ${mustHaveType}`);
81
82
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.1.86",
3
+ "version": "1.1.88",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",