amplify-js
amplify-js copied to clipboard
fix(aws-amplify/auth): debouncing get user session calls
Description of changes
Rebasing the fix/auth-debouncing branch to main. Code author - Francisco Changes allow for debouncing getSession API calls
Issue #, if available
Description of how you validated changes
yarn test
Checklist
- [x] PR description included
- [x]
yarn test
passes - [ ] Tests are changed or added
- [ ] Relevant documentation is changed or added (and PR referenced)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Codecov Report
Merging #10195 (ff40244) into main (74383d7) will increase coverage by
0.01%
. The diff coverage is96.66%
.
@@ Coverage Diff @@
## main #10195 +/- ##
==========================================
+ Coverage 84.28% 84.29% +0.01%
==========================================
Files 256 256
Lines 18527 18533 +6
Branches 3981 3982 +1
==========================================
+ Hits 15615 15623 +8
+ Misses 2822 2820 -2
Partials 90 90
Impacted Files | Coverage Δ | |
---|---|---|
packages/auth/src/Auth.ts | 87.19% <96.66%> (+0.23%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Replaced by https://github.com/aws-amplify/amplify-js/pull/10553