@guardian/commercial-core 0.30.0 → 0.31.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.
@@ -159,9 +159,12 @@ class EventTimer {
159
159
  exports.EventTimer = EventTimer;
160
160
  EventTimer._externallyDefinedEventNames = [
161
161
  'cmp-tcfv2-init',
162
+ 'cmp-tcfv2-ui-displayed',
162
163
  'cmp-tcfv2-got-consent',
163
164
  'cmp-ccpa-init',
165
+ 'cmp-ccpa-ui-displayed',
164
166
  'cmp-ccpa-got-consent',
165
167
  'cmp-aus-init',
168
+ 'cmp-aus-ui-displayed',
166
169
  'cmp-aus-got-consent',
167
170
  ];
@@ -155,9 +155,12 @@ export class EventTimer {
155
155
  }
156
156
  EventTimer._externallyDefinedEventNames = [
157
157
  'cmp-tcfv2-init',
158
+ 'cmp-tcfv2-ui-displayed',
158
159
  'cmp-tcfv2-got-consent',
159
160
  'cmp-ccpa-init',
161
+ 'cmp-ccpa-ui-displayed',
160
162
  'cmp-ccpa-got-consent',
161
163
  'cmp-aus-init',
164
+ 'cmp-aus-ui-displayed',
162
165
  'cmp-aus-got-consent',
163
166
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guardian/commercial-core",
3
- "version": "0.30.0",
3
+ "version": "0.31.0",
4
4
  "description": "Guardian advertising business logic",
5
5
  "homepage": "https://github.com/guardian/commercial-core#readme",
6
6
  "bugs": {
@@ -41,37 +41,37 @@
41
41
  },
42
42
  "prettier": "@guardian/prettier",
43
43
  "devDependencies": {
44
- "@commitlint/cli": "^13",
45
- "@commitlint/config-conventional": "^14",
44
+ "@commitlint/cli": "^15.0.0",
45
+ "@commitlint/config-conventional": "^15.0.0",
46
46
  "@guardian/ab-core": "^2.0.0",
47
- "@guardian/consent-management-platform": "^8",
48
- "@guardian/eslint-config-typescript": "^0.7",
49
- "@guardian/libs": "3.3.0",
50
- "@guardian/prettier": "^0.7",
51
- "@octokit/core": "^3",
52
- "@semantic-release/github": "^8",
47
+ "@guardian/consent-management-platform": "^8.0.1",
48
+ "@guardian/eslint-config-typescript": "^0.7.0",
49
+ "@guardian/libs": "3.5.1",
50
+ "@guardian/prettier": "^0.7.0",
51
+ "@octokit/core": "^3.5.1",
52
+ "@semantic-release/github": "^8.0.2",
53
53
  "@types/google.analytics": "^0.0.42",
54
- "@types/googletag": "^1.1.3",
55
- "@types/jest": "^27.0.2",
56
- "@typescript-eslint/eslint-plugin": "^4.33.0",
57
- "@typescript-eslint/parser": "^4.33.0",
54
+ "@types/googletag": "^1.1.4",
55
+ "@types/jest": "^27.0.3",
56
+ "@typescript-eslint/eslint-plugin": "^5.5.0",
57
+ "@typescript-eslint/parser": "^5.5.0",
58
58
  "commitizen": "^4.2.4",
59
59
  "cz-conventional-changelog": "^3.3.0",
60
- "eslint": "^7.32.0",
60
+ "eslint": "^8.3.0",
61
61
  "eslint-config-prettier": "^8.3.0",
62
62
  "eslint-plugin-eslint-comments": "^3.2.0",
63
- "eslint-plugin-import": "^2.25.2",
64
- "eslint-plugin-jest": "^25.2.2",
63
+ "eslint-plugin-import": "^2.25.3",
64
+ "eslint-plugin-jest": "^25.3.0",
65
65
  "eslint-plugin-prettier": "^4.0.0",
66
66
  "husky": "^7.0.4",
67
- "jest": "^27.3.1",
68
- "lint-staged": "^11.2.6",
67
+ "jest": "^27.4.1",
68
+ "lint-staged": "^12.1.2",
69
69
  "mockdate": "^3.0.5",
70
70
  "npm-run-all": "^4.1.5",
71
- "prettier": "^2.4.1",
72
- "semantic-release": "^18.0.0",
71
+ "prettier": "^2.5.0",
72
+ "semantic-release": "^18.0.1",
73
73
  "ts-jest": "^27.0.7",
74
- "typescript": "^4.4.4",
74
+ "typescript": "^4.5.2",
75
75
  "web-vitals": "^2.1.2"
76
76
  },
77
77
  "publishConfig": {