Skip to content

Commit 496e1f2

Browse files
chore(release): 2.6.1 [skip ci]
## [2.6.1](v2.6.0...v2.6.1) (2024-10-07) ### Reverts * Revert "feat: add support for proper tracking in a speculative pre-rendering context ([#102](#102))" ([543fa72](543fa72))
1 parent 543fa72 commit 496e1f2

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [2.6.1](https://github.com/adobe/aem-lib/compare/v2.6.0...v2.6.1) (2024-10-07)
2+
3+
4+
### Reverts
5+
6+
* Revert "feat: add support for proper tracking in a speculative pre-rendering context ([#102](https://github.com/adobe/aem-lib/issues/102))" ([543fa72](https://github.com/adobe/aem-lib/commit/543fa72666a1f971ab890ce3fc137a9c80492aca))
7+
18
# [2.6.0](https://github.com/adobe/aem-lib/compare/v2.5.7...v2.6.0) (2024-10-07)
29

310

dist/aem.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,7 @@ function setup() {
145145

146146
function init() {
147147
setup();
148-
// Prerender-aware initialization
149-
if (document.prerendering) {
150-
document.addEventListener('prerenderingchange', sampleRUM, { once: true });
151-
} else {
152-
sampleRUM();
153-
}
148+
sampleRUM();
154149
}
155150

156151
/**

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

0 commit comments

Comments
 (0)