@adobe/helix-rum-enhancer 2.16.0 → 2.17.0

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 CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.17.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.16.0...v2.17.0) (2024-07-03)
2
+
3
+
4
+ ### Features
5
+
6
+ * **email:** rollout for all customers 2.x ([#222](https://github.com/adobe/helix-rum-enhancer/issues/222)) ([bb71ae6](https://github.com/adobe/helix-rum-enhancer/commit/bb71ae656fbb8c34ca5de3436f950a9e10e8f188))
7
+
1
8
  # [2.16.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.15.0...v2.16.0) (2024-07-02)
2
9
 
3
10
 
@@ -10,4 +10,4 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
  export const KNOWN_PROPERTIES = ['weight', 'id', 'referer', 'checkpoint', 't', 'source', 'target', 'cwv', 'CLS', 'FID', 'LCP', 'INP', 'TTFB'];
13
- export const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm', 'paid'];
13
+ export const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm', 'paid', 'email'];
package/modules/fflags.js CHANGED
@@ -16,5 +16,4 @@ export const fflags = {
16
16
  enabled: (flag, callback) => fflags.has(flag) && callback(),
17
17
  disabled: (flag, callback) => !fflags.has(flag) && callback(),
18
18
  onetrust: [543, 770, 1136],
19
- email: [1139, 543],
20
19
  };
package/modules/index.js CHANGED
@@ -31,7 +31,6 @@ function optedIn(checkpoint, data) {
31
31
  function getCollectionConfig() {
32
32
  // eslint-disable-next-line max-len
33
33
  fflags.enabled('onetrust', () => DEFAULT_TRACKING_EVENTS.push('consent'));
34
- fflags.enabled('email', () => DEFAULT_TRACKING_EVENTS.push('email'));
35
34
  return DEFAULT_TRACKING_EVENTS;
36
35
  }
37
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "2.16.0",
3
+ "version": "2.17.0",
4
4
  "description": "Helix RUM Enhancer",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/index.js CHANGED
@@ -16,7 +16,7 @@
16
16
  'use strict';
17
17
 
18
18
  const KNOWN_PROPERTIES = ['weight', 'id', 'referer', 'checkpoint', 't', 'source', 'target', 'cwv', 'CLS', 'FID', 'LCP', 'INP', 'TTFB'];
19
- const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm', 'paid'];
19
+ const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm', 'paid', 'email'];
20
20
 
21
21
  const fflags = {
22
22
  has: (flag) => fflags[flag].indexOf(Array.from(window.origin)
@@ -25,7 +25,6 @@
25
25
  enabled: (flag, callback) => fflags.has(flag) && callback(),
26
26
  disabled: (flag, callback) => !fflags.has(flag) && callback(),
27
27
  onetrust: [543, 770, 1136],
28
- email: [1139, 543],
29
28
  };
30
29
 
31
30
  const urlSanitizers = {
@@ -132,7 +131,6 @@
132
131
  function getCollectionConfig() {
133
132
  // eslint-disable-next-line max-len
134
133
  fflags.enabled('onetrust', () => DEFAULT_TRACKING_EVENTS.push('consent'));
135
- fflags.enabled('email', () => DEFAULT_TRACKING_EVENTS.push('email'));
136
134
  return DEFAULT_TRACKING_EVENTS;
137
135
  }
138
136