@veltdev/react 1.0.117 → 1.0.119

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.
@@ -51,6 +51,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
51
51
  pinShadowDom?: boolean;
52
52
  dialogShadowDom?: boolean;
53
53
  shadowDom?: boolean;
54
+ changeDetectionInCommentMode?: boolean;
54
55
  allowedElementIds?: string[];
55
56
  allowedElementClassNames?: string[];
56
57
  allowedElementQuerySelectors?: string[];
@@ -33,4 +33,7 @@ export declare function useEditorAccessRequestHandler(): {
33
33
  /**
34
34
  * @beta This hook is in beta
35
35
  */
36
- export declare function useLiveState<T>(liveStateDataId: string, initialValue?: any, debounceTime?: number): [T, (value: T) => void];
36
+ export declare function useLiveState<T>(liveStateDataId: string, initialValue?: any, options?: {
37
+ syncDuration?: number;
38
+ resetLiveState?: boolean;
39
+ }): [T, (value: T) => void];
package/index.d.ts CHANGED
@@ -84,6 +84,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
84
84
  pinShadowDom?: boolean;
85
85
  dialogShadowDom?: boolean;
86
86
  shadowDom?: boolean;
87
+ changeDetectionInCommentMode?: boolean;
87
88
  allowedElementIds?: string[];
88
89
  allowedElementClassNames?: string[];
89
90
  allowedElementQuerySelectors?: string[];
@@ -848,7 +849,10 @@ declare function useEditorAccessRequestHandler(): {
848
849
  /**
849
850
  * @beta This hook is in beta
850
851
  */
851
- declare function useLiveState<T>(liveStateDataId: string, initialValue?: any, debounceTime?: number): [T, (value: T) => void];
852
+ declare function useLiveState<T>(liveStateDataId: string, initialValue?: any, options?: {
853
+ syncDuration?: number;
854
+ resetLiveState?: boolean;
855
+ }): [T, (value: T) => void];
852
856
 
853
857
  /**
854
858
  * @beta This hook is in beta
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "1.0.117",
3
+ "version": "1.0.119",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",