@veltdev/sdk 4.0.0-beta.2 → 4.0.0-beta.3

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.
@@ -131,10 +131,10 @@ export interface GetCommentAnnotationsEvent {
131
131
  metadata: VeltEventMetadata;
132
132
  }
133
133
  export interface GetCommentAnnotationsResponse {
134
- data: Record<string, CommentAnnotation[]>;
134
+ data: Record<string, CommentAnnotation[]> | null;
135
135
  }
136
136
  export interface GetCommentAnnotationsCountResponse {
137
- data: Record<string, CommentAnnotationsCount>;
137
+ data: Record<string, CommentAnnotationsCount> | null;
138
138
  }
139
139
  export interface CommentAnnotationsCount {
140
140
  unread: number;
@@ -956,12 +956,12 @@ export declare class CommentElement {
956
956
  /**
957
957
  * To get comment annotations
958
958
  */
959
- public getCommentAnnotations: (config: GetCommentAnnotationsRequest) => Observable<GetCommentAnnotationsEvent | null>;
959
+ public getCommentAnnotations: (config?: GetCommentAnnotationsRequest) => Observable<GetCommentAnnotationsEvent>;
960
960
 
961
961
  /**
962
962
  * To get comment annotations count
963
963
  */
964
- public getCommentAnnotationsCount: (config: GetCommentAnnotationsCountRequest) => Observable<GetCommentAnnotationsCountEvent | null>;
964
+ public getCommentAnnotationsCount: (config?: GetCommentAnnotationsCountRequest) => Observable<GetCommentAnnotationsCountEvent>;
965
965
 
966
966
  /**
967
967
  * To assign user to comment annotation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.0.0-beta.2",
3
+ "version": "4.0.0-beta.3",
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": [