-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(axios): implement etag functionality (#765)
* chore(axios): upgrade axios to 0.24 and add axios cache interceptor pin axios to only allow minor patch upgrades, and pin the version of interceptor exactly. this is because there is a support table [here](https://axios-cache-interceptor.js.org/guide/getting-started) that lists the compat and we require at least 0.6.x for ETag support. in order to prevent versioning errors (0.8.4 of interceptor works wtih 0.25 of axios!!), we will pin the exact version of interceptor + patch version of axios * feat(axiosinstance): add initialisation code * chore(package): lock versions * fix(axiosinstance): update config for cache interceptor
- Loading branch information
1 parent
b74434b
commit 5b0a50f
Showing
3 changed files
with
78 additions
and
17 deletions.
There are no files selected for viewing
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