coveo.analytics 2.27.2 → 2.27.4

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.
@@ -725,7 +725,7 @@
725
725
  const v5 = v35('v5', 0x50, sha1);
726
726
  var uuidv5 = v5;
727
727
 
728
- var libVersion = "2.27.2" ;
728
+ var libVersion = "2.27.4" ;
729
729
 
730
730
  var getFormattedLocation = function (location) {
731
731
  return "".concat(location.protocol, "//").concat(location.hostname).concat(location.pathname.indexOf('/') === 0 ? location.pathname : "/".concat(location.pathname)).concat(location.search);
@@ -4410,6 +4410,20 @@
4410
4410
  });
4411
4411
  });
4412
4412
  };
4413
+ CoveoInsightClient.prototype.logShowMoreFoldedResults = function (info, identifier, metadata) {
4414
+ return __awaiter(this, void 0, void 0, function () {
4415
+ return __generator(this, function (_a) {
4416
+ return [2, this.logClickEvent(SearchPageEvents.showMoreFoldedResults, info, identifier, metadata ? generateMetadataToSend(metadata, false) : undefined)];
4417
+ });
4418
+ });
4419
+ };
4420
+ CoveoInsightClient.prototype.logShowLessFoldedResults = function (metadata) {
4421
+ return __awaiter(this, void 0, void 0, function () {
4422
+ return __generator(this, function (_a) {
4423
+ return [2, this.logCustomEvent(SearchPageEvents.showLessFoldedResults, metadata ? generateMetadataToSend(metadata, false) : undefined)];
4424
+ });
4425
+ });
4426
+ };
4413
4427
  CoveoInsightClient.prototype.getBaseCustomEventRequest = function (metadata) {
4414
4428
  return __awaiter(this, void 0, void 0, function () {
4415
4429
  var _a;