@veltdev/react 3.0.61 → 3.0.62
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.
- package/cjs/index.js +55 -15
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltCommentPlayerTimeline/VeltCommentPlayerTimeline.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/LiveStateSyncElement.d.ts +1 -1
- package/esm/index.js +55 -15
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltCommentPlayerTimeline/VeltCommentPlayerTimeline.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/LiveStateSyncElement.d.ts +1 -1
- package/index.d.ts +2 -1
- package/package.json +1 -1
package/esm/types/constants.d.ts
CHANGED
|
@@ -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):
|
|
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):
|
|
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.
|
|
3
|
+
"version": "3.0.62",
|
|
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": [
|