@veltdev/react 3.0.61 → 3.0.63

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.
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface IVeltCommentPlayerTimelineProps {
3
3
  totalMediaLength?: number;
4
+ offset?: number;
4
5
  shadowDom?: boolean;
5
6
  videoPlayerId?: string;
6
7
  onCommentClick?: Function;
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "3.0.61";
1
+ export declare const VELT_SDK_VERSION = "3.0.63";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
@@ -4,7 +4,7 @@ declare class LiveStateDataConfig {
4
4
  }
5
5
  export declare function useLiveStateSyncUtils(): LiveStateSyncElement | undefined;
6
6
  export declare function useLiveStateData(liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig): any;
7
- export declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any): any;
7
+ export declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any): void;
8
8
  export declare function useUserEditorState(): UserEditorAccess | null;
9
9
  export declare function useEditor(): User | null;
10
10
  export declare function useEditorAccessTimer(): EditorAccessTimer;
package/index.d.ts CHANGED
@@ -484,6 +484,7 @@ declare const SnippylyUserRequestTool: React.FC<IVeltUserRequestToolProps>;
484
484
 
485
485
  interface IVeltCommentPlayerTimelineProps {
486
486
  totalMediaLength?: number;
487
+ offset?: number;
487
488
  shadowDom?: boolean;
488
489
  videoPlayerId?: string;
489
490
  onCommentClick?: Function;
@@ -3705,7 +3706,7 @@ declare class LiveStateDataConfig {
3705
3706
  }
3706
3707
  declare function useLiveStateSyncUtils(): LiveStateSyncElement | undefined;
3707
3708
  declare function useLiveStateData(liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig): any;
3708
- declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any): any;
3709
+ declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any): void;
3709
3710
  declare function useUserEditorState(): UserEditorAccess | null;
3710
3711
  declare function useEditor(): User | null;
3711
3712
  declare function useEditorAccessTimer(): EditorAccessTimer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "3.0.61",
3
+ "version": "3.0.63",
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": [