@artisan-commerce/analytics-web 0.2.0-canary.151 → 0.2.0-canary.152

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/dist/bundle.d.ts CHANGED
@@ -2144,7 +2144,7 @@ interface PurchaseSuccessCommonParams {
2144
2144
  /** The order shopping cart */
2145
2145
  shoppingCart?: ShoppingCart;
2146
2146
  /** The selected payment type (e.g. Cash, Card) */
2147
- selectedPaymentType: PaymentType;
2147
+ paymentType: PaymentType;
2148
2148
  /** The workflow name (e.g. Delivery) */
2149
2149
  fulfillmentType: Workflow;
2150
2150
  /** If paying with card the card provider (e.g. visa) */
@@ -2345,8 +2345,6 @@ interface ViewProductDetailsParams$1 extends SegmentCommonEventParams, SegmentCu
2345
2345
  interface ViewProductDetailsCommonParams {
2346
2346
  /** The details of the product that the user is viewing */
2347
2347
  product: Product;
2348
- /** The shopping cart that the product belongs to */
2349
- cart: ShoppingCart;
2350
2348
  /** The list that the product belongs to, this is used to add `item_list_name` to the items array */
2351
2349
  list?: string;
2352
2350
  }
package/dist/bundle.mjs CHANGED
@@ -48,7 +48,7 @@ const _State = class {
48
48
  let State$1 = _State;
49
49
  State$1._instance = null;
50
50
 
51
- var version = "0.2.0-canary.151";
51
+ var version = "0.2.0-canary.152";
52
52
  var packageJSON = {
53
53
  version: version};
54
54
 
@@ -957,8 +957,8 @@ const toItems = (type, params) => {
957
957
  ];
958
958
  }
959
959
  case "viewProductDetails": {
960
- const { product, cart } = params;
961
- return toItemProduct(product, cart);
960
+ const { product } = params;
961
+ return toItemProduct(product);
962
962
  }
963
963
  case "purchaseSuccess": {
964
964
  const { shoppingCart } = params;