@veltdev/react 1.0.108 → 1.0.109
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 +10 -0
- package/cjs/index.js.map +1 -1
- package/cjs/types/hooks/Client.d.ts +4 -0
- package/cjs/types/hooks/index.d.ts +1 -1
- package/esm/index.js +10 -1
- package/esm/index.js.map +1 -1
- package/esm/types/hooks/Client.d.ts +4 -0
- package/esm/types/hooks/index.d.ts +1 -1
- package/index.d.ts +5 -1
- package/package.json +1 -1
|
@@ -11,6 +11,10 @@ export declare function useIdentify(user: User, userOptions?: Options): void;
|
|
|
11
11
|
* @beta This hook is in beta
|
|
12
12
|
*/
|
|
13
13
|
export declare function useSetDocumentId(documentId: string): void;
|
|
14
|
+
/**
|
|
15
|
+
* @beta This hook is in beta
|
|
16
|
+
*/
|
|
17
|
+
export declare function useUnsetDocumentId(): void;
|
|
14
18
|
/**
|
|
15
19
|
* @beta This hook is in beta
|
|
16
20
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { useAddLocation, useSetLocation, useSetDocumentId, useIdentify, useClient, } from './Client';
|
|
1
|
+
export { useAddLocation, useSetLocation, useSetDocumentId, useUnsetDocumentId, useIdentify, useClient, } from './Client';
|
|
2
2
|
export { useCommentUtils, useCommentAnnotations, useCommentAddHandler, useCommentModeState, useCommentUpdateHandler, useCommentDialogSidebarClickHandler, } from './CommentElement';
|
|
3
3
|
export { useCursorUtils, useCursorUsers, } from './CursorElement';
|
|
4
4
|
export { useHuddleUtils, } from './HuddleElement';
|
package/index.d.ts
CHANGED
|
@@ -363,6 +363,10 @@ declare function useIdentify(user: User, userOptions?: Options): void;
|
|
|
363
363
|
* @beta This hook is in beta
|
|
364
364
|
*/
|
|
365
365
|
declare function useSetDocumentId(documentId: string): void;
|
|
366
|
+
/**
|
|
367
|
+
* @beta This hook is in beta
|
|
368
|
+
*/
|
|
369
|
+
declare function useUnsetDocumentId(): void;
|
|
366
370
|
/**
|
|
367
371
|
* @beta This hook is in beta
|
|
368
372
|
*/
|
|
@@ -517,4 +521,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
|
|
|
517
521
|
updateLiveStateDataId: (newId?: string) => void;
|
|
518
522
|
};
|
|
519
523
|
|
|
520
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, SnippylyCommentBubble as VeltCommentBubble, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, SnippylyComments as VeltComments, SnippylyCommentsSidebar as VeltCommentsSidebar, SnippylyCursor as VeltCursor, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltVideoPlayer, VeltViewAnalytics, createLiveStateMiddleware, useAIRewriterUtils, useAddLocation, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentUpdateHandler, useCommentUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUserEditorState, useVeltClient, useViewsUtils };
|
|
524
|
+
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, SnippylyCommentBubble as VeltCommentBubble, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, SnippylyComments as VeltComments, SnippylyCommentsSidebar as VeltCommentsSidebar, SnippylyCursor as VeltCursor, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltVideoPlayer, VeltViewAnalytics, createLiveStateMiddleware, useAIRewriterUtils, useAddLocation, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentUpdateHandler, useCommentUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnsetDocumentId, useUserEditorState, useVeltClient, useViewsUtils };
|