|
56af2e57aa
|
chore: build to commonjs
|
2021-07-05 07:41:11 +03:00 |
|
|
0f34ac9182
|
chore: fix use client response type
|
2021-06-24 21:59:15 +03:00 |
|
|
163822a49f
|
feat: add clear request store
|
2021-06-23 02:31:42 +03:00 |
|
|
39d80815c9
|
refac!: change accessibility for request hook
BREAKING CHANGES:
now only endpoints with method without side-effects (HEAD, GET)
can be used in `useRequest` hook.
style: change type to interface
|
2021-06-23 02:14:20 +03:00 |
|
|
1a8ed09d85
|
Merge pull request #30 from pleshevskiy/bug-29
refac: move abort controller to lazy request hook
|
2021-06-22 22:55:13 +03:00 |
|
|
f109d87b41
|
refac: move abort controller to lazy request hook
|
2021-06-22 22:48:22 +03:00 |
|
|
807493a5e3
|
bump version
|
2021-06-18 01:06:23 +03:00 |
|
|
acddd23634
|
fix: use force param only request hook
|
2021-06-18 01:01:30 +03:00 |
|
|
3c1582ef9f
|
feat: add response to state
|
2021-06-17 22:43:29 +03:00 |
|
|
3d8898f333
|
chore: type in description
|
2021-06-15 12:06:35 +03:00 |
|
|
4ddc6fb420
|
fix: don't get json from error
|
2021-06-15 12:04:30 +03:00 |
|
|
6249d0bde9
|
fix: try to get json data from error
|
2021-06-15 00:11:58 +03:00 |
|
|
00308d6718
|
chore: some cosmetic changes
|
2021-05-16 23:19:02 +03:00 |
|
|
304611fb53
|
fix: typo in invariant
|
2021-05-16 23:18:41 +03:00 |
|
|
a1193cee47
|
style: rename files
|
2021-05-16 23:18:41 +03:00 |
|
|
b4a3d79b6a
|
Update issue templates
|
2021-03-26 11:10:09 +03:00 |
|
|
c43df16fef
|
doc: add features section to readme
|
2020-12-23 05:33:28 +03:00 |
|
|
0ea4541618
|
Merge pull request #28 from pleshevskiy/task-26
feat: add request cancelation
|
2020-12-23 04:16:48 +02:00 |
|
|
f4bfa34466
|
chore: add example for request cancelation
|
2020-12-23 05:16:09 +03:00 |
|
|
7683c20a2e
|
feat: add request cancelation
Closes #26
|
2020-12-23 05:16:03 +03:00 |
|
|
68d379d3c5
|
chore: bump version
|
2020-12-23 00:29:12 +03:00 |
|
|
7df0c94f3e
|
Merge branch 'next'
|
2020-12-23 00:28:45 +03:00 |
|
|
edc88a64ff
|
fix: change default params type to unknown
|
2020-12-23 00:18:55 +03:00 |
|
|
e762303d04
|
chore: bump version
|
2020-12-23 00:06:25 +03:00 |
|
|
beba6445a2
|
fix: extracting type conflicts
|
2020-12-23 00:03:45 +03:00 |
|
|
79b404cd28
|
chore: bump version
|
2020-12-20 16:18:41 +03:00 |
|
|
a7d045d180
|
chore: move react to peer dependencies
|
2020-12-20 16:17:25 +03:00 |
|
|
83605adee1
|
chore: move react to peer dependencies
|
2020-12-20 16:16:56 +03:00 |
|
|
e0dd752b9a
|
chore: bump version
|
2020-12-20 12:26:55 +03:00 |
|
|
70da8b3ad0
|
Merge pull request #23 from pleshevskiy/task-22
feat: add refetch function to hooks state
|
2020-12-20 11:25:24 +02:00 |
|
|
a1afb6b599
|
feat: add refetch function to hooks state
Closes #22
|
2020-12-19 17:03:49 +03:00 |
|
|
d4e83748c3
|
Merge pull request #25 from pleshevskiy/task-24
feat: extract types from endpoint
|
2020-12-19 12:27:25 +02:00 |
|
|
651e09bc31
|
feat: extract types from endpoint
chore: change example and readme
Closes #24
|
2020-12-19 13:26:22 +03:00 |
|
|
96c7ea554c
|
chore: bump version
|
2020-12-08 10:40:55 +03:00 |
|
|
8a87c9af14
|
Merge pull request #21 from pleshevskiy/bug-20
fix: use window location as base url
|
2020-12-08 09:35:48 +02:00 |
|
|
49aac94675
|
fix: use window location as base url
chore: add dist folder to repo
chore(deps): add node-fetch for tests
chore: change prepare request visibility
chore: add tests for prepare request method
chore: update example
Closes #20
|
2020-12-08 10:35:18 +03:00 |
|
|
817b8e46ad
|
chore: bump package version
|
2020-11-20 23:56:43 +03:00 |
|
|
0c3cb11c13
|
doc: add information about license
|
2020-11-20 23:48:43 +03:00 |
|
|
fd7e7c7585
|
Merge pull request #19 from pleshevskiy/task-3
feat(endpoint): add head method
|
2020-11-20 19:05:01 +02:00 |
|
|
c848b0c785
|
feat!: transform endpoint data before state
BREAKING CHANGES: Endpoint now required response, variables and
params types
Closes #3
|
2020-11-20 20:01:24 +03:00 |
|
|
b944725e07
|
chore: add is function helper
|
2020-11-20 19:44:02 +03:00 |
|
|
078b5c1a3a
|
feat(endpoint): add head method
Closes #17
|
2020-11-20 19:09:29 +03:00 |
|
|
4795bb3cbc
|
chore: add feature request issue template
|
2020-11-06 06:52:42 +03:00 |
|
|
1eafe8bc44
|
chore: add template for bugs
|
2020-11-06 06:48:21 +03:00 |
|
|
be9f9b6da3
|
chore: add mit licence
|
2020-11-06 06:48:04 +03:00 |
|
|
cf2bc7f917
|
chore: add code of conduct
|
2020-11-06 06:47:52 +03:00 |
|
|
a46dc77297
|
chore: bump version
|
2020-11-06 05:06:05 +03:00 |
|
|
7457fc1b75
|
chore: add keywords
|
2020-11-06 05:05:37 +03:00 |
|
|
e812d4e077
|
chore: remove target folder before build
|
2020-11-06 05:04:44 +03:00 |
|
|
e3a0989944
|
chore: bump version
|
2020-11-06 05:00:14 +03:00 |
|