coveo.analytics 2.27.12 → 2.28.2
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 +2 -2
- package/dist/coveoua.debug.js.map +1 -1
- package/dist/coveoua.js +1 -1
- package/dist/coveoua.js.map +1 -1
- package/dist/definitions/version.d.ts +1 -1
- package/dist/library.es.js +2 -2
- package/dist/library.js +2 -2
- package/dist/react-native.es.js +2 -2
- package/package.json +1 -1
- package/src/history.spec.ts +2 -2
- package/src/hook/enhanceViewEvent.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const libVersion = "2.
|
|
1
|
+
export declare const libVersion = "2.28.2";
|
package/dist/library.es.js
CHANGED
|
@@ -326,7 +326,7 @@ const addPageViewToHistory = (pageViewValue) => __awaiter(void 0, void 0, void 0
|
|
|
326
326
|
const historyElement = {
|
|
327
327
|
name: 'PageView',
|
|
328
328
|
value: pageViewValue,
|
|
329
|
-
time:
|
|
329
|
+
time: new Date().toISOString(),
|
|
330
330
|
};
|
|
331
331
|
yield store.addElementAsync(historyElement);
|
|
332
332
|
});
|
|
@@ -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.
|
|
599
|
+
const libVersion = "2.28.2" ;
|
|
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
|
@@ -456,7 +456,7 @@ var addPageViewToHistory = function (pageViewValue) { return __awaiter(void 0, v
|
|
|
456
456
|
historyElement = {
|
|
457
457
|
name: 'PageView',
|
|
458
458
|
value: pageViewValue,
|
|
459
|
-
time:
|
|
459
|
+
time: new Date().toISOString(),
|
|
460
460
|
};
|
|
461
461
|
return [4, store.addElementAsync(historyElement)];
|
|
462
462
|
case 1:
|
|
@@ -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.
|
|
734
|
+
var libVersion = "2.28.2" ;
|
|
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/react-native.es.js
CHANGED
|
@@ -653,12 +653,12 @@ const addPageViewToHistory = (pageViewValue) => __awaiter(void 0, void 0, void 0
|
|
|
653
653
|
const historyElement = {
|
|
654
654
|
name: 'PageView',
|
|
655
655
|
value: pageViewValue,
|
|
656
|
-
time:
|
|
656
|
+
time: new Date().toISOString(),
|
|
657
657
|
};
|
|
658
658
|
yield store.addElementAsync(historyElement);
|
|
659
659
|
});
|
|
660
660
|
|
|
661
|
-
const libVersion = "2.
|
|
661
|
+
const libVersion = "2.28.2" ;
|
|
662
662
|
|
|
663
663
|
const getFormattedLocation = (location) => `${location.protocol}//${location.hostname}${location.pathname.indexOf('/') === 0 ? location.pathname : `/${location.pathname}`}${location.search}`;
|
|
664
664
|
|
package/package.json
CHANGED
package/src/history.spec.ts
CHANGED
|
@@ -20,7 +20,7 @@ describe('history', () => {
|
|
|
20
20
|
data = {
|
|
21
21
|
name: 'name',
|
|
22
22
|
value: 'value',
|
|
23
|
-
time:
|
|
23
|
+
time: new Date().toISOString(),
|
|
24
24
|
};
|
|
25
25
|
});
|
|
26
26
|
|
|
@@ -99,7 +99,7 @@ describe('history', () => {
|
|
|
99
99
|
historyElements.push({
|
|
100
100
|
name: 'name' + i,
|
|
101
101
|
value: 'value' + i,
|
|
102
|
-
time:
|
|
102
|
+
time: new Date().toISOString(),
|
|
103
103
|
internalTime: new Date().getTime(),
|
|
104
104
|
});
|
|
105
105
|
}
|
|
@@ -21,7 +21,7 @@ const addPageViewToHistory = async (pageViewValue: string) => {
|
|
|
21
21
|
const historyElement = {
|
|
22
22
|
name: 'PageView',
|
|
23
23
|
value: pageViewValue,
|
|
24
|
-
time:
|
|
24
|
+
time: new Date().toISOString(),
|
|
25
25
|
};
|
|
26
26
|
await store.addElementAsync(historyElement);
|
|
27
27
|
};
|