@vitrinka/web 0.2.1 → 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 +17 -0
- package/README.md +3 -3
- package/build/hud.iife.js +5 -5
- 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/session.d.ts +2 -2
- package/build/recorder/session.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
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
|
+
|
|
3
20
|
## 0.2.1
|
|
4
21
|
|
|
5
22
|
- **Linking survives a flaky network.** One failed approval check (a
|
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?}` |
|