@veltdev/sdk 3.0.27 → 3.0.29

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.
@@ -795,6 +795,25 @@ export declare class CommentElement {
795
795
  */
796
796
  public onCopyLink: () => Observable<string>;
797
797
 
798
+ /**
799
+ * To get comment annotation by id
800
+ * @param annotationId Annotation Id
801
+ * @param documentId Document Id
802
+ * @returns Observable<CommentAnnotation | null>
803
+ */
804
+ public getCommentAnnotationById: (config: {annotationId: string, documentId?: string}) => Observable<CommentAnnotation | null>;
805
+
806
+ /**
807
+ * To enable collapsed comment
808
+ */
809
+ public enableCollapsedComments: () => void;
810
+
811
+ /**
812
+ * To disable collapsed comment
813
+ */
814
+ public disableCollapsedComments: () => void;
815
+
816
+
798
817
  constructor();
799
818
  /**
800
819
  * Subscribe to comments on the current document.
@@ -1577,4 +1596,21 @@ export declare class CommentElement {
1577
1596
  * @returns link to be copied
1578
1597
  */
1579
1598
  private _onCopyLink;
1580
- }
1599
+
1600
+ /**
1601
+ * To get comment annotation by id
1602
+ * @param config Comment annotation config
1603
+ * @returns Observable<CommentAnnotation | null>
1604
+ */
1605
+ private _getCommentAnnotationById;
1606
+
1607
+ /**
1608
+ * To enable collapsed comment
1609
+ */
1610
+ private _enableCollapsedComments;
1611
+
1612
+ /**
1613
+ * To disable collapsed comment
1614
+ */
1615
+ private _disableCollapsedComments;
1616
+ }
@@ -42,6 +42,11 @@ export declare class NotificationElement {
42
42
  * To disable read notifications on for you tab
43
43
  */
44
44
  disableReadNotificationsOnForYouTab: () => void;
45
+
46
+ /**
47
+ * To set all notifications as read
48
+ */
49
+ setAllNotificationsAsRead: (config?: { tabId: 'for-you' | 'all' | 'document' | 'people' }) => void;
45
50
  constructor();
46
51
 
47
52
  /**
@@ -83,4 +88,9 @@ export declare class NotificationElement {
83
88
  * To disable read notifications on for you tab
84
89
  */
85
90
  private _disableReadNotificationsOnForYouTab;
86
- }
91
+
92
+ /**
93
+ * To set all notifications as read
94
+ */
95
+ private _setAllNotificationsAsRead;
96
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "3.0.27",
3
+ "version": "3.0.29",
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": [