@mushi-mushi/web 1.35.0 → 1.37.3

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.
@@ -40,6 +40,10 @@ interface ScreenshotCaptureOptions {
40
40
  * - error: anything else
41
41
  */
42
42
  type ScreenshotFailureReason = 'taint' | 'timeout' | 'unsupported' | 'csp' | 'error';
43
+ /**
44
+ * The capture code lives in ./screenshot-dom and loads on the first
45
+ * screenshot, so a page that never takes one never downloads it.
46
+ */
43
47
  declare function createScreenshotCapture(options?: ScreenshotCaptureOptions): ScreenshotCapture;
44
48
 
45
49
  interface PerformanceCapture {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mushi-mushi/web",
3
- "version": "1.35.0",
3
+ "version": "1.37.3",
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": "90.5 KB",
128
+ "limit": "88.5 KB",
129
129
  "gzip": true
130
130
  },
131
131
  {
@@ -142,6 +142,12 @@
142
142
  "limit": "2.5 KB",
143
143
  "gzip": true
144
144
  },
145
+ {
146
+ "name": "On-demand chunk: DOM screenshot capture (gzipped)",
147
+ "path": "dist/chunks/screenshot-dom-*.js",
148
+ "limit": "8 KB",
149
+ "gzip": true
150
+ },
145
151
  {
146
152
  "name": "On-demand chunk: Your reports, opt-ins, overflow views (gzipped)",
147
153
  "path": "dist/chunks/widget-views-*.js",
@@ -168,7 +174,7 @@
168
174
  }
169
175
  ],
170
176
  "dependencies": {
171
- "@mushi-mushi/core": "^1.35.0"
177
+ "@mushi-mushi/core": "^1.37.0"
172
178
  },
173
179
  "peerDependencies": {
174
180
  "rrweb": "^2.0.1"
@@ -188,8 +194,8 @@
188
194
  "typescript": "^6.0.3",
189
195
  "vitest": "^4.1.9",
190
196
  "@mushi-mushi/eslint-config": "0.0.0",
191
- "eslint-plugin-mushi-mushi": "0.3.7",
192
- "@mushi-mushi/tsconfig": "0.0.0"
197
+ "@mushi-mushi/tsconfig": "0.0.0",
198
+ "eslint-plugin-mushi-mushi": "0.3.7"
193
199
  },
194
200
  "author": "Kenji Sakuramoto <kensaurus@gmail.com> (https://github.com/kensaurus)",
195
201
  "engines": {