amplify-js icon indicating copy to clipboard operation
amplify-js copied to clipboard

fix(aws-amplify/auth): debouncing get user session calls

Open Samaritan1011001 opened this issue 2 years ago • 1 comments

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.

Samaritan1011001 avatar Aug 11 '22 21:08 Samaritan1011001

Codecov Report

Merging #10195 (ff40244) into main (74383d7) will increase coverage by 0.01%. The diff coverage is 96.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

codecov-commenter avatar Aug 11 '22 21:08 codecov-commenter

Replaced by https://github.com/aws-amplify/amplify-js/pull/10553

AllanZhengYP avatar Oct 27 '22 19:10 AllanZhengYP