coveo.analytics 2.26.2 → 2.26.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.
@@ -1,2 +1,3 @@
1
1
  export { ReactNativeRuntime, ReactNativeRuntimeOptions, ReactNativeStorage } from './react-native-runtime';
2
2
  export * from '../coveoua/headless';
3
+ import 'react-native-get-random-values';
@@ -1,2 +1,3 @@
1
1
  export { ReactNativeRuntime, ReactNativeRuntimeOptions, ReactNativeStorage } from './react-native-runtime';
2
2
  export * from '../coveoua/headless';
3
+ import 'react-native-get-random-values';
@@ -1 +1 @@
1
- export declare const libVersion = "2.26.2";
1
+ export declare const libVersion = "2.26.4";
@@ -593,7 +593,7 @@ function sha1(bytes) {
593
593
  const v5 = v35('v5', 0x50, sha1);
594
594
  var uuidv5 = v5;
595
595
 
596
- const libVersion = "2.26.2" ;
596
+ const libVersion = "2.26.4" ;
597
597
 
598
598
  const getFormattedLocation = (location) => `${location.protocol}//${location.hostname}${location.pathname.indexOf('/') === 0 ? location.pathname : `/${location.pathname}`}${location.search}`;
599
599
 
@@ -1289,7 +1289,7 @@ class CoveoAnalyticsClient {
1289
1289
  setClientId(value, namespace) {
1290
1290
  return __awaiter(this, void 0, void 0, function* () {
1291
1291
  if (validate(value)) {
1292
- this.setCurrentVisitorId(value);
1292
+ this.setCurrentVisitorId(value.toLowerCase());
1293
1293
  }
1294
1294
  else {
1295
1295
  if (!namespace) {
package/dist/library.js CHANGED
@@ -740,7 +740,7 @@ function sha1(bytes) {
740
740
  const v5 = v35('v5', 0x50, sha1);
741
741
  var uuidv5 = v5;
742
742
 
743
- var libVersion = "2.26.2" ;
743
+ var libVersion = "2.26.4" ;
744
744
 
745
745
  var getFormattedLocation = function (location) {
746
746
  return location.protocol + "//" + location.hostname + (location.pathname.indexOf('/') === 0 ? location.pathname : "/" + location.pathname) + location.search;
@@ -83125,7 +83125,7 @@ var CoveoAnalyticsClient = (function () {
83125
83125
  return __awaiter(this, void 0, void 0, function () {
83126
83126
  return __generator(this, function (_a) {
83127
83127
  if (validate(value)) {
83128
- this.setCurrentVisitorId(value);
83128
+ this.setCurrentVisitorId(value.toLowerCase());
83129
83129
  }
83130
83130
  else {
83131
83131
  if (!namespace) {