impaktapps-ui-builder 0.0.289 → 0.0.290
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.
|
@@ -9918,7 +9918,7 @@ const buildBodyFormat = (body2, formData, userValue2) => {
|
|
|
9918
9918
|
const finalBody = { ...userValue2 == null ? void 0 : userValue2.payload };
|
|
9919
9919
|
body2.map((elem) => {
|
|
9920
9920
|
var _a, _b;
|
|
9921
|
-
if ((elem == null ? void 0 : elem.value) !== "string") {
|
|
9921
|
+
if (typeof (elem == null ? void 0 : elem.value) !== "string") {
|
|
9922
9922
|
finalBody[elem.key] = elem.value;
|
|
9923
9923
|
} else {
|
|
9924
9924
|
if ((_a = elem == null ? void 0 : elem.value) == null ? void 0 : _a.startsWith("$userValue")) {
|
|
@@ -9936,7 +9936,6 @@ const buildBodyFormat = (body2, formData, userValue2) => {
|
|
|
9936
9936
|
};
|
|
9937
9937
|
const buildHeadersFormat = (headers2) => {
|
|
9938
9938
|
const headerObj = {
|
|
9939
|
-
"Content-Type": "application/json",
|
|
9940
9939
|
"X-Requested-With": "XMLHttpRequest"
|
|
9941
9940
|
};
|
|
9942
9941
|
headers2.map((elem) => {
|