7 Commits

Author SHA1 Message Date
Mark Hebden
b222e633f5
feat: update to support axios 1.x (#1418)
* feat: update to support axios 1.x

Updated the following packages too:
 - LRUCache
 - jest
 - ts-jest
 - prettier
 - typescript

* feat: migrate from legacy cancel token to abort controller

* chore: update axios peer dependency

---------

Co-authored-by: Mark Hebden <mark.hebden@airelogic.com>
2023-09-13 21:47:50 +02:00
Simone Busoli
2b0e9a58ed feat: support multiple instances of useAxios configured independently
See README for details about how to use the feature: https://github.com/simoneb/axios-hooks/#multiple-hook-instances

fix #98
2019-11-30 22:48:26 +01:00
Simone Busoli
307c7c1565 fix: do not dispatch state updates when requests are cancelled
fix #74
2019-11-10 18:01:00 +01:00
Simone Busoli
459c1e2d09 test: add names to jest projects for better output and add commit script 2019-11-10 15:48:09 +01:00
Simone Busoli
88829b0206 fix: do not execute manual requests on server 2019-10-19 17:24:01 +02:00
Simone Busoli
076f89a267 refactor: Add tests to check that typescript definitions are correct
Fixes #23
2019-08-05 19:48:20 +02:00
Simone Busoli
a1412a584f test: Add tests 2019-05-26 20:57:42 +02:00