contentful 10.11.7 → 10.11.9

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.
@@ -5077,7 +5077,7 @@ function createClient(params) {
5077
5077
  environment: 'master',
5078
5078
  };
5079
5079
  const config = Object.assign(Object.assign({}, defaultConfig), params);
5080
- const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.11.7"}`, config.application, config.integration);
5080
+ const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.11.9"}`, config.application, config.integration);
5081
5081
  config.headers = Object.assign(Object.assign({}, config.headers), { 'Content-Type': 'application/vnd.contentful.delivery.v1+json', 'X-Contentful-User-Agent': userAgentHeader });
5082
5082
  const http = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createHttpClient)(axios__WEBPACK_IMPORTED_MODULE_4__["default"], config);
5083
5083
  if (!http.defaults.baseURL) {
@@ -5423,7 +5423,7 @@ function createContentfulApi({ http, getGlobalOptions }, options) {
5423
5423
  http.defaults.baseURL = getGlobalOptions().environmentBaseUrl;
5424
5424
  }
5425
5425
  return {
5426
- version: "10.11.7",
5426
+ version: "10.11.9",
5427
5427
  getSpace,
5428
5428
  getContentType,
5429
5429
  getContentTypes,
@@ -17671,7 +17671,7 @@ var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? functi
17671
17671
  return function (str) {
17672
17672
  return encoder.encode(str);
17673
17673
  };
17674
- }(new TextEncoder()) : /*#__PURE__*/function () {
17674
+ }(new TextEncoder()) : ( /*#__PURE__*/function () {
17675
17675
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(str) {
17676
17676
  return regeneratorRuntime.wrap(function _callee$(_context) {
17677
17677
  while (1) switch (_context.prev = _context.next) {
@@ -17691,7 +17691,7 @@ var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? functi
17691
17691
  return function (_x) {
17692
17692
  return _ref.apply(this, arguments);
17693
17693
  };
17694
- }());
17694
+ }()));
17695
17695
  var supportsRequestStream = isReadableStreamSupported && function () {
17696
17696
  var duplexAccessed = false;
17697
17697
  var hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_44__["default"].origin, {
@@ -17797,7 +17797,7 @@ var resolveBodyLength = /*#__PURE__*/function () {
17797
17797
  return _ref3.apply(this, arguments);
17798
17798
  };
17799
17799
  }();
17800
- /* harmony default export */ __webpack_exports__["default"] = (isFetchSupported && /*#__PURE__*/function () {
17800
+ /* harmony default export */ __webpack_exports__["default"] = (isFetchSupported && ( /*#__PURE__*/function () {
17801
17801
  var _ref4 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(config) {
17802
17802
  var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, _ref5, _ref6, composedSignal, stopTimeout, finished, request, onFinish, requestContentLength, _request, contentTypeHeader, response, isStreamResponse, options, responseContentLength, responseData;
17803
17803
  return regeneratorRuntime.wrap(function _callee4$(_context4) {
@@ -17906,7 +17906,7 @@ var resolveBodyLength = /*#__PURE__*/function () {
17906
17906
  return function (_x5) {
17907
17907
  return _ref4.apply(this, arguments);
17908
17908
  };
17909
- }());
17909
+ }()));
17910
17910
 
17911
17911
  /***/ }),
17912
17912
 
@@ -18504,7 +18504,7 @@ var Axios = /*#__PURE__*/function () {
18504
18504
  */
18505
18505
  return _createClass(Axios, [{
18506
18506
  key: "request",
18507
- value: function () {
18507
+ value: (function () {
18508
18508
  var _request2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(configOrUrl, config) {
18509
18509
  var dummy, stack;
18510
18510
  return regeneratorRuntime.wrap(function _callee$(_context) {
@@ -18545,7 +18545,7 @@ var Axios = /*#__PURE__*/function () {
18545
18545
  return _request2.apply(this, arguments);
18546
18546
  }
18547
18547
  return request;
18548
- }()
18548
+ }())
18549
18549
  }, {
18550
18550
  key: "_request",
18551
18551
  value: function _request(configOrUrl, config) {
@@ -18910,7 +18910,7 @@ function buildAccessors(obj, header) {
18910
18910
  });
18911
18911
  });
18912
18912
  }
18913
- var AxiosHeaders = /*#__PURE__*/function (_Symbol$iterator, _Symbol$toStringTag) {
18913
+ var AxiosHeaders = /*#__PURE__*/function () {
18914
18914
  function AxiosHeaders(headers) {
18915
18915
  _classCallCheck(this, AxiosHeaders);
18916
18916
  headers && this.set(headers);
@@ -19069,7 +19069,7 @@ var AxiosHeaders = /*#__PURE__*/function (_Symbol$iterator, _Symbol$toStringTag)
19069
19069
  return obj;
19070
19070
  }
19071
19071
  }, {
19072
- key: _Symbol$iterator,
19072
+ key: Symbol.iterator,
19073
19073
  value: function value() {
19074
19074
  return Object.entries(this.toJSON())[Symbol.iterator]();
19075
19075
  }
@@ -19084,7 +19084,7 @@ var AxiosHeaders = /*#__PURE__*/function (_Symbol$iterator, _Symbol$toStringTag)
19084
19084
  }).join('\n');
19085
19085
  }
19086
19086
  }, {
19087
- key: _Symbol$toStringTag,
19087
+ key: Symbol.toStringTag,
19088
19088
  get: function get() {
19089
19089
  return 'AxiosHeaders';
19090
19090
  }
@@ -19124,7 +19124,7 @@ var AxiosHeaders = /*#__PURE__*/function (_Symbol$iterator, _Symbol$toStringTag)
19124
19124
  return this;
19125
19125
  }
19126
19126
  }]);
19127
- }(Symbol.iterator, Symbol.toStringTag);
19127
+ }();
19128
19128
  AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
19129
19129
 
19130
19130
  // reserved names hotfix