@veltdev/sdk 4.2.1-beta.1 → 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.
|
@@ -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
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -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.1-beta.
|
|
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": [
|