Skip to content

Commit f2ba0b6

Browse files
author
Roger Urscheler
committed
Fix endless loop in renewToken for Client Credentials
1 parent 7379db8 commit f2ba0b6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

circuit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58285,7 +58285,7 @@ var Circuit = (function (circuit) {
5828558285
// maximum of 2147483647 (24 days). Only for client credentials grant.
5828658286
_oauthRenewTokenTimer && window.clearTimeout(_oauthRenewTokenTimer);
5828758287
var duration = _expiresAt - Date.now() - (60 * 1000);
58288-
duration = Math.min(2147483648, duration);
58288+
duration = Math.min(2147483647, duration);
5828958289
if (duration > 0) {
5829058290
_oauthRenewTokenTimer = window.setTimeout(renewToken, duration);
5829158291
}

circuit.min.js

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

package-lock.json

+1-1
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
@@ -1,6 +1,6 @@
11
{
22
"name": "circuit-sdk",
3-
"version": "1.2.7003",
3+
"version": "1.2.7005",
44
"description": "Circuit SDK",
55
"main": "circuit-node.js",
66
"scripts": {

0 commit comments

Comments
 (0)