@veltdev/sdk 4.5.8-beta.4 → 4.5.8-beta.5

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.
@@ -0,0 +1,10 @@
1
+ import { AreaAnnotation } from "./area-annotation.data.model";
2
+ import { CommentAnnotation } from "./comment-annotation.data.model";
3
+ export interface ScreenshotData {
4
+ source?: string;
5
+ sourceData?: {
6
+ commentAnnotation?: CommentAnnotation;
7
+ areaAnnotation?: AreaAnnotation;
8
+ };
9
+ eventType: string;
10
+ }
@@ -1254,6 +1254,16 @@ export declare class CommentElement {
1254
1254
  */
1255
1255
  public markAsUnread: (annotationId: string) => Promise<void>;
1256
1256
 
1257
+ /**
1258
+ * To enable screenshot
1259
+ */
1260
+ public enableScreenshot: () => void;
1261
+
1262
+ /**
1263
+ * To disable screenshot
1264
+ */
1265
+ public disableScreenshot: () => void;
1266
+
1257
1267
  constructor();
1258
1268
  /**
1259
1269
  * Subscribe to comments on the current document.
@@ -2486,4 +2496,14 @@ export declare class CommentElement {
2486
2496
  * To mark comment annotation as unread
2487
2497
  */
2488
2498
  private _markAsUnread;
2499
+
2500
+ /**
2501
+ * To enable screenshot
2502
+ */
2503
+ private _enableScreenshot;
2504
+
2505
+ /**
2506
+ * To disable screenshot
2507
+ */
2508
+ private _disableScreenshot;
2489
2509
  }
package/models.d.ts CHANGED
@@ -48,6 +48,7 @@ export * from './app/models/data/recorder-annotation.data.model';
48
48
  export * from './app/models/data/recorder-events.data.model';
49
49
  export * from './app/models/data/rewriter-annotation.data.model';
50
50
  export * from './app/models/data/screen-size.data.model';
51
+ export * from './app/models/data/screenshot.data.model';
51
52
  export * from './app/models/data/selection.model';
52
53
  export * from './app/models/data/sync-video-player.data.model';
53
54
  export * from './app/models/data/tag-annotation.data.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.5.8-beta.4",
3
+ "version": "4.5.8-beta.5",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [