contentful 10.12.13 → 10.12.15
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.
|
@@ -5419,7 +5419,7 @@ function createClient(params) {
|
|
|
5419
5419
|
environment: 'master',
|
|
5420
5420
|
};
|
|
5421
5421
|
const config = Object.assign(Object.assign({}, defaultConfig), params);
|
|
5422
|
-
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.12.
|
|
5422
|
+
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.12.15"}`, config.application, config.integration);
|
|
5423
5423
|
config.headers = Object.assign(Object.assign({}, config.headers), { 'Content-Type': 'application/vnd.contentful.delivery.v1+json', 'X-Contentful-User-Agent': userAgentHeader });
|
|
5424
5424
|
const http = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createHttpClient)(axios__WEBPACK_IMPORTED_MODULE_4__["default"], config);
|
|
5425
5425
|
if (!http.defaults.baseURL) {
|
|
@@ -5765,7 +5765,7 @@ function createContentfulApi({ http, getGlobalOptions }, options) {
|
|
|
5765
5765
|
http.defaults.baseURL = getGlobalOptions().environmentBaseUrl;
|
|
5766
5766
|
}
|
|
5767
5767
|
return {
|
|
5768
|
-
version: "10.12.
|
|
5768
|
+
version: "10.12.15",
|
|
5769
5769
|
getSpace,
|
|
5770
5770
|
getContentType,
|
|
5771
5771
|
getContentTypes,
|