@veltdev/sdk 1.0.61 → 1.0.62

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.
@@ -37,9 +37,10 @@ export declare class Snippyly {
37
37
  setDocumentParams: (params: Location) => void;
38
38
  /**
39
39
  * Tell us the custom params of the current document/resource to identify sub document inside a document.
40
- * @param params Locaion
40
+ * @param params Location
41
+ * @param appendLocation Append location to existing location
41
42
  */
42
- setLocation: (params: Location) => void;
43
+ setLocation: (params: Location, appendLocation?: boolean) => void;
43
44
  /**
44
45
  * To remove document params from a User
45
46
  * @deprecated This method is depercated and will be removed in next release. Use `removeLocation` method instead.
@@ -47,8 +48,9 @@ export declare class Snippyly {
47
48
  removeDocumentParams: () => void;
48
49
  /**
49
50
  * To remove location from a User
51
+ * @param location Location
50
52
  */
51
- removeLocation: () => void;
53
+ removeLocation: (location?: Location) => void;
52
54
  /**
53
55
  * Tell us the about the scrollable document ids to keep track on its scroll changes
54
56
  * @param ids scrollable elements ids
@@ -115,6 +117,7 @@ export declare class Snippyly {
115
117
  /**
116
118
  * Add location to show comments, tags, recorders etc. for provided location also.
117
119
  * @param location Location object
120
+ * @deprecated This method is deprecated and will be removed in next release. Use `setLocation` method with `appendLocation: true` instead.
118
121
  */
119
122
  addLocation: (location: any) => any;
120
123
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {