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(
|
|
33
|
-
super(
|
|
32
|
+
constructor(alg) {
|
|
33
|
+
super(`${alg} is not an implemented algorithm`);
|
|
34
34
|
this.name = "JwtAlgorithmNotImplemented";
|
|
35
35
|
}
|
|
36
36
|
}
|
package/dist/utils/jwt/types.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/utils/jwt/types.ts
|
|
2
2
|
var JwtAlgorithmNotImplemented = class extends Error {
|
|
3
|
-
constructor(
|
|
4
|
-
super(
|
|
3
|
+
constructor(alg) {
|
|
4
|
+
super(`${alg} is not an implemented algorithm`);
|
|
5
5
|
this.name = "JwtAlgorithmNotImplemented";
|
|
6
6
|
}
|
|
7
7
|
};
|