@zauru-sdk/utils 2.0.147 → 2.0.149

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.
@@ -181,7 +181,7 @@ export const updateOchAndDis = async (headers, data, purchase_id) => {
181
181
  return handlePossibleAxiosErrors(async () => {
182
182
  const body = {
183
183
  purchase_order: {
184
- discount: data?.discount,
184
+ discount: Number(data?.discount),
185
185
  },
186
186
  };
187
187
  if (data.other_charges) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/utils",
3
- "version": "2.0.147",
3
+ "version": "2.0.149",
4
4
  "description": "Utilidades, parseo de request y demás para desarrollo de webapps de Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -27,8 +27,8 @@
27
27
  "@zauru-sdk/common": "^2.0.118",
28
28
  "@zauru-sdk/config": "^2.0.100",
29
29
  "@zauru-sdk/graphql": "^2.0.119",
30
- "@zauru-sdk/services": "^2.0.147",
30
+ "@zauru-sdk/services": "^2.0.149",
31
31
  "@zauru-sdk/types": "^2.0.109"
32
32
  },
33
- "gitHead": "ffc6b6dd78d0b4ebfdb3be4c50252b752db22d36"
33
+ "gitHead": "33cc34944dc71abeffc7e0691dcef50e6ce2fbaa"
34
34
  }