contentful 11.8.9 → 11.8.10
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.cjs
CHANGED
|
@@ -23418,7 +23418,7 @@ function createContentfulApi({
|
|
|
23418
23418
|
http.defaults.baseURL = getGlobalOptions().environmentBaseUrl;
|
|
23419
23419
|
}
|
|
23420
23420
|
return {
|
|
23421
|
-
version: "11.8.
|
|
23421
|
+
version: "11.8.10",
|
|
23422
23422
|
getSpace,
|
|
23423
23423
|
getContentType,
|
|
23424
23424
|
getContentTypes,
|
|
@@ -23543,7 +23543,7 @@ function createClient(params) {
|
|
|
23543
23543
|
environment: 'master'
|
|
23544
23544
|
};
|
|
23545
23545
|
const config = Object.assign(Object.assign({}, defaultConfig), params);
|
|
23546
|
-
const userAgentHeader = getUserAgentHeader(`contentful.js/${"11.8.
|
|
23546
|
+
const userAgentHeader = getUserAgentHeader(`contentful.js/${"11.8.10"}`, config.application, config.integration);
|
|
23547
23547
|
config.headers = Object.assign(Object.assign({}, config.headers), {
|
|
23548
23548
|
'Content-Type': 'application/vnd.contentful.delivery.v1+json',
|
|
23549
23549
|
'X-Contentful-User-Agent': userAgentHeader
|
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.10"}`, 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.10",
|
|
429
429
|
getSpace,
|
|
430
430
|
getContentType,
|
|
431
431
|
getContentTypes,
|