coveo.analytics 2.30.52 → 2.30.53

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.
@@ -69,6 +69,7 @@ export interface DocumentInformation {
69
69
  documentAuthor?: string;
70
70
  queryPipeline?: string;
71
71
  rankingModifier?: string;
72
+ documentCategory?: string;
72
73
  }
73
74
  export interface ClickEventRequest extends EventBaseRequest, DocumentInformation {
74
75
  }
@@ -1 +1 @@
1
- export declare const libVersion = "2.30.52";
1
+ export declare const libVersion = "2.30.53";
package/dist/library.cjs CHANGED
@@ -736,7 +736,7 @@ function sha1(bytes) {
736
736
  const v5 = v35('v5', 0x50, sha1);
737
737
  var uuidv5 = v5;
738
738
 
739
- var libVersion = "2.30.52";
739
+ var libVersion = "2.30.53";
740
740
 
741
741
  var getFormattedLocation = function (location) {
742
742
  return "".concat(location.protocol, "//").concat(location.hostname).concat(location.pathname.indexOf('/') === 0 ? location.pathname : "/".concat(location.pathname)).concat(location.search);
@@ -603,7 +603,7 @@ function sha1(bytes) {
603
603
  const v5 = v35('v5', 0x50, sha1);
604
604
  var uuidv5 = v5;
605
605
 
606
- const libVersion = "2.30.52";
606
+ const libVersion = "2.30.53";
607
607
 
608
608
  const getFormattedLocation = (location) => `${location.protocol}//${location.hostname}${location.pathname.indexOf('/') === 0 ? location.pathname : `/${location.pathname}`}${location.search}`;
609
609
 
package/dist/library.js CHANGED
@@ -736,7 +736,7 @@ function sha1(bytes) {
736
736
  const v5 = v35('v5', 0x50, sha1);
737
737
  var uuidv5 = v5;
738
738
 
739
- var libVersion = "2.30.52";
739
+ var libVersion = "2.30.53";
740
740
 
741
741
  var getFormattedLocation = function (location) {
742
742
  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
@@ -734,7 +734,7 @@ function sha1(bytes) {
734
734
  const v5 = v35('v5', 0x50, sha1);
735
735
  var uuidv5 = v5;
736
736
 
737
- var libVersion = "2.30.52";
737
+ var libVersion = "2.30.53";
738
738
 
739
739
  var getFormattedLocation = function (location) {
740
740
  return "".concat(location.protocol, "//").concat(location.hostname).concat(location.pathname.indexOf('/') === 0 ? location.pathname : "/".concat(location.pathname)).concat(location.search);
@@ -672,7 +672,7 @@ const addPageViewToHistory = (pageViewValue) => __awaiter(void 0, void 0, void 0
672
672
  yield store.addElementAsync(historyElement);
673
673
  });
674
674
 
675
- const libVersion = "2.30.52";
675
+ const libVersion = "2.30.53";
676
676
 
677
677
  const getFormattedLocation = (location) => `${location.protocol}//${location.hostname}${location.pathname.indexOf('/') === 0 ? location.pathname : `/${location.pathname}`}${location.search}`;
678
678
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coveo.analytics",
3
- "version": "2.30.52",
3
+ "version": "2.30.53",
4
4
  "description": "📈 Coveo analytics client (node and browser compatible) ",
5
5
  "main": "dist/library.cjs",
6
6
  "module": "dist/browser.mjs",
package/src/events.ts CHANGED
@@ -84,6 +84,7 @@ export interface DocumentInformation {
84
84
  documentAuthor?: string;
85
85
  queryPipeline?: string;
86
86
  rankingModifier?: string;
87
+ documentCategory?: string;
87
88
  }
88
89
 
89
90
  export interface ClickEventRequest extends EventBaseRequest, DocumentInformation {}
@@ -126,6 +126,7 @@ describe('InsightClient', () => {
126
126
 
127
127
  const fakeDocInfo = {
128
128
  collectionName: 'collection',
129
+ documentCategory: 'category',
129
130
  documentAuthor: 'author',
130
131
  documentPosition: 1,
131
132
  documentTitle: 'title',
@@ -26,6 +26,7 @@ const {fetchMock, fetchMockBeforeEach} = mockFetch();
26
26
  describe('SearchPageClient', () => {
27
27
  const fakeDocInfo = {
28
28
  collectionName: 'collection',
29
+ documentCategory: 'category',
29
30
  documentAuthor: 'author',
30
31
  documentPosition: 1,
31
32
  documentTitle: 'title',