@unchainedshop/api 4.6.2 → 4.8.0

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/lib/auth.js +1 -0
  2. package/package.json +1 -1
package/lib/auth.js CHANGED
@@ -73,6 +73,7 @@ export async function verifyLocalToken(token) {
73
73
  logger.debug('Token expired');
74
74
  }
75
75
  else if (error instanceof jose.errors.JWTInvalid ||
76
+ error instanceof jose.errors.JWSInvalid ||
76
77
  error instanceof jose.errors.JWSSignatureVerificationFailed ||
77
78
  error instanceof jose.errors.JWTClaimValidationFailed) {
78
79
  logger.debug('Invalid token signature or claims');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unchainedshop/api",
3
3
  "description": "GraphQL API layer for the Unchained Engine with Express/Fastify adapters and MCP server",
4
- "version": "4.6.2",
4
+ "version": "4.8.0",
5
5
  "main": "lib/api-index.js",
6
6
  "types": "lib/api-index.d.ts",
7
7
  "type": "module",