@artisan-commerce/analytics-web 0.2.0-canary.54 → 0.2.0-canary.55

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.
@@ -41,7 +41,7 @@
41
41
 
42
42
  var name = "@artisan-commerce/analytics-web";
43
43
  var description = "Artisn commerce analytics web library";
44
- var version = "0.2.0-canary.53";
44
+ var version = "0.2.0-canary.54";
45
45
  var main = "./dist/bundle.cjs.js";
46
46
  var module = "./dist/bundle.esm.js";
47
47
  var types = "./dist/bundle.d.ts";
@@ -82,9 +82,9 @@
82
82
  "snake-case": "^3.0.4"
83
83
  };
84
84
  var devDependencies = {
85
- "@artisan-commerce/products": "0.9.0-canary.34",
86
- "@artisan-commerce/shopping-cart": "0.12.0-canary.51",
87
- "@artisan-commerce/types": "0.14.0-canary.26"
85
+ "@artisan-commerce/products": "0.9.0-canary.35",
86
+ "@artisan-commerce/shopping-cart": "0.12.0-canary.52",
87
+ "@artisan-commerce/types": "0.14.0-canary.27"
88
88
  };
89
89
  var peerDependencies = {
90
90
  "@artisan-commerce/products": "*",
@@ -1518,8 +1518,8 @@ ${key}: ${value}`;
1518
1518
  }, 0);
1519
1519
  };
1520
1520
  var __defProp$g$1 = Object.defineProperty;
1521
- var __defProps$d$1 = Object.defineProperties;
1522
- var __getOwnPropDescs$d$1 = Object.getOwnPropertyDescriptors;
1521
+ var __defProps$c$1 = Object.defineProperties;
1522
+ var __getOwnPropDescs$c$1 = Object.getOwnPropertyDescriptors;
1523
1523
  var __getOwnPropSymbols$g$1 = Object.getOwnPropertySymbols;
1524
1524
  var __hasOwnProp$g$1 = Object.prototype.hasOwnProperty;
1525
1525
  var __propIsEnum$g$1 = Object.prototype.propertyIsEnumerable;
@@ -1535,7 +1535,7 @@ ${key}: ${value}`;
1535
1535
  }
1536
1536
  return a;
1537
1537
  };
1538
- var __spreadProps$d$1 = (a, b) => __defProps$d$1(a, __getOwnPropDescs$d$1(b));
1538
+ var __spreadProps$c$1 = (a, b) => __defProps$c$1(a, __getOwnPropDescs$c$1(b));
1539
1539
  const { toCartProduct: toCartProduct$4 } = transformers_utils;
1540
1540
  const getShoppingCartTotal = (shoppingCart, config = {}) => {
1541
1541
  const initialValue = {
@@ -1613,7 +1613,7 @@ ${key}: ${value}`;
1613
1613
  const totalDiscount2 = copayment * discountPercentage;
1614
1614
  const newTotalDiscounts2 = prevTotalDiscounts + totalDiscount2;
1615
1615
  const newTotal2 = (copayment - totalDiscount2).toFixed(4);
1616
- return __spreadProps$d$1(__spreadValues$g$1({}, shoppingCartTotals), {
1616
+ return __spreadProps$c$1(__spreadValues$g$1({}, shoppingCartTotals), {
1617
1617
  totalDiscounts: newTotalDiscounts2,
1618
1618
  total: Number(newTotal2)
1619
1619
  });
@@ -1622,7 +1622,7 @@ ${key}: ${value}`;
1622
1622
  const totalDiscount = newSubtotal;
1623
1623
  const newTotalDiscounts = prevTotalDiscounts + totalDiscount;
1624
1624
  const newTotal = prevTotal - totalDiscount;
1625
- return __spreadProps$d$1(__spreadValues$g$1({}, shoppingCartTotals), {
1625
+ return __spreadProps$c$1(__spreadValues$g$1({}, shoppingCartTotals), {
1626
1626
  totalDiscounts: newTotalDiscounts,
1627
1627
  total: newTotal
1628
1628
  });