@veltdev/types-dev 4.0.0-beta.137 → 4.0.0-beta.138

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.
@@ -38,7 +38,7 @@ export declare class Snippyly {
38
38
  * Tell us who the currently logged in user is.
39
39
  *
40
40
  * Call whenever the user is updated: signs in, signs out, signs up etc.
41
- * @deprecated This method is deprecated.
41
+ * @deprecated This method is deprecated and will be removed in next release.
42
42
  */
43
43
  updateUser: (user: User) => void;
44
44
  /**
@@ -50,7 +50,7 @@ export declare class Snippyly {
50
50
  /**
51
51
  * Tell us the unique ID of the current document/resource on which you want to enable collaboration.
52
52
  * @param id unique document ID
53
- * @deprecated This method is deprecated. Use `setDocuments` method instead.
53
+ * @deprecated This method is deprecated and will be removed in next release. Use `setDocuments` method instead.
54
54
  */
55
55
  setDocumentId: (id: string) => void;
56
56
  /**
@@ -59,7 +59,7 @@ export declare class Snippyly {
59
59
  setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) => void;
60
60
  /**
61
61
  * To unset the document id
62
- * @deprecated This method is deprecated. Use `unsetDocuments` method instead.
62
+ * @deprecated This method is deprecated and will be removed in next release. Use `unsetDocuments` method instead.
63
63
  */
64
64
  unsetDocumentId: () => void;
65
65
  /**
@@ -110,25 +110,25 @@ export declare class Snippyly {
110
110
  /**
111
111
  * Get the Presence Element Object to access the raw presence data.
112
112
  *
113
- * This is for Pros who don’t want to use Snippyly Presence web component and want to design their own UI.
113
+ * This is for Pros who don't want to use Snippyly Presence web component and want to design their own UI.
114
114
  */
115
115
  getPresenceElement: () => PresenceElement;
116
116
  /**
117
117
  * Get the Cursor Element Object to access the raw cursor data.
118
118
  *
119
- * This is for Pros who don’t want to use Snippyly Presence web component and want to design their own UI.
119
+ * This is for Pros who don't want to use Snippyly Presence web component and want to design their own UI.
120
120
  */
121
121
  getCursorElement: () => CursorElement;
122
122
  /**
123
123
  * Get the Comment Element Object to access the raw comment data.
124
124
  *
125
- * This is for Pros who don’t want to use Snippyly Comment web component and want to design their own UI.
125
+ * This is for Pros who don't want to use Snippyly Comment web component and want to design their own UI.
126
126
  */
127
127
  getCommentElement: () => CommentElement;
128
128
  /**
129
129
  * Get the Tag Pin Annotation Object to access the raw tag data.
130
130
  *
131
- * This is for Pros who don’t want to use Snippyly Tag web component and want to design their own UI.
131
+ * This is for Pros who don't want to use Snippyly Tag web component and want to design their own UI.
132
132
  */
133
133
  getTagElement: () => TagElement;
134
134
  /**
@@ -193,12 +193,6 @@ export declare class Snippyly {
193
193
  * @param features List of features
194
194
  */
195
195
  disableFeatures: (features: Array<FeatureType>) => void;
196
- /**
197
- * Add location to show comments, tags, recorders etc. for provided location also.
198
- * @param location Location object
199
- * @deprecated This method is deprecated and will be removed in next release. Use `setLocation` method with `appendLocation: true` instead.
200
- */
201
- addLocation: (location: any) => any;
202
196
  /**
203
197
  * To set the dark mode of Velt components.
204
198
  * @param value {boolean} true/false
@@ -248,11 +242,10 @@ export declare class Snippyly {
248
242
  setLanguage: (language: string) => void;
249
243
 
250
244
  /**
251
- * To set the translations for the language.
252
- * @param language Language code
253
- * @param translations Translations object
245
+ * To set translations for multiple languages
246
+ * @param translations Object containing translations for multiple languages
254
247
  */
255
- setTranslations: (language: string, translations: { [key: string]: string }) => void;
248
+ setTranslations: (translations: { [language: string]: { [key: string]: string } }) => void;
256
249
 
257
250
  /**
258
251
  * To enable auto translation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.0.0-beta.137",
3
+ "version": "4.0.0-beta.138",
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": [