wonderful-fetch
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -23,3 +23,3 @@ (function (root, factory) { | ||
var SOURCE = 'library'; | ||
var VERSION = '0.0.7'; | ||
var VERSION = '0.0.8'; | ||
@@ -35,4 +35,4 @@ function WonderfulFetch(url, options) { | ||
options.cacheBreaker = typeof options.cacheBreaker === 'undefined' ? true : options.cacheBreaker; | ||
options.contentType = typeof options.contentType === 'undefined' ? '' : options.contentType; | ||
options.responseFormat = typeof options.responseFormat === 'undefined' ? 'raw' : options.responseFormat; | ||
options.contentType = (typeof options.contentType === 'undefined' ? '' : options.contentType).toLowerCase(); | ||
options.responseFormat = (typeof options.responseFormat === 'undefined' ? 'raw' : options.responseFormat).toLowerCase(); | ||
@@ -39,0 +39,0 @@ // Legacy |
{ | ||
"name": "wonderful-fetch", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "A wrapper around fetch.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
14980