zakeke-configurator-react 0.0.193 → 0.0.194

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -69259,10 +69259,10 @@ var DesignPriceCalculatorRuleBased = /*#__PURE__*/_createClass(function DesignPr
69259
69259
  return side.get('sideID');
69260
69260
  });
69261
69261
  var sideIDsAndPrintTypesID = sidesIDs.map(function (sideID) {
69262
- var _design$get$find;
69263
- return [sideID, ((_design$get$find = design.get('sidesPrintTypes').find(function (sPT) {
69262
+ var sidePrintType = design.get('sidesPrintTypes').find(function (sPT) {
69264
69263
  return sPT.get('sideID') === sideID;
69265
- })) === null || _design$get$find === void 0 ? void 0 : _design$get$find.get('printTypeID')) || design.get('printTypeID')];
69264
+ });
69265
+ return [sideID, sidePrintType ? sidePrintType.get('printTypeID') : design.get('printTypeID')];
69266
69266
  });
69267
69267
  var pricingSidesMapping = new Map();
69268
69268
  var notRegroupedPricingAndSideIDs = [sideIDsAndPrintTypesID.map(function (sidePT) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zakeke-configurator-react",
3
- "version": "0.0.193",
3
+ "version": "0.0.194",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/declarations/composer/Module/src/index.d.ts",