@veltdev/sdk 4.2.0 → 4.2.1-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.
@@ -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
+ }
@@ -1093,6 +1093,16 @@ export declare class CommentElement {
1093
1093
  */
1094
1094
  public fetchCommentAnnotations: (fetchCommentAnnotationsRequest: FetchCommentAnnotationsRequest) => Promise<FetchCommentAnnotationsResponse>;
1095
1095
 
1096
+ /**
1097
+ * To enable svg as img
1098
+ */
1099
+ public enableSvgAsImg: () => void;
1100
+
1101
+ /**
1102
+ * To disable svg as img
1103
+ */
1104
+ public disableSvgAsImg: () => void;
1105
+
1096
1106
  constructor();
1097
1107
  /**
1098
1108
  * Subscribe to comments on the current document.
@@ -2167,4 +2177,14 @@ export declare class CommentElement {
2167
2177
  * To fetch comment annotations
2168
2178
  */
2169
2179
  private _fetchCommentAnnotations;
2180
+
2181
+ /**
2182
+ * To enable svg as img
2183
+ */
2184
+ private _enableSvgAsImg;
2185
+
2186
+ /**
2187
+ * To disable svg as img
2188
+ */
2189
+ private _disableSvgAsImg;
2170
2190
  }
@@ -250,6 +250,7 @@ export declare class Constants {
250
250
  VELT_SHADOW_DOM_INTERNAL: string;
251
251
  };
252
252
  static ATTRIBUTES: {
253
+ VELT_COMMENT_CONTAINER: string;
253
254
  VELT_TARGET_COMMENT_ELEMENT_ID: string;
254
255
  VELT_COMMENT_TYPE: string;
255
256
  TARGET_INLINE_COMMENT_ELEMENT_ID: string;
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.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": [