Skip to content

Commit 96bdd09

Browse files
committed
Merge conflicts
2 parents 70c1c00 + 486061b commit 96bdd09

File tree

4 files changed

+74
-29
lines changed

4 files changed

+74
-29
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,5 @@ MIT
139139
[npm-url]: https://npmjs.org/package/@use-hooks/axios
140140
[download-image]: https://img.shields.io/npm/dm/@use-hooks/axios.svg?style=flat-square
141141
[download-url]: https://npmjs.org/package/@use-hooks/axios
142-
[travis-url]: https://travis-ci.com/use-hooks/react-hooks-axios
143-
[travis-image]: https://img.shields.io/travis/com/use-hooks/react-hooks-axios.svg?style=flat-square
142+
[travis-url]: https://travis-ci.org/use-hooks/react-hooks-axios
143+
[travis-image]: https://img.shields.io/travis/use-hooks/react-hooks-axios.svg?style=flat-square

package-lock.json

Lines changed: 69 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@use-hooks/axios",
3-
"version": "1.2.0",
3+
"version": "1.2.2",
44
"description": "Custom React Hooks for Axios.js",
55
"main": "dist/index.js",
66
"types": "types.d.ts",
@@ -78,7 +78,7 @@
7878
]
7979
},
8080
"dependencies": {
81-
"axios": "^0.18.0",
81+
"axios": "^0.19.0",
8282
"react": "^16.8.1",
8383
"react-dom": "^16.8.1"
8484
},

types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { AxiosRequestConfig, AxiosResponse, AxiosInstance } from 'axios';
22

33
export interface IParams {
4-
axios: AxiosInstance;
4+
axios?: AxiosInstance;
55
url: string;
66
method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'PATCH';
77
options?: AxiosRequestConfig;

0 commit comments

Comments
 (0)