adobe / helix-rum-js

Helix RUM Event Generator for JavaScript
Apache License 2.0
1 stars 8 forks source link

feat: allow to enhance only once #220

Closed kptdobe closed 2 weeks ago

kptdobe commented 2 weeks ago

If sampleRUM.enhance() is called twice, enhancer code will be injected twice and we might have duplicate events.

aem-code-sync[bot] commented 2 weeks ago

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed. In case there are problems, just click a checkbox below to rerun the respective action.

Commits * [3074db6](https://github.com/adobe/helix-rum-js/commit/3074db6c0d62283086e0f73f9d991afdc5804225) :white_check_mark: (latest)
codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (c67a739) to head (3074db6). Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #220 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 2 2 Lines 179 183 +4 ========================================= + Hits 179 183 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

adobe-bot commented 2 weeks ago

:tada: This PR is included in version 2.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: