@adobe/helix-rum-enhancer
Advanced tools
Comparing version 2.11.0 to 2.11.1
@@ -0,1 +1,8 @@ | ||
## [2.11.1](https://github.com/adobe/helix-rum-enhancer/compare/v2.11.0...v2.11.1) (2024-06-03) | ||
### Bug Fixes | ||
* no this in arrow functions ([#182](https://github.com/adobe/helix-rum-enhancer/issues/182)) ([218e608](https://github.com/adobe/helix-rum-enhancer/commit/218e60890c5e1328de27d03916a680c6019f92af)) | ||
# [2.11.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.10.0...v2.11.0) (2024-05-31) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@adobe/helix-rum-enhancer", | ||
"version": "2.11.0", | ||
"version": "2.11.1", | ||
"description": "Helix RUM Enhancer", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -18,7 +18,7 @@ /* | ||
const fflags = { | ||
has: (flag) => this[flag].indexOf(Array.from(window.origin) | ||
has: (flag) => fflags[flag].indexOf(Array.from(window.origin) | ||
.map((a) => a.charCodeAt(0)) | ||
.reduce((a, b) => a + b, 1) % 1371) !== -1, | ||
enabled: (flag, callback) => this.has(flag) && callback(), | ||
disabled: (flag, callback) => !this.has(flag) && callback(), | ||
enabled: (flag, callback) => fflags.has(flag) && callback(), | ||
disabled: (flag, callback) => !fflags.has(flag) && callback(), | ||
onetrust: [543, 770, 1136], | ||
@@ -25,0 +25,0 @@ ads: [1339], |
53893