contentful 10.12.4 → 10.12.5
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.
|
@@ -5065,7 +5065,7 @@ function createClient(params) {
|
|
|
5065
5065
|
environment: 'master',
|
|
5066
5066
|
};
|
|
5067
5067
|
const config = Object.assign(Object.assign({}, defaultConfig), params);
|
|
5068
|
-
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.12.
|
|
5068
|
+
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.12.5"}`, config.application, config.integration);
|
|
5069
5069
|
config.headers = Object.assign(Object.assign({}, config.headers), { 'Content-Type': 'application/vnd.contentful.delivery.v1+json', 'X-Contentful-User-Agent': userAgentHeader });
|
|
5070
5070
|
const http = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createHttpClient)(axios__WEBPACK_IMPORTED_MODULE_4__["default"], config);
|
|
5071
5071
|
if (!http.defaults.baseURL) {
|
|
@@ -5411,7 +5411,7 @@ function createContentfulApi({ http, getGlobalOptions }, options) {
|
|
|
5411
5411
|
http.defaults.baseURL = getGlobalOptions().environmentBaseUrl;
|
|
5412
5412
|
}
|
|
5413
5413
|
return {
|
|
5414
|
-
version: "10.12.
|
|
5414
|
+
version: "10.12.5",
|
|
5415
5415
|
getSpace,
|
|
5416
5416
|
getContentType,
|
|
5417
5417
|
getContentTypes,
|