contentful 10.9.2 → 10.9.3
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.
|
@@ -5077,7 +5077,7 @@ function createClient(params) {
|
|
|
5077
5077
|
environment: 'master',
|
|
5078
5078
|
};
|
|
5079
5079
|
const config = Object.assign(Object.assign({}, defaultConfig), params);
|
|
5080
|
-
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.9.
|
|
5080
|
+
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.9.3"}`, config.application, config.integration);
|
|
5081
5081
|
config.headers = Object.assign(Object.assign({}, config.headers), { 'Content-Type': 'application/vnd.contentful.delivery.v1+json', 'X-Contentful-User-Agent': userAgentHeader });
|
|
5082
5082
|
const http = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createHttpClient)(axios__WEBPACK_IMPORTED_MODULE_4__["default"], config);
|
|
5083
5083
|
if (!http.defaults.baseURL) {
|
|
@@ -5405,7 +5405,7 @@ function createContentfulApi({ http, getGlobalOptions }, options) {
|
|
|
5405
5405
|
http.defaults.baseURL = getGlobalOptions().environmentBaseUrl;
|
|
5406
5406
|
}
|
|
5407
5407
|
return {
|
|
5408
|
-
version: "10.9.
|
|
5408
|
+
version: "10.9.3",
|
|
5409
5409
|
getSpace,
|
|
5410
5410
|
getContentType,
|
|
5411
5411
|
getContentTypes,
|