@veltdev/react 1.0.107 → 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 +13 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/Client.d.ts +4 -0
- package/cjs/types/hooks/index.d.ts +1 -1
- package/esm/index.js +13 -4
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/Client.d.ts +4 -0
- package/esm/types/hooks/index.d.ts +1 -1
- package/index.d.ts +6 -1
- package/package.json +2 -2
|
@@ -47,6 +47,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
47
47
|
hotkey?: boolean;
|
|
48
48
|
recordingSummary?: boolean;
|
|
49
49
|
recordingCountdown?: boolean;
|
|
50
|
+
unreadIndicatorMode?: 'minimal' | 'verbose';
|
|
50
51
|
allowedElementIds?: string[];
|
|
51
52
|
allowedElementClassNames?: string[];
|
|
52
53
|
allowedElementQuerySelectors?: string[];
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VELT_SDK_VERSION = "1.0.
|
|
1
|
+
export declare const VELT_SDK_VERSION = "1.0.120";
|
|
2
2
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
@@ -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
|
@@ -79,6 +79,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
|
|
|
79
79
|
hotkey?: boolean;
|
|
80
80
|
recordingSummary?: boolean;
|
|
81
81
|
recordingCountdown?: boolean;
|
|
82
|
+
unreadIndicatorMode?: 'minimal' | 'verbose';
|
|
82
83
|
allowedElementIds?: string[];
|
|
83
84
|
allowedElementClassNames?: string[];
|
|
84
85
|
allowedElementQuerySelectors?: string[];
|
|
@@ -362,6 +363,10 @@ declare function useIdentify(user: User, userOptions?: Options): void;
|
|
|
362
363
|
* @beta This hook is in beta
|
|
363
364
|
*/
|
|
364
365
|
declare function useSetDocumentId(documentId: string): void;
|
|
366
|
+
/**
|
|
367
|
+
* @beta This hook is in beta
|
|
368
|
+
*/
|
|
369
|
+
declare function useUnsetDocumentId(): void;
|
|
365
370
|
/**
|
|
366
371
|
* @beta This hook is in beta
|
|
367
372
|
*/
|
|
@@ -516,4 +521,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
|
|
|
516
521
|
updateLiveStateDataId: (newId?: string) => void;
|
|
517
522
|
};
|
|
518
523
|
|
|
519
|
-
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 };
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.109",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
7
7
|
"version:update": "npm version patch",
|
|
8
|
-
"publish:sdk-react": "
|
|
8
|
+
"publish:sdk-react": "node ../update-and-publish.mjs @veltdev/react --access=public"
|
|
9
9
|
},
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|