@veltdev/sdk-staging 3.0.71 → 3.0.72

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.
@@ -28,3 +28,6 @@ export declare enum UserIndicatorType {
28
28
  Avatar = "avatar",
29
29
  Label = "label"
30
30
  }
31
+ export declare class LiveSelectionData {
32
+ [userIdHash: string]: Selection;
33
+ }
@@ -1,5 +1,5 @@
1
1
  // @ts-nocheck
2
- import { UserIndicatorPosition, UserIndicatorType } from "../data/selection.model";
2
+ import { LiveSelectionData, UserIndicatorPosition, UserIndicatorType } from "../data/selection.model";
3
3
  export declare class SelectionElement {
4
4
  /**
5
5
  * To enable selections
@@ -51,6 +51,11 @@ export declare class SelectionElement {
51
51
  */
52
52
  disableDefaultStyling: () => void;
53
53
 
54
+ /**
55
+ * To get live selection data
56
+ */
57
+ getLiveSelectionData: () => Observable<LiveSelectionData | null>;
58
+
54
59
  constructor();
55
60
 
56
61
  /**
@@ -102,4 +107,9 @@ export declare class SelectionElement {
102
107
  * To disable default styling
103
108
  */
104
109
  private _disableDefaultStyling;
110
+
111
+ /**
112
+ * To get live selection data
113
+ */
114
+ private _getLiveSelectionData;
105
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-staging",
3
- "version": "3.0.71",
3
+ "version": "3.0.72",
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": [