Comparing version 10.1.1 to 10.1.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [10.1.2](https://github.com/wopian/kitsu/compare/v10.1.1...v10.1.2) (2023-06-20) | ||
### Bug Fixes | ||
* correct the typing for config on post ([#873](https://github.com/wopian/kitsu/issues/873)) ([c741e0a](https://github.com/wopian/kitsu/commit/c741e0ac26d4c215c11dbbeefd55e28ba34a9498)) | ||
## [10.1.1](https://github.com/wopian/kitsu/compare/v10.1.0...v10.1.1) (2023-04-26) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"version": "10.1.1", | ||
"version": "10.1.2", | ||
"name": "kitsu", | ||
@@ -53,3 +53,3 @@ "description": "A simple, lightweight & framework agnostic JSON:API client using Axios", | ||
"axios": "^0.27.0", | ||
"kitsu-core": "^10.1.1", | ||
"kitsu-core": "^10.1.2", | ||
"pluralize": "^8.0.0" | ||
@@ -56,0 +56,0 @@ }, |
@@ -244,3 +244,3 @@ <h1 align=center>Kitsu</h1> | ||
[packages/kitsu/src/index.js:31-535](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L31-L535 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:31-536](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L31-L536 "Source code on GitHub") | ||
@@ -291,3 +291,3 @@ Creates a new `kitsu` instance | ||
[packages/kitsu/src/index.js:58-59](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L58-L59 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:58-59](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L58-L59 "Source code on GitHub") | ||
@@ -311,3 +311,3 @@ * **See**: <https://www.npmjs.com/package/pluralize> for documentation | ||
[packages/kitsu/src/index.js:73-73](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L73-L73 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:73-73](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L73-L73 "Source code on GitHub") | ||
@@ -340,3 +340,3 @@ Get the current headers or add additional headers | ||
[packages/kitsu/src/index.js:119-119](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L119-L119 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:119-119](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L119-L119 "Source code on GitHub") | ||
@@ -388,3 +388,3 @@ * **See**: <https://github.com/axios/axios#interceptors> for documentation | ||
[packages/kitsu/src/index.js:217-246](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L217-L246 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:217-246](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L217-L246 "Source code on GitHub") | ||
@@ -526,3 +526,3 @@ Fetch resources (alias `fetch`) | ||
[packages/kitsu/src/index.js:282-310](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L282-L310 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:282-310](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L282-L310 "Source code on GitHub") | ||
@@ -589,3 +589,3 @@ Update a resource (alias `update`) | ||
[packages/kitsu/src/index.js:344-370](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L344-L370 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:345-371](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L345-L371 "Source code on GitHub") | ||
@@ -602,2 +602,3 @@ Create a new resource (alias `create`) | ||
* `config.headers` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** Additional headers to send with the request | ||
* `config.axiosOptions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** Additional options for the axios instance (see [axios/axios#request-config](https://github.com/axios/axios#request-config) for details) | ||
@@ -639,3 +640,3 @@ ##### Examples | ||
[packages/kitsu/src/index.js:390-424](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L390-L424 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:391-425](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L391-L425 "Source code on GitHub") | ||
@@ -678,3 +679,3 @@ Remove a resource (alias `remove`) | ||
[packages/kitsu/src/index.js:448-457](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L448-L457 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:449-458](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L449-L458 "Source code on GitHub") | ||
@@ -717,3 +718,3 @@ Get the authenticated user's data | ||
[packages/kitsu/src/index.js:512-534](https://github.com/wopian/kitsu/blob/474d91bfbe1671855ff026cba5e9e71d5a6b1e62/packages/kitsu/src/index.js#L512-L534 "Source code on GitHub") | ||
[packages/kitsu/src/index.js:513-535](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu/src/index.js#L513-L535 "Source code on GitHub") | ||
@@ -720,0 +721,0 @@ Send arbitrary requests |
@@ -73,2 +73,3 @@ /** | ||
headers?: any; | ||
axiosOptions?: any; | ||
}) => any | any[]; | ||
@@ -276,2 +277,3 @@ remove: (model: string, id: string | number | number[], config?: { | ||
* @param {Object} [config.headers] Additional headers to send with the request | ||
* @param {Object} [config.axiosOptions] Additional options for the axios instance (see [axios/axios#request-config](https://github.com/axios/axios#request-config) for details) | ||
* @returns {Object|Object[]} JSON-parsed response | ||
@@ -303,2 +305,3 @@ * @example <caption>Create a post on a user's profile feed</caption> | ||
headers?: any; | ||
axiosOptions?: any; | ||
}): any | any[]; | ||
@@ -305,0 +308,0 @@ /** |
88397
973
786
Updatedkitsu-core@^10.1.2