contentful 11.8.2 → 11.8.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.
package/dist/esm/contentful.js
CHANGED
|
@@ -37,7 +37,7 @@ function createClient(params) {
|
|
|
37
37
|
environment: 'master',
|
|
38
38
|
};
|
|
39
39
|
const config = Object.assign(Object.assign({}, defaultConfig), params);
|
|
40
|
-
const userAgentHeader = getUserAgentHeader(`contentful.js/${"11.8.
|
|
40
|
+
const userAgentHeader = getUserAgentHeader(`contentful.js/${"11.8.3"}`, config.application, config.integration);
|
|
41
41
|
config.headers = Object.assign(Object.assign({}, config.headers), { 'Content-Type': 'application/vnd.contentful.delivery.v1+json', 'X-Contentful-User-Agent': userAgentHeader });
|
|
42
42
|
const http = createHttpClient(axios, config);
|
|
43
43
|
if (!http.defaults.baseURL) {
|
|
@@ -425,7 +425,7 @@ function createContentfulApi({ http, getGlobalOptions }, options) {
|
|
|
425
425
|
http.defaults.baseURL = getGlobalOptions().environmentBaseUrl;
|
|
426
426
|
}
|
|
427
427
|
return {
|
|
428
|
-
version: "11.8.
|
|
428
|
+
version: "11.8.3",
|
|
429
429
|
getSpace,
|
|
430
430
|
getContentType,
|
|
431
431
|
getContentTypes,
|