fetchbasequery 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fetchbasequery",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Library for easily make HTTP queries without mass of boilerplate code.",
5
5
  "type": "module",
6
6
  "main": "src/fetchBaseQuery.js",
@@ -6,7 +6,7 @@ import mergeHeaders from '../helpers/mergeHeaders.js'
6
6
  const moduleName = 'fetchBaseQuery/middlewares/accessToken'
7
7
 
8
8
  const getEncodedBody = body => (
9
- typeof blob === 'string'
9
+ typeof body === 'string'
10
10
  || body instanceof String
11
11
  || body instanceof FormData
12
12
  || body instanceof Blob