Skip to content

Commit

Permalink
chore(build): Generate latest bundle [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mparticle-automation committed Oct 2, 2023
1 parent 11e07be commit 2c2cd85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 24 deletions.
18 changes: 6 additions & 12 deletions dist/DoubleClick-Kit.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,7 @@ var constructor = function() {

function logSessionStart(event) {
try {
sessionHandler_1.onSessionStart(event);
return true;
return sessionHandler_1.onSessionStart(event);
} catch (e) {
return {
error: 'Error starting session on forwarder ' + name + '; ' + e,
Expand All @@ -485,8 +484,7 @@ var constructor = function() {

function logSessionEnd(event) {
try {
sessionHandler_1.onSessionEnd(event);
return true;
return sessionHandler_1.onSessionEnd(event);
} catch (e) {
return {
error: 'Error ending session on forwarder ' + name + '; ' + e,
Expand All @@ -496,8 +494,7 @@ var constructor = function() {

function logError(event) {
try {
self.eventHandler.logError(event);
return true;
return self.eventHandler.logError(event);
} catch (e) {
return {
error: 'Error logging error on forwarder ' + name + '; ' + e,
Expand All @@ -507,8 +504,7 @@ var constructor = function() {

function logPageView(event) {
try {
self.eventHandler.logPageView(event);
return true;
return self.eventHandler.logPageView(event);
} catch (e) {
return {
error:
Expand All @@ -519,8 +515,7 @@ var constructor = function() {

function logEvent(event) {
try {
self.eventHandler.logEvent(event);
return true;
return self.eventHandler.logEvent(event);
} catch (e) {
return {
error: 'Error logging event on forwarder ' + name + '; ' + e,
Expand All @@ -530,8 +525,7 @@ var constructor = function() {

function logEcommerceEvent(event) {
try {
self.commerceHandler.logCommerceEvent(event);
return true;
return self.commerceHandler.logCommerceEvent(event);
} catch (e) {
return {
error:
Expand Down
18 changes: 6 additions & 12 deletions dist/DoubleClick-Kit.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,7 @@ var mpDoubleClickKit = (function (exports) {

function logSessionStart(event) {
try {
sessionHandler_1.onSessionStart(event);
return true;
return sessionHandler_1.onSessionStart(event);
} catch (e) {
return {
error: 'Error starting session on forwarder ' + name + '; ' + e,
Expand All @@ -484,8 +483,7 @@ var mpDoubleClickKit = (function (exports) {

function logSessionEnd(event) {
try {
sessionHandler_1.onSessionEnd(event);
return true;
return sessionHandler_1.onSessionEnd(event);
} catch (e) {
return {
error: 'Error ending session on forwarder ' + name + '; ' + e,
Expand All @@ -495,8 +493,7 @@ var mpDoubleClickKit = (function (exports) {

function logError(event) {
try {
self.eventHandler.logError(event);
return true;
return self.eventHandler.logError(event);
} catch (e) {
return {
error: 'Error logging error on forwarder ' + name + '; ' + e,
Expand All @@ -506,8 +503,7 @@ var mpDoubleClickKit = (function (exports) {

function logPageView(event) {
try {
self.eventHandler.logPageView(event);
return true;
return self.eventHandler.logPageView(event);
} catch (e) {
return {
error:
Expand All @@ -518,8 +514,7 @@ var mpDoubleClickKit = (function (exports) {

function logEvent(event) {
try {
self.eventHandler.logEvent(event);
return true;
return self.eventHandler.logEvent(event);
} catch (e) {
return {
error: 'Error logging event on forwarder ' + name + '; ' + e,
Expand All @@ -529,8 +524,7 @@ var mpDoubleClickKit = (function (exports) {

function logEcommerceEvent(event) {
try {
self.commerceHandler.logCommerceEvent(event);
return true;
return self.commerceHandler.logCommerceEvent(event);
} catch (e) {
return {
error:
Expand Down

0 comments on commit 2c2cd85

Please sign in to comment.