coveo.analytics 2.29.1 → 2.29.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.
@@ -728,7 +728,7 @@
728
728
  const v5 = v35('v5', 0x50, sha1);
729
729
  var uuidv5 = v5;
730
730
 
731
- var libVersion = "2.29.1" ;
731
+ var libVersion = "2.29.2" ;
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);
@@ -1540,7 +1540,6 @@
1540
1540
  };
1541
1541
  this.runtime = this.options.runtimeEnvironment || this.initRuntime(clientsOptions);
1542
1542
  if (doNotTrack()) {
1543
- this.clear();
1544
1543
  this.runtime.storage = new NullStorage();
1545
1544
  }
1546
1545
  this.addEventTypeMapping(EventType.view, { newEventType: EventType.view, addClientIdParameter: true });
@@ -2933,9 +2932,6 @@
2933
2932
  this.coveoAnalyticsClient = shouldDisableAnalytics ? new NoopAnalytics() : new CoveoAnalyticsClient(opts);
2934
2933
  }
2935
2934
  CoveoSearchPageClient.prototype.disable = function () {
2936
- if (this.coveoAnalyticsClient instanceof CoveoAnalyticsClient) {
2937
- this.coveoAnalyticsClient.clear();
2938
- }
2939
2935
  this.coveoAnalyticsClient = new NoopAnalytics();
2940
2936
  };
2941
2937
  CoveoSearchPageClient.prototype.enable = function () {
@@ -4305,9 +4301,6 @@
4305
4301
  this.svc = new SVCPlugin({ client: this.coveoAnalyticsClient });
4306
4302
  }
4307
4303
  CaseAssistClient.prototype.disable = function () {
4308
- if (this.coveoAnalyticsClient instanceof CoveoAnalyticsClient) {
4309
- this.coveoAnalyticsClient.clear();
4310
- }
4311
4304
  this.coveoAnalyticsClient = new NoopAnalytics();
4312
4305
  this.svc = new SVCPlugin({ client: this.coveoAnalyticsClient });
4313
4306
  };
@@ -4413,9 +4406,6 @@
4413
4406
  this.coveoAnalyticsClient = shouldDisableAnalytics ? new NoopAnalytics() : new CoveoAnalyticsClient(opts);
4414
4407
  }
4415
4408
  CoveoInsightClient.prototype.disable = function () {
4416
- if (this.coveoAnalyticsClient instanceof CoveoAnalyticsClient) {
4417
- this.coveoAnalyticsClient.clear();
4418
- }
4419
4409
  this.coveoAnalyticsClient = new NoopAnalytics();
4420
4410
  };
4421
4411
  CoveoInsightClient.prototype.enable = function () {