@veltdev/types 6.0.49 → 6.0.50

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.
@@ -385,6 +385,7 @@ export interface ComposerClickedEvent {
385
385
  }
386
386
  export interface LinkClickedEvent {
387
387
  text: string;
388
+ /** The link's href as saved in the comment. Velt does not validate it: check the scheme before you navigate to it. */
388
389
  link: string;
389
390
  commentAnnotation: CommentAnnotation;
390
391
  commentId: Number;
@@ -4,7 +4,8 @@ export declare class CustomCss {
4
4
  */
5
5
  type: 'link' | 'styles';
6
6
  /**
7
- * Value of custom css
7
+ * Value of custom css: the CSS text for 'styles', or the stylesheet URL for 'link'. In link mode a URL object is
8
+ * also accepted, and only https, same-site (relative), http-on-http and file-on-file URLs are loaded.
8
9
  */
9
- value: string;
10
+ value: string | URL;
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types",
3
- "version": "6.0.49",
3
+ "version": "6.0.50",
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": [