contentful 11.3.0 → 11.3.1
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.
|
@@ -8676,6 +8676,9 @@ var contentful = (function (exports) {
|
|
|
8676
8676
|
if (!regExp.test(urn)) {
|
|
8677
8677
|
return undefined;
|
|
8678
8678
|
}
|
|
8679
|
+
|
|
8680
|
+
// eslint-disable-next-line no-unused-vars
|
|
8681
|
+
|
|
8679
8682
|
var _urn$match = urn.match(regExp),
|
|
8680
8683
|
_urn$match2 = _slicedToArray(_urn$match, 4);
|
|
8681
8684
|
_urn$match2[0];
|
|
@@ -10070,7 +10073,7 @@ var contentful = (function (exports) {
|
|
|
10070
10073
|
http.defaults.baseURL = getGlobalOptions().environmentBaseUrl;
|
|
10071
10074
|
}
|
|
10072
10075
|
return {
|
|
10073
|
-
version: "11.3.
|
|
10076
|
+
version: "11.3.1",
|
|
10074
10077
|
getSpace: getSpace,
|
|
10075
10078
|
getContentType: getContentType,
|
|
10076
10079
|
getContentTypes: getContentTypes,
|
|
@@ -10197,7 +10200,7 @@ var contentful = (function (exports) {
|
|
|
10197
10200
|
environment: 'master'
|
|
10198
10201
|
};
|
|
10199
10202
|
var config = Object.assign(Object.assign({}, defaultConfig), params);
|
|
10200
|
-
var userAgentHeader = getUserAgentHeader("contentful.js/".concat("11.3.
|
|
10203
|
+
var userAgentHeader = getUserAgentHeader("contentful.js/".concat("11.3.1"), config.application, config.integration);
|
|
10201
10204
|
config.headers = Object.assign(Object.assign({}, config.headers), {
|
|
10202
10205
|
'Content-Type': 'application/vnd.contentful.delivery.v1+json',
|
|
10203
10206
|
'X-Contentful-User-Agent': userAgentHeader
|