Skip to content

Commit b5ce29a

Browse files
chore(release): 2.7.2 [skip ci]
## [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))
1 parent 3e02886 commit b5ce29a

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [2.7.2](https://github.com/adobe/aem-lib/compare/v2.7.1...v2.7.2) (2024-11-01)
2+
3+
4+
### Bug Fixes
5+
6+
* **deps:** update dependency @adobe/helix-rum-js to v2.8.0 ([3e02886](https://github.com/adobe/aem-lib/commit/3e02886692db43d59da28ecd44151ae3d7536de3))
7+
18
## [2.7.1](https://github.com/adobe/aem-lib/compare/v2.7.0...v2.7.1) (2024-10-17)
29

310

dist/aem.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,14 @@ function sampleRUM(checkpoint, data) {
100100
sampleRUM.enhance = () => {
101101
// only enhance once
102102
if (document.querySelector('script[src*="rum-enhancer"]')) return;
103-
103+
const { enhancerVersion, enhancerHash } = sampleRUM.enhancerContext || {};
104104
const script = document.createElement('script');
105+
if (enhancerHash) {
106+
script.integrity = enhancerHash;
107+
script.setAttribute('crossorigin', 'anonymous');
108+
}
105109
script.src = new URL(
106-
'.rum/@adobe/helix-rum-enhancer@^2/src/index.js',
110+
`.rum/@adobe/helix-rum-enhancer@${enhancerVersion || '^2'}/src/index.js`,
107111
sampleRUM.baseURL,
108112
).href;
109113
document.head.appendChild(script);

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adobe/aem-lib",
3-
"version": "2.7.1",
3+
"version": "2.7.2",
44
"description": "AEM Library",
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)