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.
- package/dist/coveoua.browser.js +1 -1
- package/dist/coveoua.browser.js.map +1 -1
- package/dist/coveoua.debug.js +15 -1
- package/dist/coveoua.debug.js.map +1 -1
- package/dist/coveoua.js +1 -1
- package/dist/coveoua.js.map +1 -1
- package/dist/definitions/insight/insightClient.d.ts +2 -0
- package/dist/definitions/version.d.ts +1 -1
- package/dist/library.es.js +11 -1
- package/dist/library.js +15 -1
- package/dist/react-native.es.js +11 -1
- package/package.json +1 -1
- package/src/insight/insightClient.spec.ts +26 -0
- package/src/insight/insightClient.ts +20 -0
package/dist/coveoua.debug.js
CHANGED
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
const v5 = v35('v5', 0x50, sha1);
|
|
726
726
|
var uuidv5 = v5;
|
|
727
727
|
|
|
728
|
-
var libVersion = "2.27.
|
|
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;
|