ng-miam 9.3.18 → 9.3.19

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.
@@ -3652,7 +3652,7 @@
3652
3652
  EventJourney["EMPTY"] = "";
3653
3653
  })(EventJourney || (EventJourney = {}));
3654
3654
 
3655
- var VERSION = "9.3.18"; // TODO: replace by ##VERSION## and update it in the CI/CD
3655
+ var VERSION = "9.3.19"; // TODO: replace by ##VERSION## and update it in the CI/CD
3656
3656
 
3657
3657
  var ContextRegistryService = /** @class */ (function () {
3658
3658
  function ContextRegistryService() {
@@ -3757,7 +3757,14 @@
3757
3757
  }
3758
3758
  // Use provided journey or determine from context
3759
3759
  var eventJourney = journey || (this.isMealzPage ? EventJourney.MEALZ : EventJourney.EMPTY);
3760
- this.callMethodOrAddToQueue(function () { return mealzSharedAnalytics.sendEvent(name, url(path), eventJourney, props); });
3760
+ this.callMethodOrAddToQueue(function () {
3761
+ try {
3762
+ mealzSharedAnalytics.sendEvent(name, url(path), eventJourney, props);
3763
+ }
3764
+ catch (error) {
3765
+ mealzError('[Mealz] Error sending analytics event', error);
3766
+ }
3767
+ });
3761
3768
  };
3762
3769
  /** ************************************************* SEND EVENT FOR BASKET ACTIONS ************************************************* **/
3763
3770
  AnalyticsService.prototype.sendRemoveRecipesEvents = function (actions, journey) {