@skippr/live-agent-sdk 0.31.0 → 0.32.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 +18 -0
- package/dist/skippr-sdk.js +78 -78
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -255,6 +255,24 @@ Available on `window.Skippr` when using the script tag bundle.
|
|
|
255
255
|
| `Skippr.destroy()` | Remove the widget from the page and clear auth tokens |
|
|
256
256
|
|
|
257
257
|
|
|
258
|
+
## Hiding elements from the agent
|
|
259
|
+
|
|
260
|
+
To hide an element (and everything inside it) from the agent in `captureMode: 'auto'`, add the `data-skippr-private` attribute:
|
|
261
|
+
|
|
262
|
+
```jsx
|
|
263
|
+
<div data-skippr-private>
|
|
264
|
+
<SensitiveContent />
|
|
265
|
+
</div>
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
```html
|
|
269
|
+
<section data-skippr-private>
|
|
270
|
+
<input type="password" />
|
|
271
|
+
</section>
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
Use this for sensitive content or anything you don't want the agent to see or reference.
|
|
275
|
+
|
|
258
276
|
## Support
|
|
259
277
|
|
|
260
278
|
For questions, technical support, or feedback:
|