@veltdev/sdk 3.0.28 → 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.
@@ -801,17 +801,17 @@ export declare class CommentElement {
801
801
  * @param documentId Document Id
802
802
  * @returns Observable<CommentAnnotation | null>
803
803
  */
804
- public getCommentAnnotationById: (annotationId: string, documentId?: string) => Observable<CommentAnnotation | null>;
804
+ public getCommentAnnotationById: (config: {annotationId: string, documentId?: string}) => Observable<CommentAnnotation | null>;
805
805
 
806
806
  /**
807
807
  * To enable collapsed comment
808
808
  */
809
- public enableCollapsedComment: () => void;
809
+ public enableCollapsedComments: () => void;
810
810
 
811
811
  /**
812
812
  * To disable collapsed comment
813
813
  */
814
- public disableCollapsedComment: () => void;
814
+ public disableCollapsedComments: () => void;
815
815
 
816
816
 
817
817
  constructor();
@@ -1599,8 +1599,7 @@ export declare class CommentElement {
1599
1599
 
1600
1600
  /**
1601
1601
  * To get comment annotation by id
1602
- * @param annotationId Annotation Id
1603
- * @param documentId Document Id
1602
+ * @param config Comment annotation config
1604
1603
  * @returns Observable<CommentAnnotation | null>
1605
1604
  */
1606
1605
  private _getCommentAnnotationById;
@@ -1608,10 +1607,10 @@ export declare class CommentElement {
1608
1607
  /**
1609
1608
  * To enable collapsed comment
1610
1609
  */
1611
- private _enableCollapsedComment;
1610
+ private _enableCollapsedComments;
1612
1611
 
1613
1612
  /**
1614
1613
  * To disable collapsed comment
1615
1614
  */
1616
- private _disableCollapsedComment;
1615
+ private _disableCollapsedComments;
1617
1616
  }
@@ -46,7 +46,7 @@ export declare class NotificationElement {
46
46
  /**
47
47
  * To set all notifications as read
48
48
  */
49
- setAllNotificationsAsRead: ({ tabId }: { tabId: 'for-you' | 'all' | 'document' | 'people' }) => void;
49
+ setAllNotificationsAsRead: (config?: { tabId: 'for-you' | 'all' | 'document' | 'people' }) => void;
50
50
  constructor();
51
51
 
52
52
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "3.0.28",
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": [