@gjermundgaraba/clankerauth-sdk 0.26.2 → 0.26.3
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/verify.js +3 -3
- package/package.json +2 -2
package/dist/verify.js
CHANGED
|
@@ -37,9 +37,9 @@ const documentLifetime = Duration.minutes(1);
|
|
|
37
37
|
*/
|
|
38
38
|
const cooldown = Duration.seconds(5);
|
|
39
39
|
/**
|
|
40
|
-
* How long each fetch of a key list read may take
|
|
41
|
-
*
|
|
42
|
-
*
|
|
40
|
+
* How long each fetch of a key list read may take: the list, and the JWKS it is verified with
|
|
41
|
+
* when none is held. Under `Resource`'s five-second deadline, so an issuer that stops answering
|
|
42
|
+
* fails the read, not the request, and a held list still decides.
|
|
43
43
|
*/
|
|
44
44
|
const listReadTimeout = Duration.seconds(3);
|
|
45
45
|
const deadline = (operation) => (effect) => Effect.timeoutOrElse(effect, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjermundgaraba/clankerauth-sdk",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.3",
|
|
4
4
|
"description": "Effect-native clankerauth access-token and offline API-key verification, with optional effect-actions integration",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"jose": "6.2.
|
|
50
|
+
"jose": "6.2.13",
|
|
51
51
|
"oauth4webapi": "3.8.8",
|
|
52
52
|
"proper-lockfile": "4.1.2"
|
|
53
53
|
},
|