@veltdev/react 4.4.0-beta.5 → 4.4.0-beta.7
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 +3 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyPresence/SnippylyPresence.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 +3 -3
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyPresence/SnippylyPresence.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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.4.0-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.4.0-beta.7";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export interface IVeltWireframeCommonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
@@ -5,7 +5,7 @@ declare class LiveStateDataConfig {
|
|
|
5
5
|
export declare function useLiveStateSyncUtils(): LiveStateSyncElement | undefined;
|
|
6
6
|
export declare function useLiveStateData(liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig): any;
|
|
7
7
|
export declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any, config?: SetLiveStateDataConfig): void;
|
|
8
|
-
export declare function useUserEditorState(): UserEditorAccess | null;
|
|
8
|
+
export declare function useUserEditorState(): UserEditorAccess | null | undefined;
|
|
9
9
|
export declare function useEditor(): User | null;
|
|
10
10
|
export declare function useEditorAccessTimer(): EditorAccessTimer;
|
|
11
11
|
export declare function useEditorAccessRequestHandler(): {
|
package/index.d.ts
CHANGED
|
@@ -307,6 +307,7 @@ interface IVeltPresenceProps {
|
|
|
307
307
|
inactivityTime?: number;
|
|
308
308
|
documentParams?: any;
|
|
309
309
|
location?: any;
|
|
310
|
+
locationId?: string;
|
|
310
311
|
/**
|
|
311
312
|
* @deprecated Use `onPresenceUserChange` instead
|
|
312
313
|
*/
|
|
@@ -3797,7 +3798,7 @@ declare class LiveStateDataConfig {
|
|
|
3797
3798
|
declare function useLiveStateSyncUtils(): LiveStateSyncElement | undefined;
|
|
3798
3799
|
declare function useLiveStateData(liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig): any;
|
|
3799
3800
|
declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any, config?: SetLiveStateDataConfig): void;
|
|
3800
|
-
declare function useUserEditorState(): UserEditorAccess | null;
|
|
3801
|
+
declare function useUserEditorState(): UserEditorAccess | null | undefined;
|
|
3801
3802
|
declare function useEditor(): User | null;
|
|
3802
3803
|
declare function useEditorAccessTimer(): EditorAccessTimer;
|
|
3803
3804
|
declare function useEditorAccessRequestHandler(): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "4.4.0-beta.
|
|
3
|
+
"version": "4.4.0-beta.7",
|
|
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": [
|