coveo.analytics 2.30.19 → 2.30.23

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.
@@ -728,7 +728,7 @@
728
728
  const v5 = v35('v5', 0x50, sha1);
729
729
  var uuidv5 = v5;
730
730
 
731
- var libVersion = "2.30.19" ;
731
+ var libVersion = "2.30.23" ;
732
732
 
733
733
  var getFormattedLocation = function (location) {
734
734
  return "".concat(location.protocol, "//").concat(location.hostname).concat(location.pathname.indexOf('/') === 0 ? location.pathname : "/".concat(location.pathname)).concat(location.search);
@@ -2312,9 +2312,6 @@
2312
2312
  });
2313
2313
  };
2314
2314
  ECPlugin.prototype.addECDataToPayload = function (eventType, payload) {
2315
- if (eventType === ECPluginEventTypes.pageview) {
2316
- return __assign(__assign(__assign({}, this.getLocationInformation(eventType, payload)), this.getDefaultContextInformation(eventType)), payload);
2317
- }
2318
2315
  var ecPayload = __assign(__assign(__assign(__assign({}, this.getLocationInformation(eventType, payload)), this.getDefaultContextInformation(eventType)), (this.action ? { action: this.action } : {})), (this.actionData || {}));
2319
2316
  var productPayload = this.getProductPayload();
2320
2317
  var impressionPayload = this.getImpressionPayload();