contentful 9.2.20 → 9.3.0
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 +1 -1
- package/dist/contentful.browser.js.map +1 -1
- package/dist/contentful.browser.min.js +1 -1
- package/dist/contentful.node.js +1 -1
- 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/index.d.ts +9 -1
- package/package.json +1 -1
|
@@ -8903,7 +8903,7 @@ function createClient(params) {
|
|
|
8903
8903
|
environment: 'master'
|
|
8904
8904
|
};
|
|
8905
8905
|
const config = _objectSpread(_objectSpread({}, defaultConfig), params);
|
|
8906
|
-
const userAgentHeader = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_1__["getUserAgentHeader"])(`contentful.js/${"9.
|
|
8906
|
+
const userAgentHeader = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_1__["getUserAgentHeader"])(`contentful.js/${"9.3.0"}`, config.application, config.integration);
|
|
8907
8907
|
config.headers = _objectSpread(_objectSpread({}, config.headers), {}, {
|
|
8908
8908
|
'Content-Type': 'application/vnd.contentful.delivery.v1+json',
|
|
8909
8909
|
'X-Contentful-User-Agent': userAgentHeader
|