@veltdev/sdk 4.2.0-beta.5 → 4.2.1-beta.1

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,6 +1,6 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
- import { Config } from "../models/data/config.data.model";
3
+ import { Config, DisableLogsConfig } from "../models/data/config.data.model";
4
4
  import { DocumentUser } from "../models/data/document-user.data.model";
5
5
  import { Location } from "../models/data/location.model";
6
6
  import { User, UserOptions } from "../models/data/user.data.model";
@@ -308,5 +308,5 @@ export declare class Snippyly {
308
308
  /**
309
309
  * To disable logs.
310
310
  */
311
- disableLogs: () => void;
311
+ disableLogs: (config?: DisableLogsConfig) => void;
312
312
  }
@@ -58,3 +58,7 @@ export interface AdvancedQueries {
58
58
  advancedQueriesEnabled: boolean;
59
59
  advancedQueriesEnabledTime: number;
60
60
  }
61
+ export interface DisableLogsConfig {
62
+ warnings?: boolean;
63
+ suppressAll?: boolean;
64
+ }
@@ -396,14 +396,14 @@ export declare class CommentElement {
396
396
  /**
397
397
  * To get documentId, location and set context data when comment is added.
398
398
  *
399
- * @deprecated Use `AddCommentAnnotationEvent` instead
399
+ * @legacy Use `AddCommentAnnotationEvent` instead
400
400
  */
401
401
  public onCommentAdd: () => Observable<CommentAddEventData>;
402
402
 
403
403
  /**
404
404
  * To get data when comment is updated.
405
405
  *
406
- * @deprecated Use action specific events instead
406
+ * @legacy Use action specific events instead
407
407
  */
408
408
  public onCommentUpdate: () => Observable<CommentUpdateEventData>;
409
409
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.2.0-beta.5",
3
+ "version": "4.2.1-beta.1",
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": [