node-auth0
node-auth0 copied to clipboard
Fix default retry limit description
Changes
The RetryConfiguration interface previously mentioned a default of 3 retries for failing requests, while the maxRetries property description stated a default of 5, creating a mismatch. To simplify maintenance, I removed the default value note from the interface so that the single source of truth is the maxRetries description.
I also corrected the maxRetries default value in its description to 3 (not 5), aligning it with the DEFAULT_NUMBER_RETRIES constant: https://github.com/auth0/node-auth0/blob/v4.26.0/src/lib/retry.ts#L3
Hi @bennycode
Thank you for raising the PR. We kindly request you to update your PR with latest changes.
Thank you!!