contentful-management 8.2.0 → 8.2.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.
- package/dist/contentful-management.browser.js +38 -22
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.legacy.js +38 -22
- package/dist/contentful-management.legacy.js.map +1 -1
- package/dist/contentful-management.legacy.min.js +1 -1
- package/dist/contentful-management.node.js +39 -23
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/contentful-management.js +1 -1
- package/package.json +1 -1
|
@@ -125,7 +125,7 @@ var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ "../node_mo
|
|
|
125
125
|
var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ "../node_modules/axios/lib/helpers/parseHeaders.js");
|
|
126
126
|
var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ "../node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
127
127
|
var createError = __webpack_require__(/*! ../core/createError */ "../node_modules/axios/lib/core/createError.js");
|
|
128
|
-
var
|
|
128
|
+
var transitionalDefaults = __webpack_require__(/*! ../defaults/transitional */ "../node_modules/axios/lib/defaults/transitional.js");
|
|
129
129
|
var Cancel = __webpack_require__(/*! ../cancel/Cancel */ "../node_modules/axios/lib/cancel/Cancel.js");
|
|
130
130
|
|
|
131
131
|
module.exports = function xhrAdapter(config) {
|
|
@@ -240,7 +240,7 @@ module.exports = function xhrAdapter(config) {
|
|
|
240
240
|
// Handle timeout
|
|
241
241
|
request.ontimeout = function handleTimeout() {
|
|
242
242
|
var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
243
|
-
var transitional = config.transitional ||
|
|
243
|
+
var transitional = config.transitional || transitionalDefaults;
|
|
244
244
|
if (config.timeoutErrorMessage) {
|
|
245
245
|
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
246
246
|
}
|
|
@@ -345,7 +345,7 @@ var utils = __webpack_require__(/*! ./utils */ "../node_modules/axios/lib/utils.
|
|
|
345
345
|
var bind = __webpack_require__(/*! ./helpers/bind */ "../node_modules/axios/lib/helpers/bind.js");
|
|
346
346
|
var Axios = __webpack_require__(/*! ./core/Axios */ "../node_modules/axios/lib/core/Axios.js");
|
|
347
347
|
var mergeConfig = __webpack_require__(/*! ./core/mergeConfig */ "../node_modules/axios/lib/core/mergeConfig.js");
|
|
348
|
-
var defaults = __webpack_require__(/*! ./defaults */ "../node_modules/axios/lib/defaults.js");
|
|
348
|
+
var defaults = __webpack_require__(/*! ./defaults */ "../node_modules/axios/lib/defaults/index.js");
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
351
|
* Create an instance of Axios
|
|
@@ -880,7 +880,7 @@ module.exports = function createError(message, config, code, request, response)
|
|
|
880
880
|
var utils = __webpack_require__(/*! ./../utils */ "../node_modules/axios/lib/utils.js");
|
|
881
881
|
var transformData = __webpack_require__(/*! ./transformData */ "../node_modules/axios/lib/core/transformData.js");
|
|
882
882
|
var isCancel = __webpack_require__(/*! ../cancel/isCancel */ "../node_modules/axios/lib/cancel/isCancel.js");
|
|
883
|
-
var defaults = __webpack_require__(/*! ../defaults */ "../node_modules/axios/lib/defaults.js");
|
|
883
|
+
var defaults = __webpack_require__(/*! ../defaults */ "../node_modules/axios/lib/defaults/index.js");
|
|
884
884
|
var Cancel = __webpack_require__(/*! ../cancel/Cancel */ "../node_modules/axios/lib/cancel/Cancel.js");
|
|
885
885
|
|
|
886
886
|
/**
|
|
@@ -1180,7 +1180,7 @@ module.exports = function settle(resolve, reject, response) {
|
|
|
1180
1180
|
|
|
1181
1181
|
|
|
1182
1182
|
var utils = __webpack_require__(/*! ./../utils */ "../node_modules/axios/lib/utils.js");
|
|
1183
|
-
var defaults = __webpack_require__(/*!
|
|
1183
|
+
var defaults = __webpack_require__(/*! ../defaults */ "../node_modules/axios/lib/defaults/index.js");
|
|
1184
1184
|
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Transform the data for a request or a response
|
|
@@ -1203,19 +1203,20 @@ module.exports = function transformData(data, headers, fns) {
|
|
|
1203
1203
|
|
|
1204
1204
|
/***/ }),
|
|
1205
1205
|
|
|
1206
|
-
/***/ "../node_modules/axios/lib/defaults.js":
|
|
1207
|
-
|
|
1208
|
-
!*** ../node_modules/axios/lib/defaults.js ***!
|
|
1209
|
-
|
|
1206
|
+
/***/ "../node_modules/axios/lib/defaults/index.js":
|
|
1207
|
+
/*!***************************************************!*\
|
|
1208
|
+
!*** ../node_modules/axios/lib/defaults/index.js ***!
|
|
1209
|
+
\***************************************************/
|
|
1210
1210
|
/*! no static exports found */
|
|
1211
1211
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1212
1212
|
|
|
1213
1213
|
"use strict";
|
|
1214
1214
|
/* WEBPACK VAR INJECTION */(function(process) {
|
|
1215
1215
|
|
|
1216
|
-
var utils = __webpack_require__(/*!
|
|
1217
|
-
var normalizeHeaderName = __webpack_require__(/*!
|
|
1218
|
-
var enhanceError = __webpack_require__(/*!
|
|
1216
|
+
var utils = __webpack_require__(/*! ../utils */ "../node_modules/axios/lib/utils.js");
|
|
1217
|
+
var normalizeHeaderName = __webpack_require__(/*! ../helpers/normalizeHeaderName */ "../node_modules/axios/lib/helpers/normalizeHeaderName.js");
|
|
1218
|
+
var enhanceError = __webpack_require__(/*! ../core/enhanceError */ "../node_modules/axios/lib/core/enhanceError.js");
|
|
1219
|
+
var transitionalDefaults = __webpack_require__(/*! ./transitional */ "../node_modules/axios/lib/defaults/transitional.js");
|
|
1219
1220
|
|
|
1220
1221
|
var DEFAULT_CONTENT_TYPE = {
|
|
1221
1222
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
@@ -1231,10 +1232,10 @@ function getDefaultAdapter() {
|
|
|
1231
1232
|
var adapter;
|
|
1232
1233
|
if (typeof XMLHttpRequest !== 'undefined') {
|
|
1233
1234
|
// For browsers use XHR adapter
|
|
1234
|
-
adapter = __webpack_require__(/*!
|
|
1235
|
+
adapter = __webpack_require__(/*! ../adapters/xhr */ "../node_modules/axios/lib/adapters/xhr.js");
|
|
1235
1236
|
} else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
|
|
1236
1237
|
// For node use HTTP adapter
|
|
1237
|
-
adapter = __webpack_require__(/*!
|
|
1238
|
+
adapter = __webpack_require__(/*! ../adapters/http */ "../node_modules/axios/lib/adapters/xhr.js");
|
|
1238
1239
|
}
|
|
1239
1240
|
return adapter;
|
|
1240
1241
|
}
|
|
@@ -1256,11 +1257,7 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
1256
1257
|
|
|
1257
1258
|
var defaults = {
|
|
1258
1259
|
|
|
1259
|
-
transitional:
|
|
1260
|
-
silentJSONParsing: true,
|
|
1261
|
-
forcedJSONParsing: true,
|
|
1262
|
-
clarifyTimeoutError: false
|
|
1263
|
-
},
|
|
1260
|
+
transitional: transitionalDefaults,
|
|
1264
1261
|
|
|
1265
1262
|
adapter: getDefaultAdapter(),
|
|
1266
1263
|
|
|
@@ -1346,7 +1343,26 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
1346
1343
|
|
|
1347
1344
|
module.exports = defaults;
|
|
1348
1345
|
|
|
1349
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*!
|
|
1346
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../process/browser.js */ "../node_modules/process/browser.js")))
|
|
1347
|
+
|
|
1348
|
+
/***/ }),
|
|
1349
|
+
|
|
1350
|
+
/***/ "../node_modules/axios/lib/defaults/transitional.js":
|
|
1351
|
+
/*!**********************************************************!*\
|
|
1352
|
+
!*** ../node_modules/axios/lib/defaults/transitional.js ***!
|
|
1353
|
+
\**********************************************************/
|
|
1354
|
+
/*! no static exports found */
|
|
1355
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1356
|
+
|
|
1357
|
+
"use strict";
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
module.exports = {
|
|
1361
|
+
silentJSONParsing: true,
|
|
1362
|
+
forcedJSONParsing: true,
|
|
1363
|
+
clarifyTimeoutError: false
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1350
1366
|
|
|
1351
1367
|
/***/ }),
|
|
1352
1368
|
|
|
@@ -1358,7 +1374,7 @@ module.exports = defaults;
|
|
|
1358
1374
|
/***/ (function(module, exports) {
|
|
1359
1375
|
|
|
1360
1376
|
module.exports = {
|
|
1361
|
-
"version": "0.26.
|
|
1377
|
+
"version": "0.26.1"
|
|
1362
1378
|
};
|
|
1363
1379
|
|
|
1364
1380
|
/***/ }),
|
|
@@ -10132,7 +10148,7 @@ function createClient(params) {
|
|
|
10132
10148
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
10133
10149
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
10134
10150
|
var userAgent = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__["getUserAgentHeader"])( // @ts-expect-error
|
|
10135
|
-
"".concat(sdkMain, "/").concat("8.2.
|
|
10151
|
+
"".concat(sdkMain, "/").concat("8.2.1"), params.application, params.integration, params.feature);
|
|
10136
10152
|
var adapter = Object(_create_adapter__WEBPACK_IMPORTED_MODULE_1__["createAdapter"])(params); // Parameters<?> and ReturnType<?> only return the types of the last overload
|
|
10137
10153
|
// https://github.com/microsoft/TypeScript/issues/26591
|
|
10138
10154
|
// @ts-expect-error
|