@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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.2.0-canary.55](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-web@0.2.0-canary.54...@artisan-commerce/analytics-web@0.2.0-canary.55) (2021-12-15)
7
+
8
+ **Note:** Version bump only for package @artisan-commerce/analytics-web
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.2.0-canary.54](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-web@0.2.0-canary.53...@artisan-commerce/analytics-web@0.2.0-canary.54) (2021-12-13)
7
15
 
8
16
  **Note:** Version bump only for package @artisan-commerce/analytics-web
@@ -39,7 +39,7 @@ const getState$1 = () => {
39
39
 
40
40
  var name = "@artisan-commerce/analytics-web";
41
41
  var description = "Artisn commerce analytics web library";
42
- var version = "0.2.0-canary.53";
42
+ var version = "0.2.0-canary.54";
43
43
  var main = "./dist/bundle.cjs.js";
44
44
  var module$1 = "./dist/bundle.esm.js";
45
45
  var types = "./dist/bundle.d.ts";
@@ -80,9 +80,9 @@ var dependencies = {
80
80
  "snake-case": "^3.0.4"
81
81
  };
82
82
  var devDependencies = {
83
- "@artisan-commerce/products": "0.9.0-canary.34",
84
- "@artisan-commerce/shopping-cart": "0.12.0-canary.51",
85
- "@artisan-commerce/types": "0.14.0-canary.26"
83
+ "@artisan-commerce/products": "0.9.0-canary.35",
84
+ "@artisan-commerce/shopping-cart": "0.12.0-canary.52",
85
+ "@artisan-commerce/types": "0.14.0-canary.27"
86
86
  };
87
87
  var peerDependencies = {
88
88
  "@artisan-commerce/products": "*",
@@ -1516,8 +1516,8 @@ const getTaxTotal$1 = (taxes, grossPrice) => {
1516
1516
  }, 0);
1517
1517
  };
1518
1518
  var __defProp$g$1 = Object.defineProperty;
1519
- var __defProps$d$1 = Object.defineProperties;
1520
- var __getOwnPropDescs$d$1 = Object.getOwnPropertyDescriptors;
1519
+ var __defProps$c$1 = Object.defineProperties;
1520
+ var __getOwnPropDescs$c$1 = Object.getOwnPropertyDescriptors;
1521
1521
  var __getOwnPropSymbols$g$1 = Object.getOwnPropertySymbols;
1522
1522
  var __hasOwnProp$g$1 = Object.prototype.hasOwnProperty;
1523
1523
  var __propIsEnum$g$1 = Object.prototype.propertyIsEnumerable;
@@ -1533,7 +1533,7 @@ var __spreadValues$g$1 = (a, b) => {
1533
1533
  }
1534
1534
  return a;
1535
1535
  };
1536
- var __spreadProps$d$1 = (a, b) => __defProps$d$1(a, __getOwnPropDescs$d$1(b));
1536
+ var __spreadProps$c$1 = (a, b) => __defProps$c$1(a, __getOwnPropDescs$c$1(b));
1537
1537
  const { toCartProduct: toCartProduct$4 } = transformers_utils;
1538
1538
  const getShoppingCartTotal = (shoppingCart, config = {}) => {
1539
1539
  const initialValue = {
@@ -1611,7 +1611,7 @@ const applyBenefitByDiscount = (benefit, shoppingCartTotals, additionalInfo) =>
1611
1611
  const totalDiscount2 = copayment * discountPercentage;
1612
1612
  const newTotalDiscounts2 = prevTotalDiscounts + totalDiscount2;
1613
1613
  const newTotal2 = (copayment - totalDiscount2).toFixed(4);
1614
- return __spreadProps$d$1(__spreadValues$g$1({}, shoppingCartTotals), {
1614
+ return __spreadProps$c$1(__spreadValues$g$1({}, shoppingCartTotals), {
1615
1615
  totalDiscounts: newTotalDiscounts2,
1616
1616
  total: Number(newTotal2)
1617
1617
  });
@@ -1620,7 +1620,7 @@ const applyBenefitByDiscount = (benefit, shoppingCartTotals, additionalInfo) =>
1620
1620
  const totalDiscount = newSubtotal;
1621
1621
  const newTotalDiscounts = prevTotalDiscounts + totalDiscount;
1622
1622
  const newTotal = prevTotal - totalDiscount;
1623
- return __spreadProps$d$1(__spreadValues$g$1({}, shoppingCartTotals), {
1623
+ return __spreadProps$c$1(__spreadValues$g$1({}, shoppingCartTotals), {
1624
1624
  totalDiscounts: newTotalDiscounts,
1625
1625
  total: newTotal
1626
1626
  });