You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
5
## 6.4.16
6
6
### Added
7
-
-`sendRequestWithRetries` function added as part of the `NetworkHelperclass` which automatically retries network request when a 500 and above status code is returned in the response
7
+
-`sendRequestWithRetries` function added as part of the `NetworkHelperclass`
8
+
- For an API request that results in a 500-level error response, the SDK now executes up to five retries. Before each of the final three attempts, there is a two-second delay.
8
9
9
10
### Changed
10
11
- updates `sendRequest` in `RequestProcessorUtil` to retry the API request that resulted in a 401 response upon receipt of a new JWT
11
12
- updates `NetworkHelper` class logic to use `sendRequestWithRetries`method which wraps the original `networkSession.makeRequest`
13
+
- When an API request fails with a 401 because of an invalid JWT token, the SDK now immediately requests a new JWT token for the signed-in user.
0 commit comments