@picked/analytics 0.0.1-dev.1789541668638 → 0.0.1-dev.1793753513002
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/LICENSE +1 -0
- package/README.md +28 -30
- package/dist/.tsbuildinfo +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/interactions/document.js +1 -0
- package/dist/cjs/plugins/analytics/index.js +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/interactions/document.js +106 -0
- package/dist/esm/plugins/analytics/index.js +42 -42
- package/dist/src-CISLSCgY.cjs +1 -0
- package/dist/src-CJpBtvR7.js +1008 -0
- package/dist/text-BfR9q1WW.js +361 -0
- package/dist/text-CGbjivo-.cjs +1 -0
- package/dist/types/events/index.d.ts +3 -0
- package/dist/types/events/index.d.ts.map +1 -1
- package/dist/types/events/lead_created.d.ts +13 -0
- package/dist/types/events/lead_created.d.ts.map +1 -0
- package/dist/types/events/lead_updated.d.ts +13 -0
- package/dist/types/events/lead_updated.d.ts.map +1 -0
- package/dist/types/interactions/document.d.ts +44 -0
- package/dist/types/interactions/document.d.ts.map +1 -0
- package/dist/types/plugins/analytics/plugin.d.ts +21 -2
- package/dist/types/plugins/analytics/plugin.d.ts.map +1 -1
- package/dist/types/schemas/answer_list/index.d.ts +3 -4
- package/dist/types/schemas/answer_list/index.d.ts.map +1 -1
- package/dist/types/schemas/app/1-0-0.d.ts +1 -3
- package/dist/types/schemas/app/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/cvly_x/1-0-0.d.ts +1 -3
- package/dist/types/schemas/cvly_x/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/deployment/1-0-0.d.ts +1 -3
- package/dist/types/schemas/deployment/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/experience/1-0-0.d.ts +1 -3
- package/dist/types/schemas/experience/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/feature_list/1-0-0.d.ts +1 -3
- package/dist/types/schemas/feature_list/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/product_list/1-0-0.d.ts +1 -3
- package/dist/types/schemas/product_list/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/product_list/2-0-0.d.ts +1 -3
- package/dist/types/schemas/product_list/2-0-0.d.ts.map +1 -1
- package/dist/types/schemas/question_list/index.d.ts +3 -4
- package/dist/types/schemas/question_list/index.d.ts.map +1 -1
- package/dist/types/schemas/recommendation_list/index.d.ts +3 -4
- package/dist/types/schemas/recommendation_list/index.d.ts.map +1 -1
- package/dist/types/schemas/session/1-0-0.d.ts +1 -3
- package/dist/types/schemas/session/1-0-0.d.ts.map +1 -1
- package/dist/types/schemas/session/1-0-1.d.ts +1 -3
- package/dist/types/schemas/session/1-0-1.d.ts.map +1 -1
- package/dist/types/schemas/session/1-0-2.d.ts +1 -3
- package/dist/types/schemas/session/1-0-2.d.ts.map +1 -1
- package/dist/types/schemas/session/1-0-3.d.ts +1 -3
- package/dist/types/schemas/session/1-0-3.d.ts.map +1 -1
- package/dist/types/schemas/session/2-0-0.d.ts +59 -0
- package/dist/types/schemas/session/2-0-0.d.ts.map +1 -0
- package/dist/types/schemas/session/index.d.ts +55 -0
- package/dist/types/schemas/session/index.d.ts.map +1 -1
- package/dist/types/schemas/step/1-0-0.d.ts +1 -3
- package/dist/types/schemas/step/1-0-0.d.ts.map +1 -1
- package/dist/types/snowplow-plugins/event-meta.d.ts +24 -0
- package/dist/types/snowplow-plugins/event-meta.d.ts.map +1 -0
- package/dist/types/tracker.d.ts +5 -3
- package/dist/types/tracker.d.ts.map +1 -1
- package/dist/types/types.d.ts +25 -5
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +32 -7
- package/dist/src-Bg5baSBO.js +0 -1318
- package/dist/src-XGiRLTMI.cjs +0 -1
- package/dist/types/events/interaction/video_pause.d.ts +0 -8
- package/dist/types/events/interaction/video_pause.d.ts.map +0 -1
- package/dist/types/events/interaction/video_play.d.ts +0 -8
- package/dist/types/events/interaction/video_play.d.ts.map +0 -1
- package/dist/types/listeners/video_pause.d.ts +0 -3
- package/dist/types/listeners/video_pause.d.ts.map +0 -1
- package/dist/types/listeners/video_play.d.ts +0 -3
- package/dist/types/listeners/video_play.d.ts.map +0 -1
- package/dist/types/plugins/index.d.ts +0 -2
- package/dist/types/plugins/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@picked/analytics",
|
|
3
3
|
"description": "Picked Analytics",
|
|
4
|
-
"version": "0.0.1-dev.
|
|
4
|
+
"version": "0.0.1-dev.1793753513002",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@snowplow/browser-plugin-button-click-tracking": "^4.10.0",
|
|
7
7
|
"@snowplow/browser-plugin-error-tracking": "^4.10.0",
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@picked/client": "workspace:*",
|
|
14
|
-
"@picked/fingerprintjs": "workspace:*",
|
|
15
14
|
"@repo/eslint-config": "workspace:*",
|
|
16
15
|
"@repo/typescript-config": "workspace:*",
|
|
16
|
+
"@repo/vitest-config": "workspace:*",
|
|
17
17
|
"@rollup/plugin-replace": "^6.0.3",
|
|
18
18
|
"@size-limit/preset-small-lib": "^12.1.0",
|
|
19
19
|
"@types/jsdom": "^21.1.7",
|
|
20
20
|
"@types/node": "^24",
|
|
21
|
-
"@vitest/coverage-v8": "^
|
|
21
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
22
22
|
"effector": "^23.4.4",
|
|
23
23
|
"jsdom": "^26.1.0",
|
|
24
24
|
"json-schema-to-ts": "^3.1.1",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"tsup": "^8.5.1",
|
|
27
27
|
"tsx": "^4.23.1",
|
|
28
28
|
"vite": "^8.2.0",
|
|
29
|
-
"vitest": "^
|
|
29
|
+
"vitest": "^5.0.1"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|
|
@@ -40,26 +40,47 @@
|
|
|
40
40
|
"import": "./dist/esm/plugins/analytics/index.js",
|
|
41
41
|
"require": "./dist/cjs/plugins/analytics/index.js",
|
|
42
42
|
"default": "./dist/esm/plugins/analytics/index.js"
|
|
43
|
+
},
|
|
44
|
+
"./interactions/document": {
|
|
45
|
+
"types": "./dist/types/interactions/document.d.ts",
|
|
46
|
+
"import": "./dist/esm/interactions/document.js",
|
|
47
|
+
"require": "./dist/cjs/interactions/document.js",
|
|
48
|
+
"default": "./dist/esm/interactions/document.js"
|
|
43
49
|
}
|
|
44
50
|
},
|
|
45
51
|
"files": [
|
|
46
52
|
"dist"
|
|
47
53
|
],
|
|
48
54
|
"knip": {
|
|
55
|
+
"entry": [
|
|
56
|
+
"eslint.config.js"
|
|
57
|
+
],
|
|
49
58
|
"ignoreBinaries": [
|
|
59
|
+
"attw",
|
|
50
60
|
"eslint",
|
|
51
61
|
"jscpd",
|
|
52
62
|
"knip",
|
|
63
|
+
"python3",
|
|
53
64
|
"tsgo"
|
|
65
|
+
],
|
|
66
|
+
"ignoreDependencies": [
|
|
67
|
+
"@picked/client",
|
|
68
|
+
"@repo/eslint-config",
|
|
69
|
+
"@repo/typescript-config",
|
|
70
|
+
"@repo/vitest-config"
|
|
54
71
|
]
|
|
55
72
|
},
|
|
73
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
56
74
|
"main": "./dist/cjs/index.js",
|
|
57
75
|
"module": "./dist/esm/index.js",
|
|
58
76
|
"peerDependencies": {
|
|
59
|
-
"@picked/client": "0.0.1-dev.
|
|
77
|
+
"@picked/client": "0.0.1-dev.1793753513002",
|
|
60
78
|
"effector": "^23.4.4"
|
|
61
79
|
},
|
|
62
80
|
"private": false,
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"access": "public"
|
|
83
|
+
},
|
|
63
84
|
"scripts": {
|
|
64
85
|
"build": "vite build && tsgo -p tsconfig.build.json",
|
|
65
86
|
"build:schema": "node_modules/.bin/tsx scripts/compile-schemas.ts",
|
|
@@ -69,10 +90,10 @@
|
|
|
69
90
|
"dev:schema": "pnpm run build && python3 -m http.server 8000 --directory out",
|
|
70
91
|
"jscpd": "jscpd src",
|
|
71
92
|
"knip": "knip",
|
|
72
|
-
"lint": "if [ \"$AGENT\" = \"true\" ]; then echo \"[AGENT HINT] Prefer running lint on specific files from the repo root: node scripts/lint-files.js <files>\"; fi && eslint . --cache --cache-location node_modules/.cache/eslint",
|
|
93
|
+
"lint": "if [ \"$AGENT\" = \"true\" ]; then echo \"[AGENT HINT] Prefer running lint on specific files from the repo root: node scripts/lint-files.js <files>\"; fi && eslint . --cache --cache-strategy content --cache-location node_modules/.cache/eslint",
|
|
73
94
|
"lint-files": "eslint",
|
|
74
95
|
"lint:format": "eslint . --fix",
|
|
75
|
-
"lint:report": "eslint . --cache --cache-location node_modules/.cache/eslint -o './.reports/eslint.json' -f json || true",
|
|
96
|
+
"lint:report": "eslint . --cache --cache-strategy content --cache-location node_modules/.cache/eslint -o './.reports/eslint.json' -f json || true",
|
|
76
97
|
"size": "size-limit",
|
|
77
98
|
"test": "vitest run",
|
|
78
99
|
"test:coverage": "../../scripts/vitest-coverage.sh",
|
|
@@ -89,6 +110,10 @@
|
|
|
89
110
|
{
|
|
90
111
|
"path": "dist/esm/plugins/analytics/index.js",
|
|
91
112
|
"limit": "25 kB"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"path": "dist/esm/interactions/document.js",
|
|
116
|
+
"limit": "4.5 kB"
|
|
92
117
|
}
|
|
93
118
|
],
|
|
94
119
|
"type": "module",
|