@veltdev/react 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.
@@ -126,7 +126,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
126
126
  multiThreadMode?: boolean;
127
127
  multiThread?: boolean;
128
128
  deleteReplyConfirmation?: boolean;
129
- collapsedComment?: boolean;
129
+ collapsedComments?: boolean;
130
130
  }
131
131
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
132
132
  export default SnippylyComments;
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "3.0.28";
1
+ export declare const VELT_SDK_VERSION = "3.0.29";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
@@ -24,4 +24,7 @@ export declare function useCommentSelectionChangeHandler(): CommentSelectionChan
24
24
  export declare function useCommentCopyLinkHandler(): {
25
25
  link: string;
26
26
  } | undefined;
27
- export declare function useCommentAnnotationById(annotationId: string, documentId?: string): CommentAnnotation | null | undefined;
27
+ export declare function useCommentAnnotationById(config: {
28
+ annotationId: string;
29
+ documentId?: string;
30
+ }): CommentAnnotation | null | undefined;
package/index.d.ts CHANGED
@@ -166,7 +166,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
166
166
  multiThreadMode?: boolean;
167
167
  multiThread?: boolean;
168
168
  deleteReplyConfirmation?: boolean;
169
- collapsedComment?: boolean;
169
+ collapsedComments?: boolean;
170
170
  }
171
171
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
172
172
 
@@ -2609,7 +2609,10 @@ declare function useCommentSelectionChangeHandler(): CommentSelectionChangeData
2609
2609
  declare function useCommentCopyLinkHandler(): {
2610
2610
  link: string;
2611
2611
  } | undefined;
2612
- declare function useCommentAnnotationById(annotationId: string, documentId?: string): CommentAnnotation | null | undefined;
2612
+ declare function useCommentAnnotationById(config: {
2613
+ annotationId: string;
2614
+ documentId?: string;
2615
+ }): CommentAnnotation | null | undefined;
2613
2616
 
2614
2617
  declare function useCursorUtils(): CursorElement | undefined;
2615
2618
  declare function useCursorUsers(): CursorUser[] | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
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": [