@zauru-sdk/hooks 2.0.66 → 2.0.71

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.
@@ -114,8 +114,8 @@ const useGetPesadas = (purchaseOrder, stocks_only_integer = false) => {
114
114
  discount,
115
115
  netWeight: (0, common_1.toFixedIfNeeded)(netWeight)?.toString(),
116
116
  weightByBasket: (0, common_1.toFixedIfNeeded)(weightByBasket)?.toString(),
117
- probableUtilization,
118
- lbDiscounted,
117
+ probableUtilization: (0, common_1.toFixedIfNeeded)(probableUtilization)?.toString(),
118
+ lbDiscounted: (0, common_1.toFixedIfNeeded)(lbDiscounted)?.toString(),
119
119
  };
120
120
  }),
121
121
  ];
@@ -236,8 +236,8 @@ const getPesadasByForm = (formInput, stocks_only_integer = false) => {
236
236
  discount,
237
237
  netWeight: (0, common_1.toFixedIfNeeded)(netWeight)?.toString(),
238
238
  weightByBasket: (0, common_1.toFixedIfNeeded)(weightByBasket)?.toString(),
239
- probableUtilization,
240
- lbDiscounted,
239
+ probableUtilization: (0, common_1.toFixedIfNeeded)(probableUtilization)?.toString(),
240
+ lbDiscounted: (0, common_1.toFixedIfNeeded)(lbDiscounted)?.toString(),
241
241
  });
242
242
  index++;
243
243
  }
@@ -44,8 +44,8 @@ type PesadaBody = {
44
44
  discount: number;
45
45
  netWeight: string;
46
46
  weightByBasket: string;
47
- probableUtilization: number;
48
- lbDiscounted: number;
47
+ probableUtilization: string;
48
+ lbDiscounted: string;
49
49
  };
50
50
  export type FooterColumnConfig = {
51
51
  content: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/hooks",
3
- "version": "2.0.66",
3
+ "version": "2.0.71",
4
4
  "description": "Hooks reutilizables dentro de las webapps de Zauru.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -26,12 +26,12 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@remix-run/react": "^2.8.1",
29
- "@zauru-sdk/common": "^2.0.51",
29
+ "@zauru-sdk/common": "^2.0.70",
30
30
  "@zauru-sdk/icons": "^2.0.0",
31
- "@zauru-sdk/redux": "^2.0.51",
32
- "@zauru-sdk/types": "^2.0.51",
31
+ "@zauru-sdk/redux": "^2.0.70",
32
+ "@zauru-sdk/types": "^2.0.70",
33
33
  "react": "^18.2.0",
34
34
  "react-dom": "^18.2.0"
35
35
  },
36
- "gitHead": "9448a1f8c79c28126c09778ad4da0c38a5a88908"
36
+ "gitHead": "60dc6250f32f91277f9681f34c73e36ea55db543"
37
37
  }