@veltdev/sdk 3.0.42 → 3.0.44

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.
@@ -28,3 +28,6 @@ export declare enum UserIndicatorType {
28
28
  Avatar = "avatar",
29
29
  Label = "label"
30
30
  }
31
+ export declare class LiveSelectionData {
32
+ [userIdHash: string]: Selection;
33
+ }
@@ -863,6 +863,12 @@ export declare class CommentElement {
863
863
  */
864
864
  public disableSidebarCustomActions: () => void;
865
865
 
866
+ // /**
867
+ // * To get comment navigation button click
868
+ // * @returns comment navigation button click
869
+ // */
870
+ // public onCommentNavigationButtonClick: () => Observable<any>;
871
+
866
872
  constructor();
867
873
  /**
868
874
  * Subscribe to comments on the current document.
@@ -1712,4 +1718,10 @@ export declare class CommentElement {
1712
1718
  * To disable comment sidebar custom filter mode
1713
1719
  */
1714
1720
  private _disableSidebarCustomActions;
1715
- }
1721
+
1722
+ // /**
1723
+ // * To get comment navigation button click
1724
+ // * @returns comment navigation button click
1725
+ // */
1726
+ // private _onCommentNavigationButtonClick;
1727
+ }
@@ -1,5 +1,5 @@
1
1
  // @ts-nocheck
2
- import { UserIndicatorPosition, UserIndicatorType } from "../data/selection.model";
2
+ import { LiveSelectionData, UserIndicatorPosition, UserIndicatorType } from "../data/selection.model";
3
3
  export declare class SelectionElement {
4
4
  /**
5
5
  * To enable selections
@@ -51,6 +51,11 @@ export declare class SelectionElement {
51
51
  */
52
52
  disableDefaultStyling: () => void;
53
53
 
54
+ /**
55
+ * To get live selection data
56
+ */
57
+ getLiveSelectionData: () => Observable<LiveSelectionData | null>;
58
+
54
59
  constructor();
55
60
 
56
61
  /**
@@ -102,4 +107,9 @@ export declare class SelectionElement {
102
107
  * To disable default styling
103
108
  */
104
109
  private _disableDefaultStyling;
110
+
111
+ /**
112
+ * To get live selection data
113
+ */
114
+ private _getLiveSelectionData;
105
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "3.0.42",
3
+ "version": "3.0.44",
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": [