@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.
@@ -4,6 +4,7 @@ export interface IVeltPresenceProps {
4
4
  inactivityTime?: number;
5
5
  documentParams?: any;
6
6
  location?: any;
7
+ locationId?: string;
7
8
  /**
8
9
  * @deprecated Use `onPresenceUserChange` instead
9
10
  */
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.4.0-beta.5";
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.5",
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": [