@alien_org/auth-client 0.1.0 → 0.1.2

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.
package/dist/index.cjs CHANGED
@@ -1231,7 +1231,7 @@ var AuthClient = class {
1231
1231
  this.jwks = jwks;
1232
1232
  }
1233
1233
  async verifyToken(accessToken) {
1234
- const { payload } = await jwtVerify(accessToken, this.jwks, { algorithms: ["RS256"] });
1234
+ const { payload } = await jwtVerify(accessToken, this.jwks, { algorithms: ["RS256", "EdDSA"] });
1235
1235
  return TokenInfoSchema.parse(payload);
1236
1236
  }
1237
1237
  };
package/dist/index.mjs CHANGED
@@ -1231,7 +1231,7 @@ var AuthClient = class {
1231
1231
  this.jwks = jwks;
1232
1232
  }
1233
1233
  async verifyToken(accessToken) {
1234
- const { payload } = await jwtVerify(accessToken, this.jwks, { algorithms: ["RS256"] });
1234
+ const { payload } = await jwtVerify(accessToken, this.jwks, { algorithms: ["RS256", "EdDSA"] });
1235
1235
  return TokenInfoSchema.parse(payload);
1236
1236
  }
1237
1237
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alien_org/auth-client",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",