File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
# changelog
2
2
3
+ ## 0.1.22
4
+
5
+ * Increase agent and widget timeouts
6
+
3
7
## 0.1.21
4
8
5
9
* Improve performance by throttling stack trace generation.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @friendlycaptcha/sdk" ,
3
- "version" : " 0.1.21 " ,
3
+ "version" : " 0.1.22 " ,
4
4
"description" : " In-browser SDK for Friendly Captcha v2" ,
5
5
"main" : " dist/sdk.js" ,
6
6
"type" : " module" ,
Original file line number Diff line number Diff line change @@ -289,7 +289,8 @@ export class FriendlyCaptchaSDK {
289
289
* @internal
290
290
*/
291
291
private getRetryTimeout ( retryLoadCounter : number ) {
292
- return Math . pow ( retryLoadCounter , 1.8 ) * 1000 + 2000 ;
292
+ // 1st timeout = 5 secs, 5th timeout = 29 secs, sum of all timeouts = 75 secs
293
+ return Math . pow ( retryLoadCounter , 2 ) * 1000 + 4000 ;
293
294
}
294
295
295
296
/**
You can’t perform that action at this time.
0 commit comments