@vitrinka/web 0.6.0 → 0.7.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 +71 -0
- package/README.md +124 -4
- package/build/hud.iife.js +7 -7
- package/build/index.d.ts +1 -0
- package/build/recorder/RecorderProvider.js +5 -18
- package/build/recorder/api.d.ts +20 -0
- package/build/recorder/api.js +21 -9
- package/build/recorder/capture/console.d.ts +6 -1
- package/build/recorder/capture/console.js +28 -5
- package/build/recorder/capture/net.d.ts +10 -1
- package/build/recorder/capture/net.js +14 -1
- package/build/recorder/capture/redact.d.ts +1 -0
- package/build/recorder/capture/redact.js +6 -1
- package/build/recorder/capture/rrweb-lane.d.ts +19 -0
- package/build/recorder/capture/rrweb-lane.js +109 -0
- package/build/recorder/capture/rrweb.d.ts +2 -9
- package/build/recorder/capture/rrweb.js +11 -86
- package/build/recorder/config.d.ts +3 -1
- package/build/recorder/config.js +15 -2
- package/build/recorder/flight.d.ts +141 -22
- package/build/recorder/flight.js +312 -27
- package/build/recorder/hud/host-style.d.ts +14 -0
- package/build/recorder/hud/host-style.js +15 -0
- package/build/recorder/hud/host.js +1 -1
- package/build/recorder/hud/styles.d.ts +1 -11
- package/build/recorder/hud/styles.js +1 -12
- package/build/recorder/state.d.ts +18 -1
- package/build/recorder/state.js +40 -1
- package/build/recorder/storage/capture.d.ts +44 -0
- package/build/recorder/storage/capture.js +136 -0
- package/build/recorder/version.d.ts +2 -2
- package/build/recorder/version.js +1 -1
- package/build/report/bundle.d.ts +4 -0
- package/build/report/bundle.js +30 -0
- package/build/report/element.d.ts +86 -0
- package/build/report/element.js +146 -0
- package/build/report/engine.d.ts +144 -0
- package/build/report/engine.js +402 -0
- package/build/report/i18n.d.ts +78 -0
- package/build/report/i18n.js +151 -0
- package/build/report/identity.d.ts +26 -0
- package/build/report/identity.js +36 -0
- package/build/report/index.d.ts +12 -0
- package/build/report/index.js +15 -0
- package/build/report/keybind.d.ts +29 -0
- package/build/report/keybind.js +99 -0
- package/build/report/markers.d.ts +77 -0
- package/build/report/markers.js +162 -0
- package/build/report/profile.d.ts +62 -0
- package/build/report/profile.js +115 -0
- package/build/report/recorder-face.d.ts +2 -0
- package/build/report/recorder-face.js +20 -0
- package/build/report/styles.d.ts +7 -0
- package/build/report/styles.js +226 -0
- package/build/report/widget.d.ts +109 -0
- package/build/report/widget.js +907 -0
- package/build/report/wire.d.ts +68 -0
- package/build/report/wire.js +96 -0
- package/build/report-widget.mjs +229 -0
- package/package.json +11 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitrinka/web",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "vitrinka toolkit for React DOM apps — the journey recorder
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"description": "vitrinka toolkit for React DOM apps — the journey recorder (capture manual-testing sessions: rrweb DOM stream, clicks, navigation, network, console, notes) and Report a problem (a reporter's button, marks and the last minutes, cs/en), straight into vitrinka.",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -33,8 +33,13 @@
|
|
|
33
33
|
"types": "./build/hud.d.ts",
|
|
34
34
|
"default": "./build/hud.js"
|
|
35
35
|
},
|
|
36
|
+
"./report": {
|
|
37
|
+
"types": "./build/report/index.d.ts",
|
|
38
|
+
"default": "./build/report/index.js"
|
|
39
|
+
},
|
|
36
40
|
"./hud.iife.js": "./build/hud.iife.js",
|
|
37
41
|
"./one.iife.js": "./build/one.iife.js",
|
|
42
|
+
"./report-widget.mjs": "./build/report-widget.mjs",
|
|
38
43
|
"./package.json": "./package.json"
|
|
39
44
|
},
|
|
40
45
|
"files": [
|
|
@@ -44,13 +49,14 @@
|
|
|
44
49
|
],
|
|
45
50
|
"sideEffects": false,
|
|
46
51
|
"scripts": {
|
|
47
|
-
"build": "tsc -p tsconfig.build.json && bun run build:hud && bun run build:one",
|
|
52
|
+
"build": "tsc -p tsconfig.build.json && bun run build:hud && bun run build:one && bun run build:report",
|
|
48
53
|
"build:hud": "bun build src/recorder/hud/iife.ts --format=iife --minify --target=browser --define process.env.NODE_ENV='\"production\"' --outfile build/hud.iife.js",
|
|
49
54
|
"build:one": "bun build src/recorder/one-iife.ts --format=iife --minify --target=browser --outfile build/one.iife.js",
|
|
55
|
+
"build:report": "bun build src/report/bundle.ts --format=esm --minify --target=browser --define process.env.NODE_ENV='\"production\"' --outfile build/report-widget.mjs",
|
|
50
56
|
"typecheck": "tsc --noEmit",
|
|
51
57
|
"test": "bun test src",
|
|
52
58
|
"test:e2e": "playwright test -c playwright.config.ts --workers 1",
|
|
53
|
-
"prepublishOnly": "tsc -p tsconfig.build.json && bun run build:hud && bun run build:one"
|
|
59
|
+
"prepublishOnly": "tsc -p tsconfig.build.json && bun run build:hud && bun run build:one && bun run build:report"
|
|
54
60
|
},
|
|
55
61
|
"dependencies": {
|
|
56
62
|
"@vitrinka/link": "^0.1.3",
|
|
@@ -67,6 +73,7 @@
|
|
|
67
73
|
"@types/node": "^22.0.0",
|
|
68
74
|
"@types/react": "19.2.14",
|
|
69
75
|
"@types/react-dom": "^19.2.0",
|
|
76
|
+
"fake-indexeddb": "^6.2.6",
|
|
70
77
|
"react": "19.2.3",
|
|
71
78
|
"react-dom": "19.2.3",
|
|
72
79
|
"rrweb": "^2.0.0",
|