coveo.analytics 2.30.5 → 2.30.7
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/browser.mjs +1 -1
- package/dist/coveoua.browser.js +1 -1
- package/dist/coveoua.browser.js.map +1 -1
- package/dist/coveoua.debug.js +1 -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/searchPage/searchPageEvents.d.ts +3 -6
- package/dist/definitions/version.d.ts +1 -1
- package/dist/library.cjs +1 -1
- package/dist/library.es.js +1 -1
- package/dist/library.js +1 -1
- package/dist/library.mjs +1 -1
- package/dist/react-native.es.js +1 -1
- package/package.json +1 -1
- package/src/insight/insightClient.spec.ts +6 -10
- package/src/searchPage/searchPageClient.spec.ts +3 -5
- package/src/searchPage/searchPageEvents.ts +3 -7
|
@@ -219,15 +219,12 @@ export interface GeneratedAnswerFeedbackMeta extends GeneratedAnswerBaseMeta {
|
|
|
219
219
|
details?: string;
|
|
220
220
|
}
|
|
221
221
|
export type GeneratedAnswerFeedbackReasonOption = 'yes' | 'unknown' | 'no';
|
|
222
|
-
export type GeneratedAnswerFeedbackReasonCorrectness = {
|
|
223
|
-
documented: GeneratedAnswerFeedbackReasonOption;
|
|
224
|
-
correctTopic: GeneratedAnswerFeedbackReasonOption;
|
|
225
|
-
hallucinationFree: GeneratedAnswerFeedbackReasonOption;
|
|
226
|
-
};
|
|
227
222
|
export interface GeneratedAnswerFeedbackMetaV2 extends GeneratedAnswerBaseMeta {
|
|
228
223
|
helpful: boolean;
|
|
229
224
|
readable: GeneratedAnswerFeedbackReasonOption;
|
|
230
|
-
|
|
225
|
+
documented: GeneratedAnswerFeedbackReasonOption;
|
|
226
|
+
correctTopic: GeneratedAnswerFeedbackReasonOption;
|
|
227
|
+
hallucinationFree: GeneratedAnswerFeedbackReasonOption;
|
|
231
228
|
details?: string;
|
|
232
229
|
documentUrl?: string;
|
|
233
230
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const libVersion = "2.30.
|
|
1
|
+
export declare const libVersion = "2.30.7";
|
package/dist/library.cjs
CHANGED
|
@@ -731,7 +731,7 @@ function sha1(bytes) {
|
|
|
731
731
|
const v5 = v35('v5', 0x50, sha1);
|
|
732
732
|
var uuidv5 = v5;
|
|
733
733
|
|
|
734
|
-
var libVersion = "2.30.
|
|
734
|
+
var libVersion = "2.30.7" ;
|
|
735
735
|
|
|
736
736
|
var getFormattedLocation = function (location) {
|
|
737
737
|
return "".concat(location.protocol, "//").concat(location.hostname).concat(location.pathname.indexOf('/') === 0 ? location.pathname : "/".concat(location.pathname)).concat(location.search);
|
package/dist/library.es.js
CHANGED
|
@@ -596,7 +596,7 @@ function sha1(bytes) {
|
|
|
596
596
|
const v5 = v35('v5', 0x50, sha1);
|
|
597
597
|
var uuidv5 = v5;
|
|
598
598
|
|
|
599
|
-
const libVersion = "2.30.
|
|
599
|
+
const libVersion = "2.30.7" ;
|
|
600
600
|
|
|
601
601
|
const getFormattedLocation = (location) => `${location.protocol}//${location.hostname}${location.pathname.indexOf('/') === 0 ? location.pathname : `/${location.pathname}`}${location.search}`;
|
|
602
602
|
|
package/dist/library.js
CHANGED
|
@@ -731,7 +731,7 @@ function sha1(bytes) {
|
|
|
731
731
|
const v5 = v35('v5', 0x50, sha1);
|
|
732
732
|
var uuidv5 = v5;
|
|
733
733
|
|
|
734
|
-
var libVersion = "2.30.
|
|
734
|
+
var libVersion = "2.30.7" ;
|
|
735
735
|
|
|
736
736
|
var getFormattedLocation = function (location) {
|
|
737
737
|
return "".concat(location.protocol, "//").concat(location.hostname).concat(location.pathname.indexOf('/') === 0 ? location.pathname : "/".concat(location.pathname)).concat(location.search);
|
package/dist/library.mjs
CHANGED
|
@@ -729,7 +729,7 @@ function sha1(bytes) {
|
|
|
729
729
|
const v5 = v35('v5', 0x50, sha1);
|
|
730
730
|
var uuidv5 = v5;
|
|
731
731
|
|
|
732
|
-
var libVersion = "2.30.
|
|
732
|
+
var libVersion = "2.30.7" ;
|
|
733
733
|
|
|
734
734
|
var getFormattedLocation = function (location) {
|
|
735
735
|
return "".concat(location.protocol, "//").concat(location.hostname).concat(location.pathname.indexOf('/') === 0 ? location.pathname : "/".concat(location.pathname)).concat(location.search);
|
package/dist/react-native.es.js
CHANGED
|
@@ -665,7 +665,7 @@ const addPageViewToHistory = (pageViewValue) => __awaiter(void 0, void 0, void 0
|
|
|
665
665
|
yield store.addElementAsync(historyElement);
|
|
666
666
|
});
|
|
667
667
|
|
|
668
|
-
const libVersion = "2.30.
|
|
668
|
+
const libVersion = "2.30.7" ;
|
|
669
669
|
|
|
670
670
|
const getFormattedLocation = (location) => `${location.protocol}//${location.hostname}${location.pathname.indexOf('/') === 0 ? location.pathname : `/${location.pathname}`}${location.search}`;
|
|
671
671
|
|
package/package.json
CHANGED
|
@@ -658,11 +658,9 @@ describe('InsightClient', () => {
|
|
|
658
658
|
generativeQuestionAnsweringId: '123',
|
|
659
659
|
helpful: true,
|
|
660
660
|
readable: <GeneratedAnswerFeedbackReasonOption>'yes',
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
hallucinationFree: <GeneratedAnswerFeedbackReasonOption>'yes',
|
|
665
|
-
},
|
|
661
|
+
documented: <GeneratedAnswerFeedbackReasonOption>'no',
|
|
662
|
+
correctTopic: <GeneratedAnswerFeedbackReasonOption>'unknown',
|
|
663
|
+
hallucinationFree: <GeneratedAnswerFeedbackReasonOption>'yes',
|
|
666
664
|
details: 'foo',
|
|
667
665
|
documentUrl: 'https://document.com',
|
|
668
666
|
};
|
|
@@ -1426,11 +1424,9 @@ describe('InsightClient', () => {
|
|
|
1426
1424
|
generativeQuestionAnsweringId: '123',
|
|
1427
1425
|
helpful: true,
|
|
1428
1426
|
readable: <GeneratedAnswerFeedbackReasonOption>'yes',
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
hallucinationFree: <GeneratedAnswerFeedbackReasonOption>'yes',
|
|
1433
|
-
},
|
|
1427
|
+
documented: <GeneratedAnswerFeedbackReasonOption>'no',
|
|
1428
|
+
correctTopic: <GeneratedAnswerFeedbackReasonOption>'unknown',
|
|
1429
|
+
hallucinationFree: <GeneratedAnswerFeedbackReasonOption>'yes',
|
|
1434
1430
|
details: 'foo',
|
|
1435
1431
|
documentUrl: 'https://document.com',
|
|
1436
1432
|
};
|
|
@@ -1607,11 +1607,9 @@ describe('SearchPageClient', () => {
|
|
|
1607
1607
|
generativeQuestionAnsweringId: fakeStreamId,
|
|
1608
1608
|
helpful: true,
|
|
1609
1609
|
readable: <GeneratedAnswerFeedbackReasonOption>'yes',
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
hallucinationFree: <GeneratedAnswerFeedbackReasonOption>'yes',
|
|
1614
|
-
},
|
|
1610
|
+
documented: <GeneratedAnswerFeedbackReasonOption>'no',
|
|
1611
|
+
correctTopic: <GeneratedAnswerFeedbackReasonOption>'unknown',
|
|
1612
|
+
hallucinationFree: <GeneratedAnswerFeedbackReasonOption>'yes',
|
|
1615
1613
|
details: 'a few additional details',
|
|
1616
1614
|
documentUrl: 'https://document.com',
|
|
1617
1615
|
};
|
|
@@ -573,16 +573,12 @@ export interface GeneratedAnswerFeedbackMeta extends GeneratedAnswerBaseMeta {
|
|
|
573
573
|
|
|
574
574
|
export type GeneratedAnswerFeedbackReasonOption = 'yes' | 'unknown' | 'no';
|
|
575
575
|
|
|
576
|
-
export type GeneratedAnswerFeedbackReasonCorrectness = {
|
|
577
|
-
documented: GeneratedAnswerFeedbackReasonOption;
|
|
578
|
-
correctTopic: GeneratedAnswerFeedbackReasonOption;
|
|
579
|
-
hallucinationFree: GeneratedAnswerFeedbackReasonOption;
|
|
580
|
-
};
|
|
581
|
-
|
|
582
576
|
export interface GeneratedAnswerFeedbackMetaV2 extends GeneratedAnswerBaseMeta {
|
|
583
577
|
helpful: boolean;
|
|
584
578
|
readable: GeneratedAnswerFeedbackReasonOption;
|
|
585
|
-
|
|
579
|
+
documented: GeneratedAnswerFeedbackReasonOption;
|
|
580
|
+
correctTopic: GeneratedAnswerFeedbackReasonOption;
|
|
581
|
+
hallucinationFree: GeneratedAnswerFeedbackReasonOption;
|
|
586
582
|
details?: string;
|
|
587
583
|
documentUrl?: string;
|
|
588
584
|
}
|