@veltdev/sdk 5.0.2-beta.1 → 5.0.2-beta.2

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.
@@ -85,9 +85,12 @@ export type CommentEventTypesMap = {
85
85
  [CommentEventTypes.COMMENT_PIN_CLICKED]: CommentPinClickedEvent;
86
86
  [CommentEventTypes.COMMENT_BUBBLE_CLICKED]: CommentBubbleClickedEvent;
87
87
  [CommentEventTypes.COMMENT_TOOL_CLICK]: CommentToolClickEvent;
88
+ [CommentEventTypes.COMMENT_TOOL_CLICKED]: CommentToolClickedEvent;
88
89
  [CommentEventTypes.SIDEBAR_BUTTON_CLICK]: SidebarButtonClickEvent;
90
+ [CommentEventTypes.SIDEBAR_BUTTON_CLICKED]: SidebarButtonClickedEvent;
89
91
  [CommentEventTypes.ATTACHMENT_DOWNLOAD_CLICKED]: AttachmentDownloadClickedEvent;
90
92
  [CommentEventTypes.COMMENT_SAVED]: CommentSavedEvent;
93
+ [CommentEventTypes.COMMENT_SAVE_TRIGGERED]: CommentSaveTriggeredEvent;
91
94
  [CommentEventTypes.VISIBILITY_OPTION_CLICKED]: VisibilityOptionClickedEvent;
92
95
  };
93
96
  export interface AddAttachmentEvent {
@@ -183,6 +186,10 @@ export interface CommentSavedEvent {
183
186
  commentAnnotation: CommentAnnotation;
184
187
  metadata: VeltEventMetadata;
185
188
  }
189
+ export interface CommentSaveTriggeredEvent {
190
+ annotationId: string;
191
+ metadata: VeltEventMetadata;
192
+ }
186
193
  export interface UpdateCommentEvent {
187
194
  annotationId: string;
188
195
  commentAnnotation: CommentAnnotation;
@@ -309,9 +316,13 @@ export interface CommentToolClickEvent {
309
316
  targetElementId?: string | null;
310
317
  metadata?: VeltEventMetadata;
311
318
  }
319
+ export interface CommentToolClickedEvent extends CommentToolClickEvent {
320
+ }
312
321
  export interface SidebarButtonClickEvent {
313
322
  metadata?: VeltEventMetadata;
314
323
  }
324
+ export interface SidebarButtonClickedEvent extends SidebarButtonClickEvent {
325
+ }
315
326
  export interface AttachmentDownloadClickedEvent {
316
327
  annotationId: string;
317
328
  commentAnnotation: CommentAnnotation;
@@ -60,9 +60,12 @@ export declare const CommentEventTypes: {
60
60
  readonly COMMENT_PIN_CLICKED: "commentPinClicked";
61
61
  readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
62
62
  readonly COMMENT_TOOL_CLICK: "commentToolClick";
63
+ readonly COMMENT_TOOL_CLICKED: "commentToolClicked";
63
64
  readonly SIDEBAR_BUTTON_CLICK: "sidebarButtonClick";
65
+ readonly SIDEBAR_BUTTON_CLICKED: "sidebarButtonClicked";
64
66
  readonly ATTACHMENT_DOWNLOAD_CLICKED: "attachmentDownloadClicked";
65
67
  readonly COMMENT_SAVED: "commentSaved";
68
+ readonly COMMENT_SAVE_TRIGGERED: "commentSaveTriggered";
66
69
  readonly VISIBILITY_OPTION_CLICKED: "visibilityOptionClicked";
67
70
  };
68
71
  export declare const RecorderEventTypes: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "5.0.2-beta.1",
3
+ "version": "5.0.2-beta.2",
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": [