@adobe/helix-rum-enhancer 1.21.1 → 1.22.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
+ # [1.22.0](https://github.com/adobe/helix-rum-enhancer/compare/v1.21.1...v1.22.0) (2024-06-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * **paid:** enable `paid` checkpoint for two more domains ([fad1661](https://github.com/adobe/helix-rum-enhancer/commit/fad16619ace1fc75abe772442cc425fc11f32e73))
7
+
1
8
  ## [1.21.1](https://github.com/adobe/helix-rum-enhancer/compare/v1.21.0...v1.21.1) (2024-06-10)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@adobe/helix-rum-enhancer",
3
- "version": "1.21.1",
3
+ "version": "1.22.0",
4
4
  "description": "Helix RUM Enhancer",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
7
7
  "scripts": {
8
- "test": "c8 mocha",
8
+ "setup-playwright": "npx playwright install --with-deps chromium firefox webkit",
9
+ "test": "npm run setup-playwright && web-test-runner --node-resolve --coverage --playwright --browsers chromium firefox webkit",
10
+ "test:ci": "npm run setup-playwright && web-test-runner --node-resolve --coverage --playwright --browsers chromium firefox webkit",
11
+ "test:watch": "web-test-runner --node-resolve --coverage --watch",
9
12
  "lint": "eslint .",
10
13
  "docs": "npx jsdoc2md -c .jsdoc.json --files 'src/*.js' > docs/API.md",
11
14
  "semantic-release": "semantic-release",
@@ -30,9 +33,14 @@
30
33
  },
31
34
  "devDependencies": {
32
35
  "@adobe/eslint-config-helix": "2.0.6",
36
+ "@esm-bundle/chai": "4.3.4-fix.0",
33
37
  "@semantic-release/changelog": "6.0.3",
34
38
  "@semantic-release/git": "10.0.1",
35
39
  "@semantic-release/npm": "12.0.1",
40
+ "@web/test-runner": "0.18.2",
41
+ "@web/test-runner-core": "0.13.2",
42
+ "@web/test-runner-mocha": "0.9.0",
43
+ "@web/test-runner-playwright": "0.11.0",
36
44
  "c8": "9.1.0",
37
45
  "codecov": "3.8.3",
38
46
  "eslint": "8.57.0",
package/src/index.js CHANGED
@@ -18,8 +18,8 @@ const fflags = {
18
18
  enabled: (flag, callback) => fflags.has(flag) && callback(),
19
19
  disabled: (flag, callback) => !fflags.has(flag) && callback(),
20
20
  onetrust: [543, 770, 1136],
21
- ads: [1139, 543],
22
- email: [1139, 543],
21
+ ads: [1139, 543, 770, 984],
22
+ email: [1139, 543, 770, 984],
23
23
  };
24
24
 
25
25
  sampleRUM.baseURL = sampleRUM.baseURL || new URL('https://rum.hlx.page');
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Copyright 2023 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ export default {
13
+ coverageConfig: {
14
+ report: true,
15
+ reportDir: 'coverage',
16
+ exclude: [
17
+ 'test/fixtures/**',
18
+ 'node_modules/**',
19
+ ],
20
+ },
21
+ files: [
22
+ 'test/**/*.test.{html,js}',
23
+ 'test/*.test.{html,js}',
24
+ ],
25
+ };