hono 3.7.0-rc.2 → 3.7.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.
@@ -29,8 +29,8 @@ __export(types_exports, {
29
29
  });
30
30
  module.exports = __toCommonJS(types_exports);
31
31
  class JwtAlgorithmNotImplemented extends Error {
32
- constructor(token) {
33
- super(`invalid JWT token: ${token}`);
32
+ constructor(alg) {
33
+ super(`${alg} is not an implemented algorithm`);
34
34
  this.name = "JwtAlgorithmNotImplemented";
35
35
  }
36
36
  }
@@ -1,5 +1,5 @@
1
1
  export declare class JwtAlgorithmNotImplemented extends Error {
2
- constructor(token: string);
2
+ constructor(alg: string);
3
3
  }
4
4
  /**
5
5
  * Export for backward compatibility
@@ -1,7 +1,7 @@
1
1
  // src/utils/jwt/types.ts
2
2
  var JwtAlgorithmNotImplemented = class extends Error {
3
- constructor(token) {
4
- super(`invalid JWT token: ${token}`);
3
+ constructor(alg) {
4
+ super(`${alg} is not an implemented algorithm`);
5
5
  this.name = "JwtAlgorithmNotImplemented";
6
6
  }
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hono",
3
- "version": "3.7.0-rc.2",
3
+ "version": "3.7.0",
4
4
  "description": "Ultrafast web framework for the Edges",
5
5
  "main": "dist/cjs/index.js",
6
6
  "type": "module",