@adobe/helix-rum-enhancer 2.15.0 → 2.16.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.16.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.15.0...v2.16.0) (2024-07-02)
2
+
3
+
4
+ ### Features
5
+
6
+ * enable paid checkpoint for all ([#219](https://github.com/adobe/helix-rum-enhancer/issues/219)) ([5348744](https://github.com/adobe/helix-rum-enhancer/commit/5348744de770c024b2c9fe17962307e39293bf36))
7
+
1
8
  # [2.15.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.14.2...v2.15.0) (2024-07-01)
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'];
13
+ export const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm', 'paid'];
package/modules/fflags.js CHANGED
@@ -16,6 +16,5 @@ 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
- ads: [1139, 543],
20
19
  email: [1139, 543],
21
20
  };
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('ads', () => DEFAULT_TRACKING_EVENTS.push('paid'));
35
34
  fflags.enabled('email', () => DEFAULT_TRACKING_EVENTS.push('email'));
36
35
  return DEFAULT_TRACKING_EVENTS;
37
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "2.15.0",
3
+ "version": "2.16.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'];
19
+ const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm', 'paid'];
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
- ads: [1139, 543],
29
28
  email: [1139, 543],
30
29
  };
31
30
 
@@ -133,7 +132,6 @@
133
132
  function getCollectionConfig() {
134
133
  // eslint-disable-next-line max-len
135
134
  fflags.enabled('onetrust', () => DEFAULT_TRACKING_EVENTS.push('consent'));
136
- fflags.enabled('ads', () => DEFAULT_TRACKING_EVENTS.push('paid'));
137
135
  fflags.enabled('email', () => DEFAULT_TRACKING_EVENTS.push('email'));
138
136
  return DEFAULT_TRACKING_EVENTS;
139
137
  }