@simplybusiness/services 2.2.2 → 2.2.3
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 +8 -0
- package/dist/cjs/index.js +8 -6
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/meta.json +4 -4
- package/dist/esm/index.js +8 -6
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/meta.json +4 -4
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +10 -10
- package/src/snowplow/event-definitions/qcp.ts +8 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplybusiness/services",
|
|
3
3
|
"license": "UNLICENSED",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.3",
|
|
5
5
|
"description": "Internal library for services",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -58,19 +58,19 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@eslint/compat": "^2.0.2",
|
|
61
|
-
"@eslint/eslintrc": "^3.3.
|
|
62
|
-
"@eslint/js": "^9.39.
|
|
63
|
-
"@simplybusiness/build-scripts": "^2.0.
|
|
64
|
-
"@simplybusiness/eslint-config": "^2.0.
|
|
61
|
+
"@eslint/eslintrc": "^3.3.4",
|
|
62
|
+
"@eslint/js": "^9.39.3",
|
|
63
|
+
"@simplybusiness/build-scripts": "^2.0.2",
|
|
64
|
+
"@simplybusiness/eslint-config": "^2.0.2",
|
|
65
65
|
"@testing-library/dom": "^10.4.1",
|
|
66
66
|
"@testing-library/jest-dom": "6.9.1",
|
|
67
67
|
"@testing-library/react": "^16.3.2",
|
|
68
|
-
"@types/react": "^19.2.
|
|
68
|
+
"@types/react": "^19.2.14",
|
|
69
69
|
"@types/react-dom": "^19.2.3",
|
|
70
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
71
|
-
"@typescript-eslint/parser": "^8.
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
71
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
72
72
|
"@vitest/coverage-v8": "^4.0.18",
|
|
73
|
-
"eslint": "^9.39.
|
|
73
|
+
"eslint": "^9.39.3",
|
|
74
74
|
"eslint-config-prettier": "^10.1.8",
|
|
75
75
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
76
76
|
"eslint-plugin-import": "^2.32.0",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@airbrake/browser": "^2.1.9",
|
|
91
|
-
"@simplybusiness/mobius": "^9.0.
|
|
91
|
+
"@simplybusiness/mobius": "^9.0.1",
|
|
92
92
|
"@snowplow/browser-tracker": "^3.24.6",
|
|
93
93
|
"classnames": "^2.5.1"
|
|
94
94
|
},
|
|
@@ -369,11 +369,13 @@ export const qcpEventDefinitions: EventDefinition[] = [
|
|
|
369
369
|
{
|
|
370
370
|
name: "cancelAnytimeBadgeClicked",
|
|
371
371
|
type: "structured",
|
|
372
|
-
makePayload:
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
372
|
+
makePayload: payload => {
|
|
373
|
+
return {
|
|
374
|
+
category: "us-26-02-qcp-cancel-anytime-test",
|
|
375
|
+
action: "cancel_anytime_badge_clicked",
|
|
376
|
+
label: (payload?.label as string) || "cancel_anytime",
|
|
377
|
+
property: window.location.href,
|
|
378
|
+
};
|
|
379
|
+
},
|
|
378
380
|
},
|
|
379
381
|
];
|