@adobe/helix-rum-enhancer
Advanced tools
Comparing version 2.11.2 to 2.11.3
@@ -0,1 +1,8 @@ | ||
## [2.11.3](https://github.com/adobe/helix-rum-enhancer/compare/v2.11.2...v2.11.3) (2024-06-07) | ||
### Bug Fixes | ||
* add referer ([#190](https://github.com/adobe/helix-rum-enhancer/issues/190)) ([68b75d6](https://github.com/adobe/helix-rum-enhancer/commit/68b75d6f7bdd808adf2ecd941f5dceb7805de45c)) | ||
## [2.11.2](https://github.com/adobe/helix-rum-enhancer/compare/v2.11.1...v2.11.2) (2024-06-04) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@adobe/helix-rum-enhancer", | ||
"version": "2.11.2", | ||
"version": "2.11.3", | ||
"description": "Helix RUM Enhancer", | ||
@@ -47,3 +47,3 @@ "main": "src/index.js", | ||
"mocha-multi-reporters": "1.5.1", | ||
"semantic-release": "23.1.1" | ||
"semantic-release": "24.0.0" | ||
}, | ||
@@ -50,0 +50,0 @@ "lint-staged": { |
@@ -112,3 +112,3 @@ /* | ||
// eslint-disable-next-line object-curly-newline, max-len | ||
const body = JSON.stringify({ weight, id, sanitizeURL: urlSanitizers[window.hlx.RUM_MASK_URL || 'path'], checkpoint, t, ...data }, KNOWN_PROPERTIES); | ||
const body = JSON.stringify({ weight, id, referer: urlSanitizers[window.hlx.RUM_MASK_URL || 'path'](), checkpoint, t, ...data }, KNOWN_PROPERTIES); | ||
const { href: url, origin} = new URL(`.rum/${weight}`, sampleRUM.collectBaseURL || sampleRUM.baseURL); | ||
@@ -115,0 +115,0 @@ if (window.location.origin === origin) { |
54613