@veltdev/sdk 1.0.54 → 1.0.56

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.
@@ -155,6 +155,7 @@ export declare class CommentAnnotation {
155
155
  */
156
156
  context?: any;
157
157
  iam: CommentIAMConfig;
158
+ isPageAnnotation?: boolean;
158
159
  }
159
160
  export declare class GhostComment {
160
161
  targetElement?: TargetElement | null;
@@ -33,6 +33,10 @@ export declare class User {
33
33
  * It could be a domain name or any identifier you use to cluster a group of users who work together.
34
34
  */
35
35
  groupId?: string;
36
+ /**
37
+ * Original groupId provided by the user.
38
+ */
39
+ clientGroupId?: string;
36
40
  /**
37
41
  * Auto generated unique user id that is linked with your app's user ID.
38
42
  * This is needed by us for internal processing.
@@ -574,6 +574,26 @@ export declare class CommentElement {
574
574
  * To disable scroll to comment component.
575
575
  */
576
576
  public disableScrollToComponent: () => void;
577
+
578
+ /**
579
+ * To add comment at page level.
580
+ */
581
+ public addCommentOnPage(): void;
582
+
583
+ /**
584
+ * To open page level comment.
585
+ */
586
+ public openCommentOnPage(): void;
587
+
588
+ /**
589
+ * To close page level comment.
590
+ */
591
+ public closeCommentOnPage(): void;
592
+
593
+ /**
594
+ * To toggle page level comment.
595
+ */
596
+ public toggleCommentOnPage(): void;
577
597
  constructor();
578
598
  /**
579
599
  * Subscribe to comments on the current document.
@@ -1141,4 +1161,24 @@ export declare class CommentElement {
1141
1161
  * To disable scroll to comment component.
1142
1162
  */
1143
1163
  private _disableScrollToComponent;
1164
+
1165
+ /**
1166
+ * To add comment at page level.
1167
+ */
1168
+ private _addCommentOnPage;
1169
+
1170
+ /**
1171
+ * To open page level comment.
1172
+ */
1173
+ private _openCommentOnPage;
1174
+
1175
+ /**
1176
+ * To close page level comment.
1177
+ */
1178
+ private _closeCommentOnPage;
1179
+
1180
+ /**
1181
+ * To toggle page level comment.
1182
+ */
1183
+ private _toggleCommentOnPage;
1144
1184
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.54",
3
+ "version": "1.0.56",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {