@sourceregistry/node-jwt 1.5.1 → 1.5.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/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -169,7 +169,7 @@ const rsaKeys = await jwks.find({ kty: 'RSA' });
|
|
|
169
169
|
const firstSigKey = await jwks.findFirst({ use: 'sig' });
|
|
170
170
|
|
|
171
171
|
// Force refresh
|
|
172
|
-
await jwks.
|
|
172
|
+
await jwks.refresh();
|
|
173
173
|
|
|
174
174
|
// Access cached JWKS snapshot
|
|
175
175
|
const current = jwks.export();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sourceregistry/node-jwt",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "A lightweight, zero-dependency TypeScript library for creating, verifying and decoding JSON Web Tokens (JWT).",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|