@veltdev/sdk-staging 3.0.14 → 3.0.16

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.
@@ -11,6 +11,10 @@ export declare class ReactionAnnotation {
11
11
  * Auto generated.
12
12
  */
13
13
  annotationId: string;
14
+ /**
15
+ * Connected comment annotation id of reaction annotation
16
+ */
17
+ commentAnnotationId?: string;
14
18
  reactions?: Reaction[];
15
19
  /**
16
20
  * Timestamp when the reaction annotation was last updated.
@@ -21,7 +21,7 @@ export declare class NotificationElement {
21
21
  /**
22
22
  * To get notifications data
23
23
  */
24
- getNotificationsData: () => Observable<Notification[]>;
24
+ getNotificationsData: () => Observable<Notification[] | null>;
25
25
 
26
26
  /**
27
27
  * To set max days for notification history
@@ -1,4 +1,6 @@
1
1
  // @ts-nocheck
2
+ export { ReactionMap } from '../data/reaction-annotation.data.model';
3
+
2
4
  export declare class ReactionElement {
3
5
  /**
4
6
  * To enable dark mode
@@ -9,6 +11,12 @@ export declare class ReactionElement {
9
11
  * To disable dark mode
10
12
  */
11
13
  disableDarkMode: () => void;
14
+
15
+ /**
16
+ * To set custom reactions
17
+ * @param reactions Reactions to be set
18
+ */
19
+ public setCustomReactions: (reactions: ReactionMap) => void;
12
20
  constructor();
13
21
 
14
22
  /**
@@ -20,4 +28,10 @@ export declare class ReactionElement {
20
28
  * To disable dark mode
21
29
  */
22
30
  private _disableDarkMode;
31
+
32
+ /**
33
+ * To set custom reactions
34
+ * @param reactions Reactions to be set
35
+ */
36
+ private _setCustomReactions;
23
37
  }
@@ -231,6 +231,7 @@ export declare class Constants {
231
231
  VELT_COMMENT_TYPE: string;
232
232
  TARGET_INLINE_COMMENT_ELEMENT_ID: string;
233
233
  TARGET_COMMENT_ELEMENT_ID: string;
234
+ TARGET_ELEMENT_ID: string;
234
235
  VELT_ID: string;
235
236
  VELT_ELEMENT: string;
236
237
  VELT_ANNOTATION_ID: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-staging",
3
- "version": "3.0.14",
3
+ "version": "3.0.16",
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": [