Skip to content

Commit 95a2a55

Browse files
committed
Bump jose version
1 parent c2e8c32 commit 95a2a55

File tree

4 files changed

+45
-18
lines changed

4 files changed

+45
-18
lines changed

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
20

package-lock.json

+42-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"body-parser": "^1.20.0",
3333
"dotenv": "^16.0.0",
3434
"express": "^4.17.3",
35-
"jose": "^4.9.2",
35+
"jose": "^5.7.0",
3636
"json-rpc-2.0": "^1.4.1",
3737
"lodash": "^4.17.21",
3838
"uuid": "^8.3.2",

src/jwtTools.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class TypedToken<T> {
109109
}
110110

111111
export class AuthToken<T> {
112-
private readonly issuerKeys: Record<string, ReturnType<typeof jose.createRemoteJWKSet>>;
112+
private readonly issuerKeys: Record<string, ReturnType<typeof jose.createLocalJWKSet>>;
113113
constructor(
114114
private readonly jwtTools: JwtTools,
115115
whitelistedIssuers: Record<string, string | jose.JSONWebKeySet>

0 commit comments

Comments
 (0)