@veltdev/sdk-dev 4.5.4-beta.9 → 4.5.4

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.
@@ -1,5 +1,5 @@
1
1
  import { BaseMetadata } from "./base-metadata.data.model";
2
- export declare class Heartbeat {
2
+ export interface Heartbeat {
3
3
  id: string;
4
4
  createdTimestamp: number;
5
5
  userId: string;
@@ -1239,6 +1239,16 @@ export declare class CommentElement {
1239
1239
  */
1240
1240
  public setAllowedFileTypes: (allowedFileTypes: string[]) => void;
1241
1241
 
1242
+ /**
1243
+ * To enable force close all on esc
1244
+ */
1245
+ public enableForceCloseAllOnEsc: () => void;
1246
+
1247
+ /**
1248
+ * To disable force close all on esc
1249
+ */
1250
+ public disableForceCloseAllOnEsc: () => void;
1251
+
1242
1252
  constructor();
1243
1253
  /**
1244
1254
  * Subscribe to comments on the current document.
@@ -2456,4 +2466,14 @@ export declare class CommentElement {
2456
2466
  * To set allowed file types
2457
2467
  */
2458
2468
  private _setAllowedFileTypes;
2469
+
2470
+ /**
2471
+ * To enable force close all on esc
2472
+ */
2473
+ private _enableForceCloseAllOnEsc;
2474
+
2475
+ /**
2476
+ * To disable force close all on esc
2477
+ */
2478
+ private _disableForceCloseAllOnEsc;
2459
2479
  }
@@ -147,6 +147,16 @@ export declare class LiveStateSyncElement {
147
147
  */
148
148
  updateUserPresence: (userPresence: LiveStateSingleEditorExternalUserPresence) => void;
149
149
 
150
+ /**
151
+ * To enable heartbeat
152
+ */
153
+ enableHeartbeat: () => void;
154
+
155
+ /**
156
+ * To disable heartbeat
157
+ */
158
+ disableHeartbeat: () => void;
159
+
150
160
  /**
151
161
  * Subscribe to live state events
152
162
  */
@@ -295,6 +305,16 @@ export declare class LiveStateSyncElement {
295
305
  */
296
306
  private _updateUserPresence;
297
307
 
308
+ /**
309
+ * To enable heartbeat
310
+ */
311
+ private _enableHeartbeat;
312
+
313
+ /**
314
+ * To disable heartbeat
315
+ */
316
+ private _disableHeartbeat;
317
+
298
318
  /**
299
319
  * Subscribe to live state events
300
320
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-dev",
3
- "version": "4.5.4-beta.9",
3
+ "version": "4.5.4",
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": [