Skip to content

Commit

Permalink
chore(release): 2.7.2 [skip ci]
Browse files Browse the repository at this point in the history
## [2.7.2](v2.7.1...v2.7.2) (2024-11-01)

### Bug Fixes

* **deps:** update dependency @adobe/helix-rum-js to v2.8.0 ([3e02886](3e02886))
  • Loading branch information
semantic-release-bot committed Nov 1, 2024
1 parent 3e02886 commit b5ce29a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [2.7.2](https://github.com/adobe/aem-lib/compare/v2.7.1...v2.7.2) (2024-11-01)


### Bug Fixes

* **deps:** update dependency @adobe/helix-rum-js to v2.8.0 ([3e02886](https://github.com/adobe/aem-lib/commit/3e02886692db43d59da28ecd44151ae3d7536de3))

## [2.7.1](https://github.com/adobe/aem-lib/compare/v2.7.0...v2.7.1) (2024-10-17)


Expand Down
8 changes: 6 additions & 2 deletions dist/aem.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,14 @@ function sampleRUM(checkpoint, data) {
sampleRUM.enhance = () => {
// only enhance once
if (document.querySelector('script[src*="rum-enhancer"]')) return;

const { enhancerVersion, enhancerHash } = sampleRUM.enhancerContext || {};
const script = document.createElement('script');
if (enhancerHash) {
script.integrity = enhancerHash;
script.setAttribute('crossorigin', 'anonymous');
}
script.src = new URL(
'.rum/@adobe/helix-rum-enhancer@^2/src/index.js',
`.rum/@adobe/helix-rum-enhancer@${enhancerVersion || '^2'}/src/index.js`,
sampleRUM.baseURL,
).href;
document.head.appendChild(script);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/aem-lib",
"version": "2.7.1",
"version": "2.7.2",
"description": "AEM Library",
"type": "module",
"scripts": {
Expand Down

0 comments on commit b5ce29a

Please sign in to comment.