@workos-inc/node 7.36.0 → 7.36.1

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.
@@ -62,7 +62,9 @@ class UserManagement {
62
62
  this.ironSessionProvider = ironSessionProvider;
63
63
  // Set the JWKS URL. This is used to verify if the JWT is still valid
64
64
  this.jwks = clientId
65
- ? (0, jose_1.createRemoteJWKSet)(new URL(this.getJwksUrl(clientId)))
65
+ ? (0, jose_1.createRemoteJWKSet)(new URL(this.getJwksUrl(clientId)), {
66
+ cooldownDuration: 1000 * 60 * 5,
67
+ })
66
68
  : undefined;
67
69
  }
68
70
  /**
package/lib/workos.js CHANGED
@@ -29,7 +29,7 @@ const subtle_crypto_provider_1 = require("./common/crypto/subtle-crypto-provider
29
29
  const fetch_client_1 = require("./common/net/fetch-client");
30
30
  const widgets_1 = require("./widgets/widgets");
31
31
  const actions_1 = require("./actions/actions");
32
- const VERSION = '7.36.0';
32
+ const VERSION = '7.36.1';
33
33
  const DEFAULT_HOSTNAME = 'api.workos.com';
34
34
  const HEADER_AUTHORIZATION = 'Authorization';
35
35
  const HEADER_IDEMPOTENCY_KEY = 'Idempotency-Key';
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "7.36.0",
2
+ "version": "7.36.1",
3
3
  "name": "@workos-inc/node",
4
4
  "author": "WorkOS",
5
5
  "description": "A Node wrapper for the WorkOS API",
@@ -72,4 +72,5 @@
72
72
  "default": "./lib/index.js"
73
73
  }
74
74
  }
75
- }
75
+ }
76
+