From 34b35df374709074c1794a75fc30b73454a7b4ae Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Mon, 13 Nov 2023 14:34:08 -0700 Subject: [PATCH] updates changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30a86207f..2c7849733 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,13 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## 6.4.16 ### Added -- `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 +- `sendRequestWithRetries` function added as part of the `NetworkHelperclass` +- 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. ### Changed - updates `sendRequest` in `RequestProcessorUtil` to retry the API request that resulted in a 401 response upon receipt of a new JWT - updates `NetworkHelper` class logic to use `sendRequestWithRetries`method which wraps the original `networkSession.makeRequest` +- 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. ## 6.4.15 ### Added