Arthur Fiorette
|
b35ae3e574
|
feat: storage abstractions (#52)
* refactor: better support for different storages
* test: updated tests
* feat: export AxiosStorage
* style: fix linting
|
2021-11-11 16:25:51 -03:00 |
|
Hazork
|
76a8af7433
|
feat: immutable cache support
|
2021-11-11 14:26:27 -03:00 |
|
Arthur Fiorette
|
92b9ed7abf
|
feat: more headers supports, tests and must-revalidate fix (#51)
* feat: must-revalidate and headers enum
* test: added more tests
* test: test and code fixes
* test: more tests
|
2021-11-11 14:16:37 -03:00 |
|
Hazork
|
6e6100b86a
|
fix: fixed isCacheValid function and added tests
|
2021-10-25 15:58:04 -03:00 |
|
Hazork
|
b42d3f13d7
|
refactor: more type and naming refactors
|
2021-10-12 19:58:00 -03:00 |
|
Hazork
|
75deccf57d
|
feat: preserve response status codes and use response.cached
|
2021-10-12 12:12:32 -03:00 |
|
Hazork
|
0605ad8c9f
|
refactor: eslint more strict
|
2021-10-12 09:24:26 -03:00 |
|
Hazork
|
2fa2557040
|
refactor: cacheUpdater as generic function
|
2021-10-12 09:19:59 -03:00 |
|
Hazork
|
49f80d78e4
|
tests: correct test name
|
2021-10-12 09:18:48 -03:00 |
|
Hazork
|
52689e24f4
|
fix: removed implict never
|
2021-10-09 14:36:36 -03:00 |
|
Hazork
|
f8adcc4352
|
fix: force import type to help compilation tools
|
2021-09-26 16:24:33 -03:00 |
|
Hazork
|
47349df09f
|
refactor: use the same object for both properties
|
2021-09-26 15:44:35 -03:00 |
|
Hazork
|
33b8dcd58b
|
refactor!: updated all exports
|
2021-09-21 12:01:47 -03:00 |
|
Hazork
|
5b6d14f314
|
refactor: removed symbol support and more tests
|
2021-09-20 12:20:35 -03:00 |
|
Hazork
|
70e5c07ff3
|
refactor: concurreny fixes and refactored deferred
Also changed format settings,
fixed AxiosResponse types
and coded more tests
|
2021-09-20 12:04:40 -03:00 |
|
Hazork
|
1490bfc30b
|
fix: concurrent requests not beeing cached
|
2021-09-19 20:14:44 -03:00 |
|
Hazork
|
6e61c0d5db
|
refactor: renamed status constants
|
2021-09-19 19:31:33 -03:00 |
|
Hazork
|
6075a0a960
|
fix: a bunch of tests
|
2021-09-19 19:29:05 -03:00 |
|
Hazork
|
84dc522b87
|
refactor: init request and response tests
|
2021-09-13 19:20:31 -03:00 |
|
Hazork
|
ee36bd57b0
|
refactor: more tests and fixes
|
2021-09-13 18:39:13 -03:00 |
|
Hazork
|
288c11849c
|
feat: interpreter also handles Expires header (and tests)
|
2021-09-13 17:46:26 -03:00 |
|
Hazork
|
be5ee1ea8b
|
refactor: ttl and createdAt instead of maxAge and storage takes care of staled entries
|
2021-09-13 16:05:37 -03:00 |
|
Hazork
|
b45fd54f69
|
docs: updated codecov badge token
|
2021-09-13 14:25:43 -03:00 |
|
Hazork
|
bb552c8182
|
tests: added cache predicate tests
|
2021-09-13 14:20:45 -03:00 |
|
Hazork
|
6972069e91
|
docs: fixed project name 🤣
|
2021-09-13 13:40:23 -03:00 |
|
Hazork
|
7975c58645
|
tests: added key generator tests
|
2021-09-13 13:39:31 -03:00 |
|
Hazork
|
d09b3add31
|
tests: added deferred tests
|
2021-09-13 13:08:40 -03:00 |
|
Hazork
|
2bbc9cb858
|
fix: fixed a log of bugs and added unit tests
|
2021-09-13 12:08:43 -03:00 |
|