coveo.analytics 2.29.5 → 2.30.1

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.
@@ -728,7 +728,7 @@
728
728
  const v5 = v35('v5', 0x50, sha1);
729
729
  var uuidv5 = v5;
730
730
 
731
- var libVersion = "2.29.5" ;
731
+ var libVersion = "2.30.1" ;
732
732
 
733
733
  var getFormattedLocation = function (location) {
734
734
  return "".concat(location.protocol, "//").concat(location.hostname).concat(location.pathname.indexOf('/') === 0 ? location.pathname : "/".concat(location.pathname)).concat(location.search);
@@ -1547,9 +1547,11 @@
1547
1547
  visitorIdProvider: this,
1548
1548
  preprocessRequest: this.options.preprocessRequest,
1549
1549
  };
1550
- this.runtime = this.options.runtimeEnvironment || this.initRuntime(clientsOptions);
1551
1550
  if (doNotTrack()) {
1552
- this.runtime.storage = new NullStorage();
1551
+ this.runtime = new NoopRuntime();
1552
+ }
1553
+ else {
1554
+ this.runtime = this.options.runtimeEnvironment || this.initRuntime(clientsOptions);
1553
1555
  }
1554
1556
  this.addEventTypeMapping(EventType.view, { newEventType: EventType.view, addClientIdParameter: true });
1555
1557
  this.addEventTypeMapping(EventType.click, { newEventType: EventType.click, addClientIdParameter: true });