@concavejs/docstore-cf-do 0.0.1-alpha.6 → 0.0.1-alpha.7
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.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5602,6 +5602,8 @@ function decodeJwtClaimsToken(token) {
|
|
|
5602
5602
|
return null;
|
|
5603
5603
|
}
|
|
5604
5604
|
}
|
|
5605
|
+
var DEFAULT_JWKS_CACHE_TTL_MS = 5 * 60 * 1000;
|
|
5606
|
+
var MAX_JWKS_CACHE_TTL_MS = 24 * 60 * 60 * 1000;
|
|
5605
5607
|
var JWKS_CACHE = new Map;
|
|
5606
5608
|
function decodeJwtUnsafe(token) {
|
|
5607
5609
|
if (!token)
|