@websolutespa/bom-mixer-ui 1.0.1 → 1.1.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-mixer-ui
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Modified: useApi.
8
+
3
9
  ## 1.0.1
4
10
 
5
11
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -12118,7 +12118,7 @@ const CategoryProposition = _ref => {
12118
12118
  });
12119
12119
  };
12120
12120
 
12121
- const CheckoutEmpty = _ref => {
12121
+ const CheckoutEmpty = () => {
12122
12122
  bomMixerHooks.useLabel();
12123
12123
  const layout = bomMixerHooks.useLayout();
12124
12124
  return jsxRuntime.jsx(jsxRuntime.Fragment, {
@@ -14246,7 +14246,7 @@ const CheckoutDiscount = _ref => {
14246
14246
  });
14247
14247
  setCheckout(response);
14248
14248
  if (typeof onDiscount === 'function') {
14249
- onDiscount(response);
14249
+ onDiscount(response.discounts);
14250
14250
  }
14251
14251
  reset();
14252
14252
  } catch (error) {