leesto-connect 0.2.1 → 0.3.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/README.md CHANGED
@@ -10,6 +10,8 @@ sessions** of your pages.
10
10
  Livery shell, so it's harmless on production.
11
11
  - **Lazy** — rrweb / screenshot code load only when a recording or capture
12
12
  actually starts, so a normal page load only fetches a ~7.2 kB (gzip) entry.
13
+ Inside a consented Livery test session, rrweb loads at connect time and keeps
14
+ the last ~2 minutes in memory; nothing leaves the page until Livery asks.
13
15
  - **Origin-locked** — the connector only answers a shell on its allowlist, so a
14
16
  third-party page that frames your app cannot drive capture or recording.
15
17
 
@@ -25,7 +27,7 @@ sessions** of your pages.
25
27
  release needs a new tag. unpkg resolves the range by redirecting to the exact
26
28
  version, so the entry and its lazy chunks always come from the same build
27
29
  (avoid CDNs that serve ranges without redirecting). To freeze a build instead,
28
- pin it exactly: `https://unpkg.com/leesto-connect@0.2.1/dist/leesto-connect.js`.
30
+ pin it exactly: `https://unpkg.com/leesto-connect@0.3.0/dist/leesto-connect.js`.
29
31
 
30
32
  Options via data attributes:
31
33
 
@@ -52,6 +54,27 @@ auto-connects; there is no API to call.
52
54
  import "leesto-connect";
53
55
  ```
54
56
 
57
+ ## Privacy: what the replay captures
58
+
59
+ Masking happens **in the browser, at capture time**, before anything leaves the
60
+ page. The level is chosen by the project's team in Leesto (never by the
61
+ tester) and handed to the connector on the iframe URL (`leesto_mask`):
62
+
63
+ - **Mask everything** (default): all text, all inputs, and images/media are
64
+ replaced by placeholders of the same size.
65
+ - **Labels visible**: same, except the short labels of buttons and links.
66
+ - **Mask inputs only**: inputs are masked, page text is visible.
67
+
68
+ A missing or unknown value means *mask everything*. Whatever the level, your own
69
+ markers always apply and no setting can lift them:
70
+
71
+ - `.leesto-mask` / `[data-leesto-block]` — the element is never captured
72
+ (placeholder only).
73
+ - `.leesto-mask-text` / `[data-private]` — structure kept, text masked.
74
+
75
+ Console and network diagnostics are redacted separately (emails, card numbers,
76
+ tokens in URLs).
77
+
55
78
  ## Security model
56
79
 
57
80
  The connector is keyless, so it does **not** authenticate the shell — it