@adobe/helix-rum-enhancer 2.31.0-beta.3 → 2.31.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/modules/index.js +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
- package/src/index.md5 +1 -1
- package/src/plugins/form.md5 +1 -1
- package/src/plugins/onetrust.md5 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [2.31.0-beta.4](https://github.com/adobe/helix-rum-enhancer/compare/v2.31.0-beta.3...v2.31.0-beta.4) (2025-01-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* plugin path resolution ([f464652](https://github.com/adobe/helix-rum-enhancer/commit/f464652df5bef5f42e0b32c1f10bebef013dd1b0))
|
|
7
|
+
|
|
1
8
|
# [2.31.0-beta.3](https://github.com/adobe/helix-rum-enhancer/compare/v2.31.0-beta.2...v2.31.0-beta.3) (2025-01-16)
|
|
2
9
|
|
|
3
10
|
|
package/modules/index.js
CHANGED
|
@@ -29,7 +29,7 @@ const [blocksMO, mediaMO] = [blocksMCB, mediaMCB].map(createMO);
|
|
|
29
29
|
// Check for the presence of a given cookie
|
|
30
30
|
const hasCookieKey = (key) => () => document.cookie.split(';').some((c) => c.trim().startsWith(`${key}=`));
|
|
31
31
|
|
|
32
|
-
const pluginBasePath = new URL(document.currentScript.src).href.replace(/index\.
|
|
32
|
+
const pluginBasePath = new URL(document.currentScript.src).href.replace(/index(\.map)?\.js/, 'plugins');
|
|
33
33
|
|
|
34
34
|
const PLUGINS = {
|
|
35
35
|
cwv: `${pluginBasePath}/cwv.js`,
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
const createMO = cb => window.MutationObserver ? new MutationObserver(cb) : {};
|
|
132
132
|
const [blocksMO, mediaMO] = [blocksMCB, mediaMCB].map(createMO);
|
|
133
133
|
const hasCookieKey = key => () => document.cookie.split(';').some(c => c.trim().startsWith(`${key}=`));
|
|
134
|
-
const pluginBasePath = new URL(document.currentScript.src).href.replace(/index\.
|
|
134
|
+
const pluginBasePath = new URL(document.currentScript.src).href.replace(/index(\.map)?\.js/, 'plugins');
|
|
135
135
|
const PLUGINS = {
|
|
136
136
|
cwv: `${pluginBasePath}/cwv.js`,
|
|
137
137
|
form: {
|
package/src/index.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4496e739d9016b3ea998093c5552cd22
|
package/src/plugins/form.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1c696968df786f64dd52b97922bfd98a
|
package/src/plugins/onetrust.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d9971432b874269a8d5c21eafb446ed9
|