Skip to content

Commit 34b35df

Browse files
author
Evan Greer
committed
updates changelog
1 parent 95e263a commit 34b35df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## 6.4.16
66
### 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.
89

910
### Changed
1011
- updates `sendRequest` in `RequestProcessorUtil` to retry the API request that resulted in a 401 response upon receipt of a new JWT
1112
- 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.
1214

1315
## 6.4.15
1416
### Added

0 commit comments

Comments
 (0)