Comparing version 4.0.1 to 4.0.2
@@ -0,1 +1,7 @@ | ||
#### 4.0.2 (2018-01-03) | ||
##### Documentation Changes | ||
* add package size to browser support table ([78f85915](https://github.com/wopian/kitsu/commit/78f8591555fae384266ffd00f69f597dc43d407f)) | ||
#### 4.0.1 (2018-01-03) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "kitsu", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Simple & lightweight JSON-API client for Kitsu and other compliant APIs", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -36,6 +36,6 @@ # Kitsu | ||
| Package | Global<br> Usage | Chrome | Firefox | Safari | IE/Edge | ||
| ------- | --------------- | ------ | ------- | ------ | ------- | ||
| Default | [> 1%] | 61+ | 56+ | 10+ | Edge 15+ | ||
| Legacy | [> 0.1%] | 49+ | 48+ | 5.1+ | IE 8+, Edge 14+ | ||
| Package | Package<br> Size | Global<br> Usage | Chrome | Firefox | Safari | IE/Edge | ||
| ------- | ---------------- | ---------------- | ------ | ------- | ------ | ------- | ||
| Default | 14.4 kb | [> 1%] | 61+ | 56+ | 10+ | Edge 15+ | ||
| Legacy | 19.9 kb | [> 0.1%] | 49+ | 48+ | 5.1+ | IE 8+, Edge 14+ | ||
@@ -107,7 +107,7 @@ [> 1%]:http://browserl.ist/?q=%3E1%25%2C+not+ie+%3C%3D+11%2C+not+ie_mob+%3C%3D+11 | ||
const { data } = api.get('anime') // Using with Promises | ||
.then(res => res) | ||
const { data } = await api.get('anime') // Using with async/await | ||
api.get('anime') // Using with Promises | ||
.then(({ data }) => { ... }) | ||
// Fetching resources with get() or fetch() | ||
@@ -114,0 +114,0 @@ api.get('anime') // Collection of resources |
141634