@vitrinka/web 0.2.0 → 0.2.2
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 +34 -0
- package/README.md +3 -3
- package/build/hud.iife.js +6 -6
- package/build/recorder/capture/click.d.ts +6 -0
- package/build/recorder/capture/click.js +15 -4
- package/build/recorder/capture/redact.d.ts +9 -0
- package/build/recorder/capture/redact.js +17 -13
- package/build/recorder/capture/rrweb.js +3 -2
- package/build/recorder/capture/selector.d.ts +7 -1
- package/build/recorder/capture/selector.js +14 -4
- package/build/recorder/hud/AnnotateOverlay.js +19 -23
- package/build/recorder/hud/Hud.js +6 -6
- package/build/recorder/hud/controller.d.ts +1 -1
- package/build/recorder/hud/listen.d.ts +24 -0
- package/build/recorder/hud/listen.js +27 -0
- package/build/recorder/hud/useDock.js +2 -2
- package/build/recorder/link.js +1 -1
- package/build/recorder/session.d.ts +2 -2
- package/build/recorder/session.js +3 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @vitrinka/web
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
- **A click never records more than the DOM stream shows.** A click on a
|
|
6
|
+
filled input, textarea or select used to record its value as the click's
|
|
7
|
+
text — a password field included — though rrweb masks every input. Now a
|
|
8
|
+
form field's text is always empty, and so is the text of an element at,
|
|
9
|
+
inside or wrapping `.rr-mask` / `.rr-block`. Under a `maskAllText` policy
|
|
10
|
+
a click records no text at all.
|
|
11
|
+
- **URL secrets are scrubbed from the start URL and from rrweb.** The
|
|
12
|
+
session's first navigation and rrweb's Meta event (the page URL every
|
|
13
|
+
full snapshot opens with: start, each checkout, resume) carried the raw
|
|
14
|
+
`location.href`, so a magic-link or OAuth-callback token in the query or
|
|
15
|
+
fragment reached the recording. Both now pass `redactUrl`, like every
|
|
16
|
+
later navigation already did.
|
|
17
|
+
- **PEM private keys are scrubbed** from bodies, console lines and headers,
|
|
18
|
+
whatever key carries them (`@vitrinka/redact` 0.1.2).
|
|
19
|
+
|
|
20
|
+
## 0.2.1
|
|
21
|
+
|
|
22
|
+
- **Linking survives a flaky network.** One failed approval check (a
|
|
23
|
+
dropped connection, an edge error page, a 5xx or a 429) used to end the
|
|
24
|
+
link with "Failed to fetch · Try again", even though the code was still
|
|
25
|
+
valid. Now the pill keeps waiting: it retries with a growing pause (up to
|
|
26
|
+
30s) until the code itself expires. Only an expired code, a token for
|
|
27
|
+
another workspace or Cancel ends it. Needs `@vitrinka/link` 0.1.3.
|
|
28
|
+
- **No more passive-listener errors on Angular hosts.** On a page that runs
|
|
29
|
+
zone.js (any Angular app), Esc in the menu, the note sheet or annotate
|
|
30
|
+
mode logged "Unable to preventDefault inside passive event listener
|
|
31
|
+
invocation", and the browser went ahead with the default anyway. zone.js
|
|
32
|
+
runs every listener of a kind through the first one registered, and
|
|
33
|
+
Angular CDK registers its keydown, mousedown and touchstart listeners as
|
|
34
|
+
passive. The HUD now registers every listener that cancels an event
|
|
35
|
+
directly with the browser, never passive.
|
|
36
|
+
|
|
3
37
|
## 0.2.0
|
|
4
38
|
|
|
5
39
|
- **Stop is in the pill.** A ■ next to the other tools. It asks inline
|
package/README.md
CHANGED
|
@@ -210,9 +210,9 @@ same mount as one self-contained script with React bundled in:
|
|
|
210
210
|
|
|
211
211
|
| Lane | Event `kind` | Payload |
|
|
212
212
|
|---|---|---|
|
|
213
|
-
| rrweb | `rrweb` | `{count}` + `blobKey` — the batch itself is uploaded as a chunk; inputs always masked, all text under a `maskAllText` policy; images recorded by URL, never inlined (inlining would alter the page's own `<img>`) |
|
|
214
|
-
| clicks | `click` | `{selector, text, rect, route}` |
|
|
215
|
-
| navigation | `nav` | `{url, route, spa}` |
|
|
213
|
+
| rrweb | `rrweb` | `{count}` + `blobKey` — the batch itself is uploaded as a chunk; inputs always masked, all text under a `maskAllText` policy; the page URL each full snapshot carries is scrubbed of query/fragment secrets; images recorded by URL, never inlined (inlining would alter the page's own `<img>`) |
|
|
214
|
+
| clicks | `click` | `{selector, text, rect, route}` — `text` is never a form field's value, and empty at, inside or around `.rr-mask` / `.rr-block` and under `maskAllText` |
|
|
215
|
+
| navigation | `nav` | `{url, route, spa}` — `url` scrubbed of query/fragment secrets, the start URL included |
|
|
216
216
|
| network | `net` | `{method, url, status, ms, reqHeaders, resHeaders, reqBody, resBody, via}` — redacted, capped at 64 KiB per body; the recorder's own uploads are never recorded |
|
|
217
217
|
| console | `console` | `{level: 'error', text}` |
|
|
218
218
|
| notes | `note` | `{text, route}`; annotations add `{rect, selector, annotate: true, task?}` |
|