Skip to content

Commit 9805552

Browse files
chore(release): 2.7.5 [skip ci]
## [2.7.5](v2.7.4...v2.7.5) (2025-03-13) ### Bug Fixes * **deps:** update dependency @adobe/helix-rum-js to v2.10.1 ([#138](#138)) ([b87e7d7](b87e7d7))
1 parent b87e7d7 commit 9805552

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [2.7.5](https://github.com/adobe/aem-lib/compare/v2.7.4...v2.7.5) (2025-03-13)
2+
3+
4+
### Bug Fixes
5+
6+
* **deps:** update dependency @adobe/helix-rum-js to v2.10.1 ([#138](https://github.com/adobe/aem-lib/issues/138)) ([b87e7d7](https://github.com/adobe/aem-lib/commit/b87e7d7e9c754f8727a421176f4a7661f765a845))
7+
18
## [2.7.4](https://github.com/adobe/aem-lib/compare/v2.7.3...v2.7.4) (2024-11-12)
29

310

dist/aem.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Adobe. All rights reserved.
2+
* Copyright 2025 Adobe. All rights reserved.
33
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
44
* you may not use this file except in compliance with the License. You may obtain a copy
55
* of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -148,11 +148,12 @@ function setup() {
148148
}
149149

150150
/**
151-
* Auto initializiation.
151+
* Auto initialization.
152152
*/
153153

154154
function init() {
155155
setup();
156+
sampleRUM.collectBaseURL = window.origin;
156157
sampleRUM();
157158
}
158159

@@ -439,6 +440,8 @@ function decorateIcon(span, prefix = '', alt = '') {
439440
img.src = `${window.hlx.codeBasePath}${prefix}/icons/${iconName}.svg`;
440441
img.alt = alt;
441442
img.loading = 'lazy';
443+
img.width = 16;
444+
img.height = 16;
442445
span.append(img);
443446
}
444447

@@ -448,7 +451,7 @@ function decorateIcon(span, prefix = '', alt = '') {
448451
* @param {string} [prefix] prefix to be added to icon the src
449452
*/
450453
function decorateIcons(element, prefix = '') {
451-
const icons = [...element.querySelectorAll('span.icon')];
454+
const icons = element.querySelectorAll('span.icon');
452455
icons.forEach((span) => {
453456
decorateIcon(span, prefix);
454457
});

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.4",
3+
"version": "2.7.5",
44
"description": "AEM Library",
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)