@qaiddev/thumbs-embed 1.2.1 → 1.3.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/dist/types.d.ts CHANGED
@@ -67,6 +67,13 @@ export interface FeedbackConfig {
67
67
  fontSize?: number;
68
68
  /** Enable screenshot capture with feedback. Default: false */
69
69
  captureScreenshot?: boolean;
70
+ /**
71
+ * Let the user draw on the captured screenshot (rectangle, arrow, freehand
72
+ * pen, blur/redact) in a full-screen editor before it is submitted. Only
73
+ * applies when a screenshot was captured. Default: true (set `false` to
74
+ * always submit the raw screenshot).
75
+ */
76
+ annotate?: boolean;
70
77
  /** Enable video recording button. Default: false */
71
78
  captureVideo?: boolean;
72
79
  /** Video recording options */
@@ -269,6 +276,8 @@ export interface ResolvedFeedbackConfig {
269
276
  fontFamily: string;
270
277
  fontSize: number;
271
278
  captureScreenshot: boolean;
279
+ /** Whether the screenshot annotation editor is offered after capture. */
280
+ annotate: boolean;
272
281
  screenshotMethod: "dom" | "permission";
273
282
  screenshotOptions: {
274
283
  quality: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qaiddev/thumbs-embed",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "description": "Precision User Feedback",
5
5
  "type": "module",
6
6
  "main": "./dist/qaid.umd.cjs",