contentful 9.1.9 → 9.1.10
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/dist/contentful.browser.js +2 -9
- package/dist/contentful.browser.js.map +1 -1
- package/dist/contentful.browser.min.js +1 -1
- package/dist/contentful.node.js +19 -10
- package/dist/contentful.node.js.map +1 -1
- package/dist/contentful.node.min.js +1 -1
- package/dist/es-modules/contentful.js +1 -1
- package/package.json +2 -2
|
@@ -625,10 +625,6 @@ Axios.prototype.request = function request(configOrUrl, config) {
|
|
|
625
625
|
config = configOrUrl || {};
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
if (!config.url) {
|
|
629
|
-
throw new Error('Provided config url is not valid');
|
|
630
|
-
}
|
|
631
|
-
|
|
632
628
|
config = mergeConfig(this.defaults, config);
|
|
633
629
|
|
|
634
630
|
// Set config.method
|
|
@@ -711,9 +707,6 @@ Axios.prototype.request = function request(configOrUrl, config) {
|
|
|
711
707
|
};
|
|
712
708
|
|
|
713
709
|
Axios.prototype.getUri = function getUri(config) {
|
|
714
|
-
if (!config.url) {
|
|
715
|
-
throw new Error('Provided config url is not valid');
|
|
716
|
-
}
|
|
717
710
|
config = mergeConfig(this.defaults, config);
|
|
718
711
|
return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
|
|
719
712
|
};
|
|
@@ -1365,7 +1358,7 @@ module.exports = defaults;
|
|
|
1365
1358
|
/***/ (function(module, exports) {
|
|
1366
1359
|
|
|
1367
1360
|
module.exports = {
|
|
1368
|
-
"version": "0.
|
|
1361
|
+
"version": "0.26.0"
|
|
1369
1362
|
};
|
|
1370
1363
|
|
|
1371
1364
|
/***/ }),
|
|
@@ -6525,7 +6518,7 @@ function createClient(params) {
|
|
|
6525
6518
|
|
|
6526
6519
|
const config = _objectSpread(_objectSpread({}, defaultConfig), params);
|
|
6527
6520
|
|
|
6528
|
-
const userAgentHeader = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_1__["getUserAgentHeader"])(`contentful.js/${"9.1.
|
|
6521
|
+
const userAgentHeader = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_1__["getUserAgentHeader"])(`contentful.js/${"9.1.10"}`, config.application, config.integration);
|
|
6529
6522
|
config.headers = _objectSpread(_objectSpread({}, config.headers), {}, {
|
|
6530
6523
|
'Content-Type': 'application/vnd.contentful.delivery.v1+json',
|
|
6531
6524
|
'X-Contentful-User-Agent': userAgentHeader
|