@veltdev/sdk 4.2.0 → 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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.2.0",
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": [