@zauru-sdk/services 2.0.81 → 2.0.82
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.
|
@@ -39,7 +39,6 @@ export const createNewPurchaseOrder = (headers, body) => {
|
|
|
39
39
|
...(body?.taggings?.map((x) => x?.tag_id?.toString()) ?? []),
|
|
40
40
|
],
|
|
41
41
|
};
|
|
42
|
-
delete headers["Content-type"];
|
|
43
42
|
delete sendBody.__rvfInternalFormId;
|
|
44
43
|
delete sendBody.taggings;
|
|
45
44
|
delete sendBody.purchase_order_details;
|
|
@@ -48,6 +47,7 @@ export const createNewPurchaseOrder = (headers, body) => {
|
|
|
48
47
|
};
|
|
49
48
|
if (sendBody.pdf) {
|
|
50
49
|
if (!(sendBody?.pdf instanceof File) || sendBody.pdf?.size <= 0) {
|
|
50
|
+
delete headers["Content-type"];
|
|
51
51
|
delete sendBody.pdf;
|
|
52
52
|
sendBody = convertToFormData(sendBody);
|
|
53
53
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.82",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"axios": "^1.6.7",
|
|
32
32
|
"chalk": "5.3.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "a680112df1b3824edcfb628add3ffb8e70746320"
|
|
35
35
|
}
|