@veltdev/sdk 4.6.6 → 4.6.7-beta.1

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.
@@ -81,6 +81,7 @@ export type CommentEventTypesMap = {
81
81
  [CommentEventTypes.COMPOSER_CLICKED]: ComposerClickedEvent;
82
82
  [CommentEventTypes.LINK_CLICKED]: LinkClickedEvent;
83
83
  [CommentEventTypes.COMMENT_PIN_CLICKED]: CommentPinClickedEvent;
84
+ [CommentEventTypes.COMMENT_BUBBLE_CLICKED]: CommentBubbleClickedEvent;
84
85
  };
85
86
  export interface AddAttachmentEvent {
86
87
  annotationId: string;
@@ -264,3 +265,8 @@ export interface CommentPinClickedEvent {
264
265
  commentAnnotation: CommentAnnotation;
265
266
  metadata?: VeltEventMetadata;
266
267
  }
268
+ export interface CommentBubbleClickedEvent {
269
+ annotationId: string;
270
+ commentAnnotation: CommentAnnotation;
271
+ metadata?: VeltEventMetadata;
272
+ }
@@ -19,6 +19,7 @@ export declare class Selection {
19
19
  */
20
20
  targetTextRange?: TargetTextRange | null;
21
21
  pageInfo: PageInfo;
22
+ timestamp: number;
22
23
  }
23
24
  export declare enum UserIndicatorPosition {
24
25
  Start = "start",
@@ -56,6 +56,12 @@ export declare class SelectionElement {
56
56
  */
57
57
  getLiveSelectionData: () => Observable<LiveSelectionData | null>;
58
58
 
59
+ /**
60
+ * To set inactivity time (Default value is 5 minutes)
61
+ * @param time inactivity time in milliseconds
62
+ */
63
+ setInactivityTime: (time: number) => void;
64
+
59
65
  constructor();
60
66
 
61
67
  /**
@@ -112,4 +118,10 @@ export declare class SelectionElement {
112
118
  * To get live selection data
113
119
  */
114
120
  private _getLiveSelectionData;
121
+
122
+ /**
123
+ * To set inactivity time (Default value is 5 minutes)
124
+ * @param time inactivity time in milliseconds
125
+ */
126
+ private _setInactivityTime;
115
127
  }
@@ -56,6 +56,7 @@ export declare const CommentEventTypes: {
56
56
  readonly COMPOSER_CLICKED: "composerClicked";
57
57
  readonly LINK_CLICKED: "linkClicked";
58
58
  readonly COMMENT_PIN_CLICKED: "commentPinClicked";
59
+ readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
59
60
  };
60
61
  export declare const RecorderEventTypes: {
61
62
  readonly TRANSCRIPTION_DONE: "transcriptionDone";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.6.6",
3
+ "version": "4.6.7-beta.1",
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": [