@mushi-mushi/web 1.37.3 → 1.38.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.
@@ -57,7 +57,13 @@ interface ElementSelector {
57
57
  deactivate(): void;
58
58
  isActive(): boolean;
59
59
  }
60
- declare function createElementSelector(): ElementSelector;
60
+ /**
61
+ * @param privateSelector CSS selector for areas whose text never leaves the
62
+ * page (the screenshot redaction list). An element inside one, or holding
63
+ * one, is reported without its text.
64
+ * @param scrubText Runs over the element text that is kept (the PII scrubber).
65
+ */
66
+ declare function createElementSelector(privateSelector?: () => string, scrubText?: (text: string) => string): ElementSelector;
61
67
 
62
68
  interface TimelineCapture {
63
69
  setScreen(screen: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mushi-mushi/web",
3
- "version": "1.37.3",
3
+ "version": "1.38.0",
4
4
  "description": "Bug report and user feedback widget for the web. One place to improve AI-built apps: fix bugs, smooth user journeys and clean up the code.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -125,7 +125,7 @@
125
125
  {
126
126
  "name": "Core SDK bundle (minified + gzipped)",
127
127
  "path": "dist/index.js",
128
- "limit": "88.5 KB",
128
+ "limit": "89.2 KB",
129
129
  "gzip": true
130
130
  },
131
131
  {