makethisbetter 1.2.0 → 1.4.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.
Files changed (45) hide show
  1. package/README.md +2 -7
  2. package/dist/i18n/de.d.ts +2 -0
  3. package/dist/i18n/de.d.ts.map +1 -1
  4. package/dist/i18n/en.d.ts +2 -0
  5. package/dist/i18n/en.d.ts.map +1 -1
  6. package/dist/i18n/es.d.ts +2 -0
  7. package/dist/i18n/es.d.ts.map +1 -1
  8. package/dist/i18n/fr.d.ts +2 -0
  9. package/dist/i18n/fr.d.ts.map +1 -1
  10. package/dist/i18n/ja.d.ts +2 -0
  11. package/dist/i18n/ja.d.ts.map +1 -1
  12. package/dist/i18n/ko.d.ts +2 -0
  13. package/dist/i18n/ko.d.ts.map +1 -1
  14. package/dist/i18n/zh-CN.d.ts +2 -0
  15. package/dist/i18n/zh-CN.d.ts.map +1 -1
  16. package/dist/makethisbetter.cjs.js +19 -19
  17. package/dist/makethisbetter.cjs.js.map +1 -1
  18. package/dist/makethisbetter.esm.js +262 -244
  19. package/dist/makethisbetter.esm.js.map +1 -1
  20. package/dist/makethisbetter.js +17 -17
  21. package/dist/makethisbetter.js.map +1 -1
  22. package/dist/popup/success.d.ts +4 -1
  23. package/dist/popup/success.d.ts.map +1 -1
  24. package/dist/record/session.cdn.test.d.ts +2 -0
  25. package/dist/record/session.cdn.test.d.ts.map +1 -0
  26. package/dist/record/session.d.ts.map +1 -1
  27. package/dist/types.d.ts +1 -0
  28. package/dist/types.d.ts.map +1 -1
  29. package/dist/widget/controller.d.ts.map +1 -1
  30. package/package.json +2 -10
  31. package/src/i18n/de.ts +2 -0
  32. package/src/i18n/en.ts +2 -0
  33. package/src/i18n/es.ts +2 -0
  34. package/src/i18n/fr.ts +2 -0
  35. package/src/i18n/ja.ts +2 -0
  36. package/src/i18n/ko.ts +2 -0
  37. package/src/i18n/zh-CN.ts +2 -0
  38. package/src/popup/success.test.ts +13 -0
  39. package/src/popup/success.ts +10 -3
  40. package/src/record/session.cdn.test.ts +89 -0
  41. package/src/record/session.test.ts +1 -1
  42. package/src/record/session.ts +22 -8
  43. package/src/types.ts +1 -0
  44. package/src/widget/controller.test.ts +6 -1
  45. package/src/widget/controller.ts +10 -5
package/README.md CHANGED
@@ -168,12 +168,7 @@ Click any element to pin it, or drag to draw a freeform highlight. The SDK captu
168
168
 
169
169
  ### Screen Recording
170
170
 
171
- Switch to **Record** mode in the toolbar to capture a screen recording (up to 60 seconds). Powered by [rrweb](https://github.com/rrweb-io/rrweb) with lazy loading — zero cost until the user hits Record.
172
-
173
- ```bash
174
- # Optional: install rrweb for npm users (CDN users get it automatically)
175
- npm install rrweb
176
- ```
171
+ Switch to **Record** mode in the toolbar to capture a screen recording (up to 60 seconds). Powered by [rrweb](https://github.com/rrweb-io/rrweb) with lazy loading — zero cost until the user hits Record. No extra install needed: npm users get the recorder bundled as a lazy chunk served from your own assets; script-tag users load it on demand from jsDelivr (SRI-pinned).
177
172
 
178
173
  ### Frustration Detection
179
174
 
@@ -341,7 +336,7 @@ Shadow DOM Host (#mtb-widget-host)
341
336
  | IIFE | ~77 KB | ~23 KB |
342
337
  | ESM | ~90 KB | ~24 KB |
343
338
 
344
- rrweb is loaded on demand and not included in these numbers.
339
+ The rrweb recorder (~78 KB) is loaded on demand when recording starts and not included in these numbers.
345
340
 
346
341
  ## Development
347
342
 
package/dist/i18n/de.d.ts CHANGED
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  success: {
21
21
  title: string;
22
22
  message: string;
23
+ title_no_ai: string;
24
+ message_no_ai: string;
23
25
  view_feedback: string;
24
26
  close: string;
25
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../src/i18n/de.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqDC"}
1
+ {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../src/i18n/de.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuDC"}
package/dist/i18n/en.d.ts CHANGED
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  success: {
21
21
  title: string;
22
22
  message: string;
23
+ title_no_ai: string;
24
+ message_no_ai: string;
23
25
  view_feedback: string;
24
26
  close: string;
25
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqDC"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuDC"}
package/dist/i18n/es.d.ts CHANGED
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  success: {
21
21
  title: string;
22
22
  message: string;
23
+ title_no_ai: string;
24
+ message_no_ai: string;
23
25
  view_feedback: string;
24
26
  close: string;
25
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/i18n/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqDC"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/i18n/es.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuDC"}
package/dist/i18n/fr.d.ts CHANGED
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  success: {
21
21
  title: string;
22
22
  message: string;
23
+ title_no_ai: string;
24
+ message_no_ai: string;
23
25
  view_feedback: string;
24
26
  close: string;
25
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqDC"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuDC"}
package/dist/i18n/ja.d.ts CHANGED
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  success: {
21
21
  title: string;
22
22
  message: string;
23
+ title_no_ai: string;
24
+ message_no_ai: string;
23
25
  view_feedback: string;
24
26
  close: string;
25
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../src/i18n/ja.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqDC"}
1
+ {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../src/i18n/ja.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuDC"}
package/dist/i18n/ko.d.ts CHANGED
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  success: {
21
21
  title: string;
22
22
  message: string;
23
+ title_no_ai: string;
24
+ message_no_ai: string;
23
25
  view_feedback: string;
24
26
  close: string;
25
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../src/i18n/ko.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqDC"}
1
+ {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../src/i18n/ko.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuDC"}
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  success: {
21
21
  title: string;
22
22
  message: string;
23
+ title_no_ai: string;
24
+ message_no_ai: string;
23
25
  view_feedback: string;
24
26
  close: string;
25
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../src/i18n/zh-CN.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqDC"}
1
+ {"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../src/i18n/zh-CN.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuDC"}