@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.
- package/dist/cjs/EventTimer.js +3 -0
- package/dist/esm/EventTimer.js +3 -0
- package/package.json +21 -21
package/dist/cjs/EventTimer.js
CHANGED
|
@@ -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
|
];
|
package/dist/esm/EventTimer.js
CHANGED
|
@@ -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.
|
|
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": "^
|
|
45
|
-
"@commitlint/config-conventional": "^
|
|
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.
|
|
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.
|
|
55
|
-
"@types/jest": "^27.0.
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
57
|
-
"@typescript-eslint/parser": "^
|
|
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": "^
|
|
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.
|
|
64
|
-
"eslint-plugin-jest": "^25.
|
|
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.
|
|
68
|
-
"lint-staged": "^
|
|
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.
|
|
72
|
-
"semantic-release": "^18.0.
|
|
71
|
+
"prettier": "^2.5.0",
|
|
72
|
+
"semantic-release": "^18.0.1",
|
|
73
73
|
"ts-jest": "^27.0.7",
|
|
74
|
-
"typescript": "^4.
|
|
74
|
+
"typescript": "^4.5.2",
|
|
75
75
|
"web-vitals": "^2.1.2"
|
|
76
76
|
},
|
|
77
77
|
"publishConfig": {
|