@veltdev/sdk 1.0.34 → 1.0.36

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.
@@ -491,6 +491,16 @@ export declare class CommentElement {
491
491
  * To set total media length.
492
492
  */
493
493
  public setTotalMediaLength: (totalMediaLength: number) => void;
494
+
495
+ /**
496
+ * To get documentId, location and set context data when comment is added.
497
+ */
498
+ public onCommentAdd: () => Observable<any>;
499
+
500
+ /**
501
+ * To get data when comment is updated.
502
+ */
503
+ public onCommentUpdate: () => Observable<any>;
494
504
  constructor();
495
505
  /**
496
506
  * Subscribe to comments on the current document.
@@ -975,4 +985,14 @@ export declare class CommentElement {
975
985
  * To set total media length.
976
986
  */
977
987
  private _setTotalMediaLength;
988
+
989
+ /**
990
+ * To get documentId, location and set context data when comment is added.
991
+ */
992
+ private _onCommentAdd;
993
+
994
+ /**
995
+ * To get data when comment is updated.
996
+ */
997
+ private _onCommentUpdate;
978
998
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {