Skip to content

Commit

Permalink
fixup! refactor(core): Use early event contract instead of the event …
Browse files Browse the repository at this point in the history
…contract in bootstrap.
  • Loading branch information
iteriani committed May 7, 2024
1 parent 8db7b70 commit a6aae74
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ export function bootstrapEarlyEventContract(
}
earlyJsactionTracker[field][appId] = {};
const eventContract = new EarlyEventContract(earlyJsactionTracker[field][appId], container);
eventTypes && eventContract.addEvents(eventTypes);
captureEventTypes && eventContract.addEvents(captureEventTypes, true);
if (eventTypes) eventContract.addEvents(eventTypes);
if (captureEventTypes) eventContract.addEvents(captureEventTypes, true);
}

0 comments on commit a6aae74

Please sign in to comment.