Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This pull request introduces a new feature for automatic authentication token refresh in the Switcher Deno client, along with several supporting improvements and dependency updates. The most significant change is the addition of the
autoRefreshTokenoption, which allows the client to automatically refresh its authentication token before it expires, improving reliability for long-running applications. The update also includes enhancements to documentation, test coverage for the new feature, and updates to dependencies and CI configurations.New Feature: Automatic Authentication Token Refresh
autoRefreshTokenoption to the client configuration, enabling automatic background refresh of the authentication token before it expires. This includes logic to schedule token refresh, handle failures gracefully, and a mechanism to terminate the refresh process if needed. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Documentation Updates
README.mdto document the newautoRefreshTokenoption, including usage examples and configuration table. Also refreshed project badges and branding images. (F3f0dec7L3R3, [1] [2]Test Coverage
autoRefreshTokenfeature, including scenarios for successful refresh, disabled refresh, and refresh failure. [1] [2]Dependency and CI/CD Updates
2.8.0in the development container, GitHub Actions workflows, and test matrix. [1] [2] [3] [4]2.5.0indeno.jsoncandsonar-project.properties. [1] [2]Other Improvements
NodeJS.Timeoutfor consistency and correctness. [1] [2] [3]IMPORTANT
Dropped support for Deno v1