contentful-management 11.57.0 → 11.57.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 +272 -194
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +431 -248
- 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
|
@@ -25388,7 +25388,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25388
25388
|
const knownAdapters = {
|
|
25389
25389
|
http: _http_js__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
25390
25390
|
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
25391
|
-
fetch:
|
|
25391
|
+
fetch: {
|
|
25392
|
+
get: _fetch_js__WEBPACK_IMPORTED_MODULE_2__.getFetch,
|
|
25393
|
+
}
|
|
25392
25394
|
}
|
|
25393
25395
|
|
|
25394
25396
|
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(knownAdapters, (fn, value) => {
|
|
@@ -25407,7 +25409,7 @@ const renderReason = (reason) => `- ${reason}`;
|
|
|
25407
25409
|
const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(adapter) || adapter === null || adapter === false;
|
|
25408
25410
|
|
|
25409
25411
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
25410
|
-
getAdapter: (adapters) => {
|
|
25412
|
+
getAdapter: (adapters, config) => {
|
|
25411
25413
|
adapters = _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isArray(adapters) ? adapters : [adapters];
|
|
25412
25414
|
|
|
25413
25415
|
const {length} = adapters;
|
|
@@ -25430,7 +25432,7 @@ const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_3__["de
|
|
|
25430
25432
|
}
|
|
25431
25433
|
}
|
|
25432
25434
|
|
|
25433
|
-
if (adapter) {
|
|
25435
|
+
if (adapter && (_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(adapter) || (adapter = adapter.get(config)))) {
|
|
25434
25436
|
break;
|
|
25435
25437
|
}
|
|
25436
25438
|
|
|
@@ -25471,10 +25473,11 @@ const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_3__["de
|
|
|
25471
25473
|
"use strict";
|
|
25472
25474
|
__webpack_require__.r(__webpack_exports__);
|
|
25473
25475
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25474
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
25476
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
25477
|
+
/* harmony export */ getFetch: () => (/* binding */ getFetch)
|
|
25475
25478
|
/* harmony export */ });
|
|
25476
|
-
/* harmony import */ var
|
|
25477
|
-
/* harmony import */ var
|
|
25479
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
25480
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
25478
25481
|
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
25479
25482
|
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../node_modules/axios/lib/helpers/composeSignals.js");
|
|
25480
25483
|
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../node_modules/axios/lib/helpers/trackStream.js");
|
|
@@ -25492,14 +25495,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25492
25495
|
|
|
25493
25496
|
|
|
25494
25497
|
|
|
25495
|
-
const
|
|
25496
|
-
|
|
25498
|
+
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
25499
|
+
|
|
25500
|
+
const {isFunction} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
25501
|
+
|
|
25502
|
+
const globalFetchAPI = (({fetch, Request, Response}) => ({
|
|
25503
|
+
fetch, Request, Response
|
|
25504
|
+
}))(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global);
|
|
25505
|
+
|
|
25506
|
+
const {
|
|
25507
|
+
ReadableStream, TextEncoder
|
|
25508
|
+
} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global;
|
|
25497
25509
|
|
|
25498
|
-
// used only inside the fetch adapter
|
|
25499
|
-
const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?
|
|
25500
|
-
((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :
|
|
25501
|
-
async (str) => new Uint8Array(await new Response(str).arrayBuffer())
|
|
25502
|
-
);
|
|
25503
25510
|
|
|
25504
25511
|
const test = (fn, ...args) => {
|
|
25505
25512
|
try {
|
|
@@ -25509,208 +25516,261 @@ const test = (fn, ...args) => {
|
|
|
25509
25516
|
}
|
|
25510
25517
|
}
|
|
25511
25518
|
|
|
25512
|
-
const
|
|
25513
|
-
|
|
25519
|
+
const factory = (env) => {
|
|
25520
|
+
const {fetch, Request, Response} = Object.assign({}, globalFetchAPI, env);
|
|
25521
|
+
const isFetchSupported = isFunction(fetch);
|
|
25522
|
+
const isRequestSupported = isFunction(Request);
|
|
25523
|
+
const isResponseSupported = isFunction(Response);
|
|
25514
25524
|
|
|
25515
|
-
|
|
25516
|
-
|
|
25517
|
-
|
|
25518
|
-
get duplex() {
|
|
25519
|
-
duplexAccessed = true;
|
|
25520
|
-
return 'half';
|
|
25521
|
-
},
|
|
25522
|
-
}).headers.has('Content-Type');
|
|
25525
|
+
if (!isFetchSupported) {
|
|
25526
|
+
return false;
|
|
25527
|
+
}
|
|
25523
25528
|
|
|
25524
|
-
|
|
25525
|
-
});
|
|
25529
|
+
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);
|
|
25526
25530
|
|
|
25527
|
-
const
|
|
25531
|
+
const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?
|
|
25532
|
+
((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :
|
|
25533
|
+
async (str) => new Uint8Array(await new Request(str).arrayBuffer())
|
|
25534
|
+
);
|
|
25528
25535
|
|
|
25529
|
-
const
|
|
25530
|
-
|
|
25536
|
+
const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
|
|
25537
|
+
let duplexAccessed = false;
|
|
25531
25538
|
|
|
25539
|
+
const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].origin, {
|
|
25540
|
+
body: new ReadableStream(),
|
|
25541
|
+
method: 'POST',
|
|
25542
|
+
get duplex() {
|
|
25543
|
+
duplexAccessed = true;
|
|
25544
|
+
return 'half';
|
|
25545
|
+
},
|
|
25546
|
+
}).headers.has('Content-Type');
|
|
25532
25547
|
|
|
25533
|
-
|
|
25534
|
-
|
|
25535
|
-
|
|
25548
|
+
return duplexAccessed && !hasContentType;
|
|
25549
|
+
});
|
|
25550
|
+
|
|
25551
|
+
const supportsResponseStream = isResponseSupported && isReadableStreamSupported &&
|
|
25552
|
+
test(() => _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(new Response('').body));
|
|
25553
|
+
|
|
25554
|
+
const resolvers = {
|
|
25555
|
+
stream: supportsResponseStream && ((res) => res.body)
|
|
25556
|
+
};
|
|
25557
|
+
|
|
25558
|
+
isFetchSupported && ((() => {
|
|
25559
|
+
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
|
|
25560
|
+
!resolvers[type] && (resolvers[type] = (res, config) => {
|
|
25561
|
+
let method = res && res[type];
|
|
25562
|
+
|
|
25563
|
+
if (method) {
|
|
25564
|
+
return method.call(res);
|
|
25565
|
+
}
|
|
25536
25566
|
|
|
25537
|
-
isFetchSupported && (((res) => {
|
|
25538
|
-
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
|
|
25539
|
-
!resolvers[type] && (resolvers[type] = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(res[type]) ? (res) => res[type]() :
|
|
25540
|
-
(_, config) => {
|
|
25541
25567
|
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](`Response type '${type}' is not supported`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NOT_SUPPORT, config);
|
|
25542
25568
|
})
|
|
25543
|
-
|
|
25544
|
-
})(
|
|
25569
|
+
});
|
|
25570
|
+
})());
|
|
25545
25571
|
|
|
25546
|
-
const getBodyLength = async (body) => {
|
|
25547
|
-
|
|
25548
|
-
|
|
25549
|
-
|
|
25572
|
+
const getBodyLength = async (body) => {
|
|
25573
|
+
if (body == null) {
|
|
25574
|
+
return 0;
|
|
25575
|
+
}
|
|
25550
25576
|
|
|
25551
|
-
|
|
25552
|
-
|
|
25553
|
-
|
|
25577
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(body)) {
|
|
25578
|
+
return body.size;
|
|
25579
|
+
}
|
|
25554
25580
|
|
|
25555
|
-
|
|
25556
|
-
|
|
25557
|
-
|
|
25558
|
-
|
|
25559
|
-
|
|
25560
|
-
|
|
25561
|
-
|
|
25581
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSpecCompliantForm(body)) {
|
|
25582
|
+
const _request = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].origin, {
|
|
25583
|
+
method: 'POST',
|
|
25584
|
+
body,
|
|
25585
|
+
});
|
|
25586
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
25587
|
+
}
|
|
25562
25588
|
|
|
25563
|
-
|
|
25564
|
-
|
|
25565
|
-
|
|
25589
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBufferView(body) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBuffer(body)) {
|
|
25590
|
+
return body.byteLength;
|
|
25591
|
+
}
|
|
25592
|
+
|
|
25593
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(body)) {
|
|
25594
|
+
body = body + '';
|
|
25595
|
+
}
|
|
25566
25596
|
|
|
25567
|
-
|
|
25568
|
-
|
|
25597
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(body)) {
|
|
25598
|
+
return (await encodeText(body)).byteLength;
|
|
25599
|
+
}
|
|
25569
25600
|
}
|
|
25570
25601
|
|
|
25571
|
-
|
|
25572
|
-
|
|
25602
|
+
const resolveBodyLength = async (headers, body) => {
|
|
25603
|
+
const length = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(headers.getContentLength());
|
|
25604
|
+
|
|
25605
|
+
return length == null ? getBodyLength(body) : length;
|
|
25573
25606
|
}
|
|
25574
|
-
}
|
|
25575
25607
|
|
|
25576
|
-
|
|
25577
|
-
|
|
25608
|
+
return async (config) => {
|
|
25609
|
+
let {
|
|
25610
|
+
url,
|
|
25611
|
+
method,
|
|
25612
|
+
data,
|
|
25613
|
+
signal,
|
|
25614
|
+
cancelToken,
|
|
25615
|
+
timeout,
|
|
25616
|
+
onDownloadProgress,
|
|
25617
|
+
onUploadProgress,
|
|
25618
|
+
responseType,
|
|
25619
|
+
headers,
|
|
25620
|
+
withCredentials = 'same-origin',
|
|
25621
|
+
fetchOptions
|
|
25622
|
+
} = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
|
|
25578
25623
|
|
|
25579
|
-
|
|
25580
|
-
}
|
|
25624
|
+
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
25581
25625
|
|
|
25582
|
-
|
|
25583
|
-
|
|
25584
|
-
|
|
25585
|
-
|
|
25586
|
-
|
|
25587
|
-
signal,
|
|
25588
|
-
cancelToken,
|
|
25589
|
-
timeout,
|
|
25590
|
-
onDownloadProgress,
|
|
25591
|
-
onUploadProgress,
|
|
25592
|
-
responseType,
|
|
25593
|
-
headers,
|
|
25594
|
-
withCredentials = 'same-origin',
|
|
25595
|
-
fetchOptions
|
|
25596
|
-
} = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
|
|
25597
|
-
|
|
25598
|
-
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
25599
|
-
|
|
25600
|
-
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
25601
|
-
|
|
25602
|
-
let request;
|
|
25603
|
-
|
|
25604
|
-
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
25626
|
+
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
25627
|
+
|
|
25628
|
+
let request = null;
|
|
25629
|
+
|
|
25630
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
25605
25631
|
composedSignal.unsubscribe();
|
|
25606
|
-
|
|
25632
|
+
});
|
|
25607
25633
|
|
|
25608
|
-
|
|
25634
|
+
let requestContentLength;
|
|
25609
25635
|
|
|
25610
|
-
|
|
25611
|
-
|
|
25612
|
-
|
|
25613
|
-
|
|
25614
|
-
|
|
25615
|
-
|
|
25616
|
-
|
|
25617
|
-
|
|
25618
|
-
|
|
25619
|
-
|
|
25636
|
+
try {
|
|
25637
|
+
if (
|
|
25638
|
+
onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' &&
|
|
25639
|
+
(requestContentLength = await resolveBodyLength(headers, data)) !== 0
|
|
25640
|
+
) {
|
|
25641
|
+
let _request = new Request(url, {
|
|
25642
|
+
method: 'POST',
|
|
25643
|
+
body: data,
|
|
25644
|
+
duplex: "half"
|
|
25645
|
+
});
|
|
25620
25646
|
|
|
25621
|
-
|
|
25647
|
+
let contentTypeHeader;
|
|
25622
25648
|
|
|
25623
|
-
|
|
25624
|
-
|
|
25625
|
-
|
|
25649
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
|
|
25650
|
+
headers.setContentType(contentTypeHeader)
|
|
25651
|
+
}
|
|
25626
25652
|
|
|
25627
|
-
|
|
25628
|
-
|
|
25629
|
-
|
|
25630
|
-
|
|
25631
|
-
|
|
25653
|
+
if (_request.body) {
|
|
25654
|
+
const [onProgress, flush] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventDecorator)(
|
|
25655
|
+
requestContentLength,
|
|
25656
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onUploadProgress))
|
|
25657
|
+
);
|
|
25632
25658
|
|
|
25633
|
-
|
|
25659
|
+
data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
25660
|
+
}
|
|
25634
25661
|
}
|
|
25635
|
-
}
|
|
25636
25662
|
|
|
25637
|
-
|
|
25638
|
-
|
|
25639
|
-
|
|
25663
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(withCredentials)) {
|
|
25664
|
+
withCredentials = withCredentials ? 'include' : 'omit';
|
|
25665
|
+
}
|
|
25640
25666
|
|
|
25641
|
-
|
|
25642
|
-
|
|
25643
|
-
|
|
25644
|
-
request = new Request(url, {
|
|
25645
|
-
...fetchOptions,
|
|
25646
|
-
signal: composedSignal,
|
|
25647
|
-
method: method.toUpperCase(),
|
|
25648
|
-
headers: headers.normalize().toJSON(),
|
|
25649
|
-
body: data,
|
|
25650
|
-
duplex: "half",
|
|
25651
|
-
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
25652
|
-
});
|
|
25667
|
+
// Cloudflare Workers throws when credentials are defined
|
|
25668
|
+
// see https://github.com/cloudflare/workerd/issues/902
|
|
25669
|
+
const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
|
|
25653
25670
|
|
|
25654
|
-
|
|
25671
|
+
const resolvedOptions = {
|
|
25672
|
+
...fetchOptions,
|
|
25673
|
+
signal: composedSignal,
|
|
25674
|
+
method: method.toUpperCase(),
|
|
25675
|
+
headers: headers.normalize().toJSON(),
|
|
25676
|
+
body: data,
|
|
25677
|
+
duplex: "half",
|
|
25678
|
+
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
25679
|
+
};
|
|
25655
25680
|
|
|
25656
|
-
|
|
25681
|
+
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
25657
25682
|
|
|
25658
|
-
|
|
25659
|
-
const options = {};
|
|
25683
|
+
let response = await (isRequestSupported ? fetch(request, fetchOptions) : fetch(url, resolvedOptions));
|
|
25660
25684
|
|
|
25661
|
-
|
|
25662
|
-
|
|
25663
|
-
|
|
25685
|
+
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
25686
|
+
|
|
25687
|
+
if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
|
|
25688
|
+
const options = {};
|
|
25664
25689
|
|
|
25665
|
-
|
|
25690
|
+
['status', 'statusText', 'headers'].forEach(prop => {
|
|
25691
|
+
options[prop] = response[prop];
|
|
25692
|
+
});
|
|
25666
25693
|
|
|
25667
|
-
|
|
25668
|
-
responseContentLength,
|
|
25669
|
-
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onDownloadProgress), true)
|
|
25670
|
-
) || [];
|
|
25694
|
+
const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(response.headers.get('content-length'));
|
|
25671
25695
|
|
|
25672
|
-
|
|
25673
|
-
|
|
25674
|
-
|
|
25675
|
-
|
|
25676
|
-
|
|
25677
|
-
|
|
25678
|
-
|
|
25679
|
-
|
|
25696
|
+
const [onProgress, flush] = onDownloadProgress && (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventDecorator)(
|
|
25697
|
+
responseContentLength,
|
|
25698
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onDownloadProgress), true)
|
|
25699
|
+
) || [];
|
|
25700
|
+
|
|
25701
|
+
response = new Response(
|
|
25702
|
+
(0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
25703
|
+
flush && flush();
|
|
25704
|
+
unsubscribe && unsubscribe();
|
|
25705
|
+
}),
|
|
25706
|
+
options
|
|
25707
|
+
);
|
|
25708
|
+
}
|
|
25680
25709
|
|
|
25681
|
-
|
|
25710
|
+
responseType = responseType || 'text';
|
|
25682
25711
|
|
|
25683
|
-
|
|
25712
|
+
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(resolvers, responseType) || 'text'](response, config);
|
|
25684
25713
|
|
|
25685
|
-
|
|
25714
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
25686
25715
|
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25716
|
+
return await new Promise((resolve, reject) => {
|
|
25717
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_7__["default"])(resolve, reject, {
|
|
25718
|
+
data: responseData,
|
|
25719
|
+
headers: _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__["default"].from(response.headers),
|
|
25720
|
+
status: response.status,
|
|
25721
|
+
statusText: response.statusText,
|
|
25722
|
+
config,
|
|
25723
|
+
request
|
|
25724
|
+
})
|
|
25695
25725
|
})
|
|
25696
|
-
})
|
|
25697
|
-
|
|
25698
|
-
unsubscribe && unsubscribe();
|
|
25726
|
+
} catch (err) {
|
|
25727
|
+
unsubscribe && unsubscribe();
|
|
25699
25728
|
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25729
|
+
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
25730
|
+
throw Object.assign(
|
|
25731
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK, config, request),
|
|
25732
|
+
{
|
|
25733
|
+
cause: err.cause || err
|
|
25734
|
+
}
|
|
25735
|
+
)
|
|
25736
|
+
}
|
|
25737
|
+
|
|
25738
|
+
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request);
|
|
25707
25739
|
}
|
|
25740
|
+
}
|
|
25741
|
+
}
|
|
25742
|
+
|
|
25743
|
+
const seedCache = new Map();
|
|
25744
|
+
|
|
25745
|
+
const getFetch = (config) => {
|
|
25746
|
+
let env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call({
|
|
25747
|
+
skipUndefined: true
|
|
25748
|
+
}, globalFetchAPI, config ? config.env : null);
|
|
25708
25749
|
|
|
25709
|
-
|
|
25750
|
+
const {fetch, Request, Response} = env;
|
|
25751
|
+
|
|
25752
|
+
const seeds = [
|
|
25753
|
+
Request, Response, fetch
|
|
25754
|
+
];
|
|
25755
|
+
|
|
25756
|
+
let len = seeds.length, i = len,
|
|
25757
|
+
seed, target, map = seedCache;
|
|
25758
|
+
|
|
25759
|
+
while (i--) {
|
|
25760
|
+
seed = seeds[i];
|
|
25761
|
+
target = map.get(seed);
|
|
25762
|
+
|
|
25763
|
+
target === undefined && map.set(seed, target = (i ? new Map() : factory(env)))
|
|
25764
|
+
|
|
25765
|
+
map = target;
|
|
25710
25766
|
}
|
|
25711
|
-
}));
|
|
25712
25767
|
|
|
25768
|
+
return target;
|
|
25769
|
+
};
|
|
25770
|
+
|
|
25771
|
+
const adapter = getFetch();
|
|
25713
25772
|
|
|
25773
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (adapter);
|
|
25714
25774
|
|
|
25715
25775
|
|
|
25716
25776
|
/***/ }),
|
|
@@ -25728,30 +25788,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25728
25788
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
25729
25789
|
/* harmony export */ });
|
|
25730
25790
|
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
25731
|
-
/* harmony import */ var
|
|
25791
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./../core/settle.js */ "../node_modules/axios/lib/core/settle.js");
|
|
25732
25792
|
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../node_modules/axios/lib/core/buildFullPath.js");
|
|
25733
|
-
/* harmony import */ var
|
|
25793
|
+
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./../helpers/buildURL.js */ "../node_modules/axios/lib/helpers/buildURL.js");
|
|
25734
25794
|
/* harmony import */ var proxy_from_env__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! proxy-from-env */ "../node_modules/proxy-from-env/index.js");
|
|
25735
25795
|
/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! http */ "http");
|
|
25736
25796
|
/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! https */ "https");
|
|
25737
25797
|
/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! util */ "util");
|
|
25738
25798
|
/* harmony import */ var follow_redirects__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! follow-redirects */ "../node_modules/follow-redirects/index.js");
|
|
25739
25799
|
/* harmony import */ var zlib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! zlib */ "zlib");
|
|
25740
|
-
/* harmony import */ var
|
|
25741
|
-
/* harmony import */ var
|
|
25742
|
-
/* harmony import */ var
|
|
25800
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../env/data.js */ "../node_modules/axios/lib/env/data.js");
|
|
25801
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../defaults/transitional.js */ "../node_modules/axios/lib/defaults/transitional.js");
|
|
25802
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
25743
25803
|
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../node_modules/axios/lib/cancel/CanceledError.js");
|
|
25744
25804
|
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
25745
|
-
/* harmony import */ var
|
|
25805
|
+
/* harmony import */ var _helpers_fromDataURI_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../helpers/fromDataURI.js */ "../node_modules/axios/lib/helpers/fromDataURI.js");
|
|
25746
25806
|
/* harmony import */ var stream__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! stream */ "stream");
|
|
25747
|
-
/* harmony import */ var
|
|
25748
|
-
/* harmony import */ var
|
|
25807
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
25808
|
+
/* harmony import */ var _helpers_AxiosTransformStream_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../helpers/AxiosTransformStream.js */ "../node_modules/axios/lib/helpers/AxiosTransformStream.js");
|
|
25749
25809
|
/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! events */ "events");
|
|
25750
|
-
/* harmony import */ var
|
|
25751
|
-
/* harmony import */ var
|
|
25752
|
-
/* harmony import */ var
|
|
25810
|
+
/* harmony import */ var _helpers_formDataToStream_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../helpers/formDataToStream.js */ "../node_modules/axios/lib/helpers/formDataToStream.js");
|
|
25811
|
+
/* harmony import */ var _helpers_readBlob_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../helpers/readBlob.js */ "../node_modules/axios/lib/helpers/readBlob.js");
|
|
25812
|
+
/* harmony import */ var _helpers_ZlibHeaderTransformStream_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../helpers/ZlibHeaderTransformStream.js */ "../node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js");
|
|
25753
25813
|
/* harmony import */ var _helpers_callbackify_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../helpers/callbackify.js */ "../node_modules/axios/lib/helpers/callbackify.js");
|
|
25754
|
-
/* harmony import */ var
|
|
25814
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
25815
|
+
/* harmony import */ var _helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../helpers/estimateDataURLDecodedBytes.js */ "../node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js");
|
|
25816
|
+
|
|
25755
25817
|
|
|
25756
25818
|
|
|
25757
25819
|
|
|
@@ -25800,6 +25862,7 @@ const supportedProtocols = _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["defa
|
|
|
25800
25862
|
return protocol + ':';
|
|
25801
25863
|
});
|
|
25802
25864
|
|
|
25865
|
+
|
|
25803
25866
|
const flushOnFinish = (stream, [throttled, flush]) => {
|
|
25804
25867
|
stream
|
|
25805
25868
|
.on('end', flush)
|
|
@@ -25808,6 +25871,7 @@ const flushOnFinish = (stream, [throttled, flush]) => {
|
|
|
25808
25871
|
return throttled;
|
|
25809
25872
|
}
|
|
25810
25873
|
|
|
25874
|
+
|
|
25811
25875
|
/**
|
|
25812
25876
|
* If the proxy or config beforeRedirects functions are defined, call them with the options
|
|
25813
25877
|
* object.
|
|
@@ -25987,10 +26051,25 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
25987
26051
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
25988
26052
|
|
|
25989
26053
|
if (protocol === 'data:') {
|
|
26054
|
+
// Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
|
|
26055
|
+
if (config.maxContentLength > -1) {
|
|
26056
|
+
// Use the exact string passed to fromDataURI (config.url); fall back to fullPath if needed.
|
|
26057
|
+
const dataUrl = String(config.url || fullPath || '');
|
|
26058
|
+
const estimated = (0,_helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_13__["default"])(dataUrl);
|
|
26059
|
+
|
|
26060
|
+
if (estimated > config.maxContentLength) {
|
|
26061
|
+
return reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"](
|
|
26062
|
+
'maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
26063
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ERR_BAD_RESPONSE,
|
|
26064
|
+
config
|
|
26065
|
+
));
|
|
26066
|
+
}
|
|
26067
|
+
}
|
|
26068
|
+
|
|
25990
26069
|
let convertedData;
|
|
25991
26070
|
|
|
25992
26071
|
if (method !== 'GET') {
|
|
25993
|
-
return (0,
|
|
26072
|
+
return (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_15__["default"])(resolve, reject, {
|
|
25994
26073
|
status: 405,
|
|
25995
26074
|
statusText: 'method not allowed',
|
|
25996
26075
|
headers: {},
|
|
@@ -25999,11 +26078,11 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
25999
26078
|
}
|
|
26000
26079
|
|
|
26001
26080
|
try {
|
|
26002
|
-
convertedData = (0,
|
|
26081
|
+
convertedData = (0,_helpers_fromDataURI_js__WEBPACK_IMPORTED_MODULE_16__["default"])(config.url, responseType === 'blob', {
|
|
26003
26082
|
Blob: config.env && config.env.Blob
|
|
26004
26083
|
});
|
|
26005
26084
|
} catch (err) {
|
|
26006
|
-
throw
|
|
26085
|
+
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].from(err, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ERR_BAD_REQUEST, config);
|
|
26007
26086
|
}
|
|
26008
26087
|
|
|
26009
26088
|
if (responseType === 'text') {
|
|
@@ -26016,30 +26095,30 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26016
26095
|
convertedData = stream__WEBPACK_IMPORTED_MODULE_6__.Readable.from(convertedData);
|
|
26017
26096
|
}
|
|
26018
26097
|
|
|
26019
|
-
return (0,
|
|
26098
|
+
return (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_15__["default"])(resolve, reject, {
|
|
26020
26099
|
data: convertedData,
|
|
26021
26100
|
status: 200,
|
|
26022
26101
|
statusText: 'OK',
|
|
26023
|
-
headers: new
|
|
26102
|
+
headers: new _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_17__["default"](),
|
|
26024
26103
|
config
|
|
26025
26104
|
});
|
|
26026
26105
|
}
|
|
26027
26106
|
|
|
26028
26107
|
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
26029
|
-
return reject(new
|
|
26108
|
+
return reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"](
|
|
26030
26109
|
'Unsupported protocol ' + protocol,
|
|
26031
|
-
|
|
26110
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ERR_BAD_REQUEST,
|
|
26032
26111
|
config
|
|
26033
26112
|
));
|
|
26034
26113
|
}
|
|
26035
26114
|
|
|
26036
|
-
const headers =
|
|
26115
|
+
const headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_17__["default"].from(config.headers).normalize();
|
|
26037
26116
|
|
|
26038
26117
|
// Set User-Agent (required by some servers)
|
|
26039
26118
|
// See https://github.com/axios/axios/issues/69
|
|
26040
26119
|
// User-Agent is specified; handle case where no UA header is desired
|
|
26041
26120
|
// Only set header if it hasn't been set in config
|
|
26042
|
-
headers.set('User-Agent', 'axios/' +
|
|
26121
|
+
headers.set('User-Agent', 'axios/' + _env_data_js__WEBPACK_IMPORTED_MODULE_18__.VERSION, false);
|
|
26043
26122
|
|
|
26044
26123
|
const {onUploadProgress, onDownloadProgress} = config;
|
|
26045
26124
|
const maxRate = config.maxRate;
|
|
@@ -26050,10 +26129,10 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26050
26129
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].isSpecCompliantForm(data)) {
|
|
26051
26130
|
const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
|
|
26052
26131
|
|
|
26053
|
-
data = (0,
|
|
26132
|
+
data = (0,_helpers_formDataToStream_js__WEBPACK_IMPORTED_MODULE_19__["default"])(data, (formHeaders) => {
|
|
26054
26133
|
headers.set(formHeaders);
|
|
26055
26134
|
}, {
|
|
26056
|
-
tag: `axios-${
|
|
26135
|
+
tag: `axios-${_env_data_js__WEBPACK_IMPORTED_MODULE_18__.VERSION}-boundary`,
|
|
26057
26136
|
boundary: userBoundary && userBoundary[1] || undefined
|
|
26058
26137
|
});
|
|
26059
26138
|
// support for https://www.npmjs.com/package/form-data api
|
|
@@ -26071,7 +26150,7 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26071
26150
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].isBlob(data) || _utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].isFile(data)) {
|
|
26072
26151
|
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
26073
26152
|
headers.setContentLength(data.size || 0);
|
|
26074
|
-
data = stream__WEBPACK_IMPORTED_MODULE_6__.Readable.from((0,
|
|
26153
|
+
data = stream__WEBPACK_IMPORTED_MODULE_6__.Readable.from((0,_helpers_readBlob_js__WEBPACK_IMPORTED_MODULE_20__["default"])(data));
|
|
26075
26154
|
} else if (data && !_utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].isStream(data)) {
|
|
26076
26155
|
if (Buffer.isBuffer(data)) {
|
|
26077
26156
|
// Nothing to do...
|
|
@@ -26080,9 +26159,9 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26080
26159
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].isString(data)) {
|
|
26081
26160
|
data = Buffer.from(data, 'utf-8');
|
|
26082
26161
|
} else {
|
|
26083
|
-
return reject(new
|
|
26162
|
+
return reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"](
|
|
26084
26163
|
'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
|
|
26085
|
-
|
|
26164
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ERR_BAD_REQUEST,
|
|
26086
26165
|
config
|
|
26087
26166
|
));
|
|
26088
26167
|
}
|
|
@@ -26091,9 +26170,9 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26091
26170
|
headers.setContentLength(data.length, false);
|
|
26092
26171
|
|
|
26093
26172
|
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
|
|
26094
|
-
return reject(new
|
|
26173
|
+
return reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"](
|
|
26095
26174
|
'Request body larger than maxBodyLength limit',
|
|
26096
|
-
|
|
26175
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ERR_BAD_REQUEST,
|
|
26097
26176
|
config
|
|
26098
26177
|
));
|
|
26099
26178
|
}
|
|
@@ -26113,15 +26192,15 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26113
26192
|
data = stream__WEBPACK_IMPORTED_MODULE_6__.Readable.from(data, {objectMode: false});
|
|
26114
26193
|
}
|
|
26115
26194
|
|
|
26116
|
-
data = stream__WEBPACK_IMPORTED_MODULE_6__.pipeline([data, new
|
|
26195
|
+
data = stream__WEBPACK_IMPORTED_MODULE_6__.pipeline([data, new _helpers_AxiosTransformStream_js__WEBPACK_IMPORTED_MODULE_21__["default"]({
|
|
26117
26196
|
maxRate: _utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].toFiniteNumber(maxUploadRate)
|
|
26118
26197
|
})], _utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].noop);
|
|
26119
26198
|
|
|
26120
26199
|
onUploadProgress && data.on('progress', flushOnFinish(
|
|
26121
26200
|
data,
|
|
26122
|
-
(0,
|
|
26201
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_22__.progressEventDecorator)(
|
|
26123
26202
|
contentLength,
|
|
26124
|
-
(0,
|
|
26203
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_22__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_22__.asyncDecorator)(onUploadProgress), false, 3)
|
|
26125
26204
|
)
|
|
26126
26205
|
));
|
|
26127
26206
|
}
|
|
@@ -26145,7 +26224,7 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26145
26224
|
let path;
|
|
26146
26225
|
|
|
26147
26226
|
try {
|
|
26148
|
-
path = (0,
|
|
26227
|
+
path = (0,_helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_23__["default"])(
|
|
26149
26228
|
parsed.pathname + parsed.search,
|
|
26150
26229
|
config.params,
|
|
26151
26230
|
config.paramsSerializer
|
|
@@ -26223,15 +26302,15 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26223
26302
|
const responseLength = +res.headers['content-length'];
|
|
26224
26303
|
|
|
26225
26304
|
if (onDownloadProgress || maxDownloadRate) {
|
|
26226
|
-
const transformStream = new
|
|
26305
|
+
const transformStream = new _helpers_AxiosTransformStream_js__WEBPACK_IMPORTED_MODULE_21__["default"]({
|
|
26227
26306
|
maxRate: _utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].toFiniteNumber(maxDownloadRate)
|
|
26228
26307
|
});
|
|
26229
26308
|
|
|
26230
26309
|
onDownloadProgress && transformStream.on('progress', flushOnFinish(
|
|
26231
26310
|
transformStream,
|
|
26232
|
-
(0,
|
|
26311
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_22__.progressEventDecorator)(
|
|
26233
26312
|
responseLength,
|
|
26234
|
-
(0,
|
|
26313
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_22__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_22__.asyncDecorator)(onDownloadProgress), true, 3)
|
|
26235
26314
|
)
|
|
26236
26315
|
));
|
|
26237
26316
|
|
|
@@ -26265,7 +26344,7 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26265
26344
|
delete res.headers['content-encoding'];
|
|
26266
26345
|
break;
|
|
26267
26346
|
case 'deflate':
|
|
26268
|
-
streams.push(new
|
|
26347
|
+
streams.push(new _helpers_ZlibHeaderTransformStream_js__WEBPACK_IMPORTED_MODULE_24__["default"]());
|
|
26269
26348
|
|
|
26270
26349
|
// add the unzipper to the body stream processing pipeline
|
|
26271
26350
|
streams.push(zlib__WEBPACK_IMPORTED_MODULE_5__.createUnzip(zlibOptions));
|
|
@@ -26291,14 +26370,14 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26291
26370
|
const response = {
|
|
26292
26371
|
status: res.statusCode,
|
|
26293
26372
|
statusText: res.statusMessage,
|
|
26294
|
-
headers: new
|
|
26373
|
+
headers: new _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_17__["default"](res.headers),
|
|
26295
26374
|
config,
|
|
26296
26375
|
request: lastRequest
|
|
26297
26376
|
};
|
|
26298
26377
|
|
|
26299
26378
|
if (responseType === 'stream') {
|
|
26300
26379
|
response.data = responseStream;
|
|
26301
|
-
(0,
|
|
26380
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_15__["default"])(resolve, reject, response);
|
|
26302
26381
|
} else {
|
|
26303
26382
|
const responseBuffer = [];
|
|
26304
26383
|
let totalResponseBytes = 0;
|
|
@@ -26312,8 +26391,8 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26312
26391
|
// stream.destroy() emit aborted event before calling reject() on Node.js v16
|
|
26313
26392
|
rejected = true;
|
|
26314
26393
|
responseStream.destroy();
|
|
26315
|
-
reject(new
|
|
26316
|
-
|
|
26394
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"]('maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
26395
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ERR_BAD_RESPONSE, config, lastRequest));
|
|
26317
26396
|
}
|
|
26318
26397
|
});
|
|
26319
26398
|
|
|
@@ -26322,9 +26401,9 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26322
26401
|
return;
|
|
26323
26402
|
}
|
|
26324
26403
|
|
|
26325
|
-
const err = new
|
|
26404
|
+
const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"](
|
|
26326
26405
|
'stream has been aborted',
|
|
26327
|
-
|
|
26406
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ERR_BAD_RESPONSE,
|
|
26328
26407
|
config,
|
|
26329
26408
|
lastRequest
|
|
26330
26409
|
);
|
|
@@ -26334,7 +26413,7 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26334
26413
|
|
|
26335
26414
|
responseStream.on('error', function handleStreamError(err) {
|
|
26336
26415
|
if (req.destroyed) return;
|
|
26337
|
-
reject(
|
|
26416
|
+
reject(_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].from(err, null, config, lastRequest));
|
|
26338
26417
|
});
|
|
26339
26418
|
|
|
26340
26419
|
responseStream.on('end', function handleStreamEnd() {
|
|
@@ -26348,9 +26427,9 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26348
26427
|
}
|
|
26349
26428
|
response.data = responseData;
|
|
26350
26429
|
} catch (err) {
|
|
26351
|
-
return reject(
|
|
26430
|
+
return reject(_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].from(err, null, config, response.request, response));
|
|
26352
26431
|
}
|
|
26353
|
-
(0,
|
|
26432
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_15__["default"])(resolve, reject, response);
|
|
26354
26433
|
});
|
|
26355
26434
|
}
|
|
26356
26435
|
|
|
@@ -26371,7 +26450,7 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26371
26450
|
req.on('error', function handleRequestError(err) {
|
|
26372
26451
|
// @todo remove
|
|
26373
26452
|
// if (req.aborted && err.code !== AxiosError.ERR_FR_TOO_MANY_REDIRECTS) return;
|
|
26374
|
-
reject(
|
|
26453
|
+
reject(_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].from(err, null, config, req));
|
|
26375
26454
|
});
|
|
26376
26455
|
|
|
26377
26456
|
// set tcp keep alive to prevent drop connection by peer
|
|
@@ -26386,9 +26465,9 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26386
26465
|
const timeout = parseInt(config.timeout, 10);
|
|
26387
26466
|
|
|
26388
26467
|
if (Number.isNaN(timeout)) {
|
|
26389
|
-
reject(new
|
|
26468
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"](
|
|
26390
26469
|
'error trying to parse `config.timeout` to int',
|
|
26391
|
-
|
|
26470
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ERR_BAD_OPTION_VALUE,
|
|
26392
26471
|
config,
|
|
26393
26472
|
req
|
|
26394
26473
|
));
|
|
@@ -26404,13 +26483,13 @@ const buildAddressEntry = (address, family) => resolveFamily(_utils_js__WEBPACK_
|
|
|
26404
26483
|
req.setTimeout(timeout, function handleRequestTimeout() {
|
|
26405
26484
|
if (isDone) return;
|
|
26406
26485
|
let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
26407
|
-
const transitional = config.transitional ||
|
|
26486
|
+
const transitional = config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_25__["default"];
|
|
26408
26487
|
if (config.timeoutErrorMessage) {
|
|
26409
26488
|
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
26410
26489
|
}
|
|
26411
|
-
reject(new
|
|
26490
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"](
|
|
26412
26491
|
timeoutErrorMessage,
|
|
26413
|
-
transitional.clarifyTimeoutError ?
|
|
26492
|
+
transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_14__["default"].ECONNABORTED,
|
|
26414
26493
|
config,
|
|
26415
26494
|
req
|
|
26416
26495
|
));
|
|
@@ -26578,15 +26657,18 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
26578
26657
|
};
|
|
26579
26658
|
|
|
26580
26659
|
// Handle low level network errors
|
|
26581
|
-
|
|
26582
|
-
|
|
26583
|
-
|
|
26584
|
-
|
|
26585
|
-
|
|
26586
|
-
|
|
26587
|
-
|
|
26660
|
+
request.onerror = function handleError(event) {
|
|
26661
|
+
// Browsers deliver a ProgressEvent in XHR onerror
|
|
26662
|
+
// (message may be empty; when present, surface it)
|
|
26663
|
+
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
26664
|
+
const msg = event && event.message ? event.message : 'Network Error';
|
|
26665
|
+
const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](msg, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, config, request);
|
|
26666
|
+
// attach the underlying event for consumers who want details
|
|
26667
|
+
err.event = event || null;
|
|
26668
|
+
reject(err);
|
|
26669
|
+
request = null;
|
|
26588
26670
|
};
|
|
26589
|
-
|
|
26671
|
+
|
|
26590
26672
|
// Handle timeout
|
|
26591
26673
|
request.ontimeout = function handleTimeout() {
|
|
26592
26674
|
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
@@ -27375,11 +27457,18 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
27375
27457
|
return prop !== 'isAxiosError';
|
|
27376
27458
|
});
|
|
27377
27459
|
|
|
27378
|
-
|
|
27460
|
+
const msg = error && error.message ? error.message : 'Error';
|
|
27379
27461
|
|
|
27380
|
-
|
|
27462
|
+
// Prefer explicit code; otherwise copy the low-level error's code (e.g. ECONNREFUSED)
|
|
27463
|
+
const errCode = code == null && error ? error.code : code;
|
|
27464
|
+
AxiosError.call(axiosError, msg, errCode, config, request, response);
|
|
27381
27465
|
|
|
27382
|
-
|
|
27466
|
+
// Chain the original error on the standard field; non-enumerable to avoid JSON noise
|
|
27467
|
+
if (error && axiosError.cause == null) {
|
|
27468
|
+
Object.defineProperty(axiosError, 'cause', { value: error, configurable: true });
|
|
27469
|
+
}
|
|
27470
|
+
|
|
27471
|
+
axiosError.name = (error && error.name) || 'Error';
|
|
27383
27472
|
|
|
27384
27473
|
customProps && Object.assign(axiosError, customProps);
|
|
27385
27474
|
|
|
@@ -27913,7 +28002,7 @@ function dispatchRequest(config) {
|
|
|
27913
28002
|
config.headers.setContentType('application/x-www-form-urlencoded', false);
|
|
27914
28003
|
}
|
|
27915
28004
|
|
|
27916
|
-
const adapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__["default"].getAdapter(config.adapter || _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].adapter);
|
|
28005
|
+
const adapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__["default"].getAdapter(config.adapter || _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].adapter, config);
|
|
27917
28006
|
|
|
27918
28007
|
return adapter(config).then(function onAdapterResolution(response) {
|
|
27919
28008
|
throwIfCancellationRequested(config);
|
|
@@ -28293,7 +28382,7 @@ const defaults = {
|
|
|
28293
28382
|
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
28294
28383
|
|
|
28295
28384
|
try {
|
|
28296
|
-
return JSON.parse(data);
|
|
28385
|
+
return JSON.parse(data, this.parseReviver);
|
|
28297
28386
|
} catch (e) {
|
|
28298
28387
|
if (strictJSONParsing) {
|
|
28299
28388
|
if (e.name === 'SyntaxError') {
|
|
@@ -28378,7 +28467,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28378
28467
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28379
28468
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
28380
28469
|
/* harmony export */ });
|
|
28381
|
-
const VERSION = "1.
|
|
28470
|
+
const VERSION = "1.12.0";
|
|
28382
28471
|
|
|
28383
28472
|
/***/ }),
|
|
28384
28473
|
|
|
@@ -28799,9 +28888,7 @@ function encode(val) {
|
|
|
28799
28888
|
replace(/%3A/gi, ':').
|
|
28800
28889
|
replace(/%24/g, '$').
|
|
28801
28890
|
replace(/%2C/gi, ',').
|
|
28802
|
-
replace(/%20/g, '+')
|
|
28803
|
-
replace(/%5B/gi, '[').
|
|
28804
|
-
replace(/%5D/gi, ']');
|
|
28891
|
+
replace(/%20/g, '+');
|
|
28805
28892
|
}
|
|
28806
28893
|
|
|
28807
28894
|
/**
|
|
@@ -29039,6 +29126,94 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29039
29126
|
|
|
29040
29127
|
|
|
29041
29128
|
|
|
29129
|
+
/***/ }),
|
|
29130
|
+
|
|
29131
|
+
/***/ "../node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js":
|
|
29132
|
+
/*!************************************************************************!*\
|
|
29133
|
+
!*** ../node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js ***!
|
|
29134
|
+
\************************************************************************/
|
|
29135
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
29136
|
+
|
|
29137
|
+
"use strict";
|
|
29138
|
+
__webpack_require__.r(__webpack_exports__);
|
|
29139
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29140
|
+
/* harmony export */ "default": () => (/* binding */ estimateDataURLDecodedBytes)
|
|
29141
|
+
/* harmony export */ });
|
|
29142
|
+
/**
|
|
29143
|
+
* Estimate decoded byte length of a data:// URL *without* allocating large buffers.
|
|
29144
|
+
* - For base64: compute exact decoded size using length and padding;
|
|
29145
|
+
* handle %XX at the character-count level (no string allocation).
|
|
29146
|
+
* - For non-base64: use UTF-8 byteLength of the encoded body as a safe upper bound.
|
|
29147
|
+
*
|
|
29148
|
+
* @param {string} url
|
|
29149
|
+
* @returns {number}
|
|
29150
|
+
*/
|
|
29151
|
+
function estimateDataURLDecodedBytes(url) {
|
|
29152
|
+
if (!url || typeof url !== 'string') return 0;
|
|
29153
|
+
if (!url.startsWith('data:')) return 0;
|
|
29154
|
+
|
|
29155
|
+
const comma = url.indexOf(',');
|
|
29156
|
+
if (comma < 0) return 0;
|
|
29157
|
+
|
|
29158
|
+
const meta = url.slice(5, comma);
|
|
29159
|
+
const body = url.slice(comma + 1);
|
|
29160
|
+
const isBase64 = /;base64/i.test(meta);
|
|
29161
|
+
|
|
29162
|
+
if (isBase64) {
|
|
29163
|
+
let effectiveLen = body.length;
|
|
29164
|
+
const len = body.length; // cache length
|
|
29165
|
+
|
|
29166
|
+
for (let i = 0; i < len; i++) {
|
|
29167
|
+
if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {
|
|
29168
|
+
const a = body.charCodeAt(i + 1);
|
|
29169
|
+
const b = body.charCodeAt(i + 2);
|
|
29170
|
+
const isHex =
|
|
29171
|
+
((a >= 48 && a <= 57) || (a >= 65 && a <= 70) || (a >= 97 && a <= 102)) &&
|
|
29172
|
+
((b >= 48 && b <= 57) || (b >= 65 && b <= 70) || (b >= 97 && b <= 102));
|
|
29173
|
+
|
|
29174
|
+
if (isHex) {
|
|
29175
|
+
effectiveLen -= 2;
|
|
29176
|
+
i += 2;
|
|
29177
|
+
}
|
|
29178
|
+
}
|
|
29179
|
+
}
|
|
29180
|
+
|
|
29181
|
+
let pad = 0;
|
|
29182
|
+
let idx = len - 1;
|
|
29183
|
+
|
|
29184
|
+
const tailIsPct3D = (j) =>
|
|
29185
|
+
j >= 2 &&
|
|
29186
|
+
body.charCodeAt(j - 2) === 37 && // '%'
|
|
29187
|
+
body.charCodeAt(j - 1) === 51 && // '3'
|
|
29188
|
+
(body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'
|
|
29189
|
+
|
|
29190
|
+
if (idx >= 0) {
|
|
29191
|
+
if (body.charCodeAt(idx) === 61 /* '=' */) {
|
|
29192
|
+
pad++;
|
|
29193
|
+
idx--;
|
|
29194
|
+
} else if (tailIsPct3D(idx)) {
|
|
29195
|
+
pad++;
|
|
29196
|
+
idx -= 3;
|
|
29197
|
+
}
|
|
29198
|
+
}
|
|
29199
|
+
|
|
29200
|
+
if (pad === 1 && idx >= 0) {
|
|
29201
|
+
if (body.charCodeAt(idx) === 61 /* '=' */) {
|
|
29202
|
+
pad++;
|
|
29203
|
+
} else if (tailIsPct3D(idx)) {
|
|
29204
|
+
pad++;
|
|
29205
|
+
}
|
|
29206
|
+
}
|
|
29207
|
+
|
|
29208
|
+
const groups = Math.floor(effectiveLen / 4);
|
|
29209
|
+
const bytes = groups * 3 - (pad || 0);
|
|
29210
|
+
return bytes > 0 ? bytes : 0;
|
|
29211
|
+
}
|
|
29212
|
+
|
|
29213
|
+
return Buffer.byteLength(body, 'utf8');
|
|
29214
|
+
}
|
|
29215
|
+
|
|
29216
|
+
|
|
29042
29217
|
/***/ }),
|
|
29043
29218
|
|
|
29044
29219
|
/***/ "../node_modules/axios/lib/helpers/formDataToJSON.js":
|
|
@@ -29662,7 +29837,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29662
29837
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((config) => {
|
|
29663
29838
|
const newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])({}, config);
|
|
29664
29839
|
|
|
29665
|
-
let {data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth} = newConfig;
|
|
29840
|
+
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
29666
29841
|
|
|
29667
29842
|
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(headers);
|
|
29668
29843
|
|
|
@@ -29675,17 +29850,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29675
29850
|
);
|
|
29676
29851
|
}
|
|
29677
29852
|
|
|
29678
|
-
let contentType;
|
|
29679
|
-
|
|
29680
29853
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_4__["default"].isFormData(data)) {
|
|
29681
29854
|
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserWebWorkerEnv) {
|
|
29682
|
-
headers.setContentType(undefined); //
|
|
29683
|
-
} else if ((
|
|
29684
|
-
//
|
|
29685
|
-
const
|
|
29686
|
-
headers
|
|
29855
|
+
headers.setContentType(undefined); // browser handles it
|
|
29856
|
+
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_4__["default"].isFunction(data.getHeaders)) {
|
|
29857
|
+
// Node.js FormData (like form-data package)
|
|
29858
|
+
const formHeaders = data.getHeaders();
|
|
29859
|
+
// Only set safe headers to avoid overwriting security headers
|
|
29860
|
+
const allowedHeaders = ['content-type', 'content-length'];
|
|
29861
|
+
Object.entries(formHeaders).forEach(([key, val]) => {
|
|
29862
|
+
if (allowedHeaders.includes(key.toLowerCase())) {
|
|
29863
|
+
headers.set(key, val);
|
|
29864
|
+
}
|
|
29865
|
+
});
|
|
29687
29866
|
}
|
|
29688
|
-
}
|
|
29867
|
+
}
|
|
29689
29868
|
|
|
29690
29869
|
// Add xsrf header
|
|
29691
29870
|
// This is only done if running in a standard browser environment.
|
|
@@ -30726,7 +30905,7 @@ const isEmptyObject = (val) => {
|
|
|
30726
30905
|
if (!isObject(val) || isBuffer(val)) {
|
|
30727
30906
|
return false;
|
|
30728
30907
|
}
|
|
30729
|
-
|
|
30908
|
+
|
|
30730
30909
|
try {
|
|
30731
30910
|
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
30732
30911
|
} catch (e) {
|
|
@@ -30919,7 +31098,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
|
|
|
30919
31098
|
* @returns {Object} Result of all merge properties
|
|
30920
31099
|
*/
|
|
30921
31100
|
function merge(/* obj1, obj2, obj3, ... */) {
|
|
30922
|
-
const {caseless} = isContextDefined(this) && this || {};
|
|
31101
|
+
const {caseless, skipUndefined} = isContextDefined(this) && this || {};
|
|
30923
31102
|
const result = {};
|
|
30924
31103
|
const assignValue = (val, key) => {
|
|
30925
31104
|
const targetKey = caseless && findKey(result, key) || key;
|
|
@@ -30930,7 +31109,9 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
30930
31109
|
} else if (isArray(val)) {
|
|
30931
31110
|
result[targetKey] = val.slice();
|
|
30932
31111
|
} else {
|
|
30933
|
-
|
|
31112
|
+
if (!skipUndefined || !isUndefined(val)) {
|
|
31113
|
+
result[targetKey] = val;
|
|
31114
|
+
}
|
|
30934
31115
|
}
|
|
30935
31116
|
}
|
|
30936
31117
|
|
|
@@ -31211,6 +31392,8 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
31211
31392
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
31212
31393
|
}
|
|
31213
31394
|
|
|
31395
|
+
|
|
31396
|
+
|
|
31214
31397
|
/**
|
|
31215
31398
|
* If the thing is a FormData object, return true, otherwise return false.
|
|
31216
31399
|
*
|
|
@@ -32820,7 +33003,7 @@ function createClient(params, opts = {}) {
|
|
|
32820
33003
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
32821
33004
|
const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
|
|
32822
33005
|
// @ts-expect-error
|
|
32823
|
-
`${sdkMain}/${"11.57.
|
|
33006
|
+
`${sdkMain}/${"11.57.1"}`, params.application, params.integration, params.feature);
|
|
32824
33007
|
const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
32825
33008
|
userAgent
|
|
32826
33009
|
}));
|