contentful
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -13,6 +13,2 @@ 'use strict'; | ||
var _querystring = require('querystring'); | ||
var _querystring2 = _interopRequireDefault(_querystring); | ||
var _version = require('../version'); | ||
@@ -55,2 +51,3 @@ | ||
headers = headers || {}; | ||
headers['Authorization'] = 'Bearer ' + accessToken; | ||
headers['Content-Type'] = 'application/vnd.contentful.delivery.v1+json'; | ||
@@ -66,10 +63,4 @@ headers['X-Contentful-User-Agent'] = 'contentful.js/' + _version2.default; | ||
headers: headers, | ||
agent: agent, | ||
params: { | ||
access_token: accessToken | ||
}, | ||
paramsSerializer: function paramsSerializer(params) { | ||
return _querystring2.default.stringify(params); | ||
} | ||
agent: agent | ||
}); | ||
} |
@@ -95,3 +95,3 @@ { | ||
}, | ||
"version": "3.2.0" | ||
"version": "3.2.1" | ||
} |
@@ -1,1 +0,1 @@ | ||
module.exports = '3.2.0' | ||
module.exports = '3.2.1' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
796910
20701