-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: maintain reference to refresh-promise to avoid repetitive calls (…
…#7) * feat: maintain reference to refresh-promise to avoid repetitive calls when a promise exists note: refresh calls were made even if the tokens were updated recently and lock was released recently * update: use prod-env for releases on `main` branch * update: mark `refreshTokenPromise` as private * chore: break out of wait-loop @ getAccessToken --------- Co-authored-by: paras-verma <paras.19508@sscbs.du.ac.in> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
30835f9
commit 62b4e58
Showing
4 changed files
with
35 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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