@veltdev/sdk 4.7.1 → 4.7.3
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.
|
@@ -82,6 +82,7 @@ export type CommentEventTypesMap = {
|
|
|
82
82
|
[CommentEventTypes.LINK_CLICKED]: LinkClickedEvent;
|
|
83
83
|
[CommentEventTypes.COMMENT_PIN_CLICKED]: CommentPinClickedEvent;
|
|
84
84
|
[CommentEventTypes.COMMENT_BUBBLE_CLICKED]: CommentBubbleClickedEvent;
|
|
85
|
+
[CommentEventTypes.COMPOSER_TEXT_CHANGE]: ComposerTextChangeEvent;
|
|
85
86
|
};
|
|
86
87
|
export interface AddAttachmentEvent {
|
|
87
88
|
annotationId: string;
|
|
@@ -270,3 +271,7 @@ export interface CommentBubbleClickedEvent {
|
|
|
270
271
|
commentAnnotation: CommentAnnotation;
|
|
271
272
|
metadata?: VeltEventMetadata;
|
|
272
273
|
}
|
|
274
|
+
export interface ComposerTextChangeEvent {
|
|
275
|
+
text: string;
|
|
276
|
+
metadata?: VeltEventMetadata;
|
|
277
|
+
}
|
|
@@ -1274,6 +1274,12 @@ export declare class CommentElement {
|
|
|
1274
1274
|
*/
|
|
1275
1275
|
public disablePaginatedContactList: () => void;
|
|
1276
1276
|
|
|
1277
|
+
/**
|
|
1278
|
+
* Programmatically trigger comment submission for a composer with the given targetElementId
|
|
1279
|
+
* @param targetElementId The target-element-id of the composer to submit
|
|
1280
|
+
*/
|
|
1281
|
+
public submitComment: (targetElementId: string) => void;
|
|
1282
|
+
|
|
1277
1283
|
constructor();
|
|
1278
1284
|
/**
|
|
1279
1285
|
* Subscribe to comments on the current document.
|
|
@@ -2526,4 +2532,10 @@ export declare class CommentElement {
|
|
|
2526
2532
|
* To disable paginated contact list
|
|
2527
2533
|
*/
|
|
2528
2534
|
private _disablePaginatedContactList;
|
|
2535
|
+
|
|
2536
|
+
/**
|
|
2537
|
+
* Programmatically trigger comment submission for a composer with the given targetElementId
|
|
2538
|
+
* @param targetElementId The target-element-id of the composer to submit
|
|
2539
|
+
*/
|
|
2540
|
+
private _submitComment;
|
|
2529
2541
|
}
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export declare const CommentEventTypes: {
|
|
|
57
57
|
readonly LINK_CLICKED: "linkClicked";
|
|
58
58
|
readonly COMMENT_PIN_CLICKED: "commentPinClicked";
|
|
59
59
|
readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
|
|
60
|
+
readonly COMPOSER_TEXT_CHANGE: "composerTextChange";
|
|
60
61
|
};
|
|
61
62
|
export declare const RecorderEventTypes: {
|
|
62
63
|
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
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": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"scripts": {
|
|
37
37
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
38
38
|
"version:update": "node ../update-npm-package.mjs",
|
|
39
|
-
"publish:sdk": "npm publish --access public"
|
|
39
|
+
"publish:sdk": "npm publish --access public --tag v4-7-3"
|
|
40
40
|
},
|
|
41
41
|
"author": "",
|
|
42
42
|
"license": "ISC",
|