@veltdev/sdk 4.2.1-beta.9 → 4.3.0-beta.2

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.
@@ -122,25 +122,25 @@ export declare class Snippyly {
122
122
  /**
123
123
  * Get the Presence Element Object to access the raw presence data.
124
124
  *
125
- * This is for Pros who dont want to use Snippyly Presence web component and want to design their own UI.
125
+ * This is for Pros who don't want to use Snippyly Presence web component and want to design their own UI.
126
126
  */
127
127
  getPresenceElement: () => PresenceElement;
128
128
  /**
129
129
  * Get the Cursor Element Object to access the raw cursor data.
130
130
  *
131
- * This is for Pros who dont want to use Snippyly Presence web component and want to design their own UI.
131
+ * This is for Pros who don't want to use Snippyly Presence web component and want to design their own UI.
132
132
  */
133
133
  getCursorElement: () => CursorElement;
134
134
  /**
135
135
  * Get the Comment Element Object to access the raw comment data.
136
136
  *
137
- * This is for Pros who dont want to use Snippyly Comment web component and want to design their own UI.
137
+ * This is for Pros who don't want to use Snippyly Comment web component and want to design their own UI.
138
138
  */
139
139
  getCommentElement: () => CommentElement;
140
140
  /**
141
141
  * Get the Tag Pin Annotation Object to access the raw tag data.
142
142
  *
143
- * This is for Pros who dont want to use Snippyly Tag web component and want to design their own UI.
143
+ * This is for Pros who don't want to use Snippyly Tag web component and want to design their own UI.
144
144
  */
145
145
  getTagElement: () => TagElement;
146
146
  /**
@@ -260,11 +260,10 @@ export declare class Snippyly {
260
260
  setLanguage: (language: string) => void;
261
261
 
262
262
  /**
263
- * To set the translations for the language.
264
- * @param language Language code
265
- * @param translations Translations object
263
+ * To set translations for multiple languages
264
+ * @param translations Object containing translations for multiple languages
266
265
  */
267
- setTranslations: (language: string, translations: { [key: string]: string }) => void;
266
+ setTranslations: (translations: { [language: string]: { [key: string]: string } }) => void;
268
267
 
269
268
  /**
270
269
  * To enable auto translation.
@@ -142,6 +142,12 @@ export declare class RecorderAnnotation {
142
142
  recordingEditVersions?: {
143
143
  [key: number]: RecorderAnnotationEditVersion;
144
144
  };
145
+ /**
146
+ * URLs for individual uploaded chunks
147
+ */
148
+ chunkUrls?: {
149
+ [key: number]: string;
150
+ };
145
151
  }
146
152
  export interface RecorderAnnotationEditVersion {
147
153
  from?: User;
@@ -56,6 +56,12 @@ export declare class RecordedRawData {
56
56
  duration?: number;
57
57
  display?: string;
58
58
  } | null;
59
+ /**
60
+ * Array of URLs for individual uploaded chunks
61
+ */
62
+ chunkUrls?: {
63
+ [key: number]: string;
64
+ };
59
65
  }
60
66
  export declare class RecordedData {
61
67
  /**
@@ -78,5 +84,11 @@ export declare class RecordedData {
78
84
  * URL of the hosted website to open video in new tab
79
85
  */
80
86
  videoPlayerUrl?: string;
87
+ /**
88
+ * URLs for individual uploaded chunks
89
+ */
90
+ chunkUrls?: {
91
+ [key: number]: string;
92
+ };
81
93
  getThumbnailTag: (url?: string) => string;
82
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.2.1-beta.9",
3
+ "version": "4.3.0-beta.2",
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": [