contentful-management 11.53.0 → 11.54.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 +27 -23
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +7 -3
- 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/dist/typings/entities/environment-template.d.ts +1 -0
- package/package.json +1 -1
|
@@ -25489,7 +25489,7 @@ const resolveBodyLength = async (headers, body) => {
|
|
|
25489
25489
|
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
25490
25490
|
});
|
|
25491
25491
|
|
|
25492
|
-
let response = await fetch(request);
|
|
25492
|
+
let response = await fetch(request, fetchOptions);
|
|
25493
25493
|
|
|
25494
25494
|
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
25495
25495
|
|
|
@@ -28216,7 +28216,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28216
28216
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28217
28217
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
28218
28218
|
/* harmony export */ });
|
|
28219
|
-
const VERSION = "1.
|
|
28219
|
+
const VERSION = "1.10.0";
|
|
28220
28220
|
|
|
28221
28221
|
/***/ }),
|
|
28222
28222
|
|
|
@@ -29857,6 +29857,10 @@ function toFormData(obj, formData, options) {
|
|
|
29857
29857
|
return value.toISOString();
|
|
29858
29858
|
}
|
|
29859
29859
|
|
|
29860
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBoolean(value)) {
|
|
29861
|
+
return value.toString();
|
|
29862
|
+
}
|
|
29863
|
+
|
|
29860
29864
|
if (!useBlob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(value)) {
|
|
29861
29865
|
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]('Blob is not supported. Use a Buffer instead.');
|
|
29862
29866
|
}
|
|
@@ -32617,7 +32621,7 @@ function createClient(params, opts = {}) {
|
|
|
32617
32621
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
32618
32622
|
const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
|
|
32619
32623
|
// @ts-expect-error
|
|
32620
|
-
`${sdkMain}/${"11.
|
|
32624
|
+
`${sdkMain}/${"11.54.1"}`, params.application, params.integration, params.feature);
|
|
32621
32625
|
const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
32622
32626
|
userAgent
|
|
32623
32627
|
}));
|