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.
- package/bundles/ng-miam.umd.js +9 -2
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +1 -1
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_services/analytics.service.js +9 -2
- package/esm2015/lib/environments/version.js +2 -2
- package/fesm2015/ng-miam.js +9 -2
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_services/analytics.service.d.ts.map +1 -1
- package/lib/environments/version.d.ts +1 -1
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -3652,7 +3652,7 @@
|
|
|
3652
3652
|
EventJourney["EMPTY"] = "";
|
|
3653
3653
|
})(EventJourney || (EventJourney = {}));
|
|
3654
3654
|
|
|
3655
|
-
var VERSION = "9.3.
|
|
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 () {
|
|
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) {
|