contentful 9.3.1 → 9.3.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.
|
@@ -3801,7 +3801,7 @@ function errorHandler(errorResponse) {
|
|
|
3801
3801
|
/*! no static exports found */
|
|
3802
3802
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3803
3803
|
|
|
3804
|
-
|
|
3804
|
+
(function (global, factory) {
|
|
3805
3805
|
true ? module.exports = factory() :
|
|
3806
3806
|
undefined;
|
|
3807
3807
|
})(this, (function () { 'use strict';
|
|
@@ -3988,8 +3988,8 @@ function errorHandler(errorResponse) {
|
|
|
3988
3988
|
if (typeof window !== 'undefined') {
|
|
3989
3989
|
return window;
|
|
3990
3990
|
}
|
|
3991
|
-
if (typeof
|
|
3992
|
-
return
|
|
3991
|
+
if (typeof window !== 'undefined') {
|
|
3992
|
+
return window;
|
|
3993
3993
|
}
|
|
3994
3994
|
if (console && console.error) {
|
|
3995
3995
|
console.error('Unable to locate global object, returning "this".');
|
|
@@ -4156,7 +4156,6 @@ function errorHandler(errorResponse) {
|
|
|
4156
4156
|
}));
|
|
4157
4157
|
//# sourceMappingURL=fast-copy.js.map
|
|
4158
4158
|
|
|
4159
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ "../node_modules/webpack/buildin/global.js")))
|
|
4160
4159
|
|
|
4161
4160
|
/***/ }),
|
|
4162
4161
|
|
|
@@ -5097,7 +5096,7 @@ module.exports = isString;
|
|
|
5097
5096
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5098
5097
|
|
|
5099
5098
|
"use strict";
|
|
5100
|
-
|
|
5099
|
+
/*!
|
|
5101
5100
|
* The buffer module from node.js, for the browser.
|
|
5102
5101
|
*
|
|
5103
5102
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
@@ -5139,8 +5138,8 @@ exports.INSPECT_MAX_BYTES = 50
|
|
|
5139
5138
|
* We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
|
|
5140
5139
|
* get the Object implementation, which is slower but behaves correctly.
|
|
5141
5140
|
*/
|
|
5142
|
-
Buffer.TYPED_ARRAY_SUPPORT =
|
|
5143
|
-
?
|
|
5141
|
+
Buffer.TYPED_ARRAY_SUPPORT = window.TYPED_ARRAY_SUPPORT !== undefined
|
|
5142
|
+
? window.TYPED_ARRAY_SUPPORT
|
|
5144
5143
|
: typedArraySupport()
|
|
5145
5144
|
|
|
5146
5145
|
/*
|
|
@@ -6887,7 +6886,6 @@ function isnan (val) {
|
|
|
6887
6886
|
return val !== val // eslint-disable-line no-self-compare
|
|
6888
6887
|
}
|
|
6889
6888
|
|
|
6890
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ "../node_modules/webpack/buildin/global.js")))
|
|
6891
6889
|
|
|
6892
6890
|
/***/ }),
|
|
6893
6891
|
|
|
@@ -8792,37 +8790,6 @@ module.exports = function getSideChannel() {
|
|
|
8792
8790
|
};
|
|
8793
8791
|
|
|
8794
8792
|
|
|
8795
|
-
/***/ }),
|
|
8796
|
-
|
|
8797
|
-
/***/ "../node_modules/webpack/buildin/global.js":
|
|
8798
|
-
/*!*************************************************!*\
|
|
8799
|
-
!*** ../node_modules/webpack/buildin/global.js ***!
|
|
8800
|
-
\*************************************************/
|
|
8801
|
-
/*! no static exports found */
|
|
8802
|
-
/***/ (function(module, exports) {
|
|
8803
|
-
|
|
8804
|
-
var g;
|
|
8805
|
-
|
|
8806
|
-
// This works in non-strict mode
|
|
8807
|
-
g = (function() {
|
|
8808
|
-
return this;
|
|
8809
|
-
})();
|
|
8810
|
-
|
|
8811
|
-
try {
|
|
8812
|
-
// This works if eval is allowed (see CSP)
|
|
8813
|
-
g = g || new Function("return this")();
|
|
8814
|
-
} catch (e) {
|
|
8815
|
-
// This works if the window reference is available
|
|
8816
|
-
if (typeof window === "object") g = window;
|
|
8817
|
-
}
|
|
8818
|
-
|
|
8819
|
-
// g can still be undefined, but nothing to do about it...
|
|
8820
|
-
// We return undefined, instead of nothing here, so it's
|
|
8821
|
-
// easier to handle this case. if(!global) { ...}
|
|
8822
|
-
|
|
8823
|
-
module.exports = g;
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
8793
|
/***/ }),
|
|
8827
8794
|
|
|
8828
8795
|
/***/ "./contentful.js":
|
|
@@ -8905,7 +8872,7 @@ function createClient(params) {
|
|
|
8905
8872
|
environment: 'master'
|
|
8906
8873
|
};
|
|
8907
8874
|
const config = _objectSpread(_objectSpread({}, defaultConfig), params);
|
|
8908
|
-
const userAgentHeader = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_1__["getUserAgentHeader"])(`contentful.js/${"9.3.
|
|
8875
|
+
const userAgentHeader = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_1__["getUserAgentHeader"])(`contentful.js/${"9.3.3"}`, config.application, config.integration);
|
|
8909
8876
|
config.headers = _objectSpread(_objectSpread({}, config.headers), {}, {
|
|
8910
8877
|
'Content-Type': 'application/vnd.contentful.delivery.v1+json',
|
|
8911
8878
|
'X-Contentful-User-Agent': userAgentHeader
|