Commit fda77e1
feat: xmlhttprequest interception (#153)
* adds interceptor skeleton for xmlhttprequest
* new approach to interception
* adds interceptor for sending and getting response
* implements things to do before sending the request
* adds a common handle response handler
* adds a lot of the code for handling response
* maybe fixes an issue with axios interceptor
* adds initial attempt at refreshing
* adds a few todos
* gets refreshing test to pass
* adds a todo
* adds logic for how to handle refresh returning session expired
* fixes more tests
* gets axios 2 tests to pass
* removes unnecessary function
* refactor: cleanup, minor fixes and re-enabling tests
* feat: re-added init check into attemptRefreshingSession
* feat(XHR): intercept angular httpclient and add generic tests
* feat(XHR interception): finishing tests & fixes
* chore: update changelog, size limit + remove unused func
Co-authored-by: Mihaly Lengyel <[email protected]>1 parent 15e332c commit fda77e1
File tree
31 files changed
+56780
-325
lines changed- bundle
- lib
- build
- utils
- ts
- utils
- test
- server
- angular
31 files changed
+56780
-325
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments