leesto-connect 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/README.md CHANGED
@@ -27,7 +27,7 @@ sessions** of your pages.
27
27
  release needs a new tag. unpkg resolves the range by redirecting to the exact
28
28
  version, so the entry and its lazy chunks always come from the same build
29
29
  (avoid CDNs that serve ranges without redirecting). To freeze a build instead,
30
- pin it exactly: `https://unpkg.com/leesto-connect@0.6.0/dist/leesto-connect.js`.
30
+ pin it exactly: `https://unpkg.com/leesto-connect@0.7.0/dist/leesto-connect.js`.
31
31
 
32
32
  Options via data attributes:
33
33
 
@@ -44,6 +44,12 @@ and submits it with the test account chosen in the Lab. It never touches sign-up
44
44
  password-reset, magic-link or newsletter forms, never logs credentials, and does
45
45
  nothing outside an authorised Leesto shell. No configuration on your side.
46
46
 
47
+ The `login-anchor` capability: when the Lab asks for it (`leesto:login-watch`
48
+ with `anchor: true`), the connector reports the position of the login field
49
+ (`leesto:login-anchor`, a rectangle, never its value) and signals the tester's
50
+ clicks and typing (`leesto:login-interaction`). The Lab draws its sign-in button
51
+ on top; nothing is added to your page.
52
+
47
53
  ## Install (React / bundled app)
48
54
 
49
55
  If your app bundles its own dependencies, import the package once in your client
@@ -72,6 +78,17 @@ markers always apply and no setting can lift them:
72
78
  (placeholder only).
73
79
  - `.leesto-mask-text` / `[data-private]` — structure kept, text masked.
74
80
 
81
+ At every level, links and image addresses in the replay (`href`, `src`,
82
+ `srcset`, `url()` in `style`…) are cut to origin and path, `mailto:` / `tel:`
83
+ links to their scheme, and emails or card numbers are removed from `data-*`
84
+ attributes.
85
+
86
+ Screenshots are taken by the tester, who sees them before sending. They keep
87
+ the page text readable, whatever the level, but always mask field values and
88
+ the text of `.leesto-mask-text` / `[data-private]`; `.leesto-mask` /
89
+ `[data-leesto-block]` areas are covered, and an element inside one of them is
90
+ never captured on its own.
91
+
75
92
  Console and network diagnostics are redacted separately (emails, card numbers,
76
93
  tokens in URLs).
77
94