@comfyorg/comfyui-frontend-types 1.43.9 → 1.43.10

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.
Files changed (2) hide show
  1. package/index.d.ts +7 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3009,6 +3009,13 @@ export declare class ComfyApp {
3009
3009
  };
3010
3010
  lastNodeErrors: Record<NodeId_2, NodeError> | null;
3011
3011
  lastExecutionError: ExecutionErrorWsMessage | null;
3012
+ /**
3013
+ * Renders a markdown string to sanitized HTML.
3014
+ * Uses marked (GFM) + DOMPurify. Safe for direct use with innerHTML.
3015
+ * @param markdown - The markdown string to render.
3016
+ * @param baseUrl - Optional base URL for resolving relative image/media paths.
3017
+ */
3018
+ renderMarkdownToHtml(markdown: string, baseUrl?: string): string;
3012
3019
  }
3013
3020
 
3014
3021
  export declare type ExtensionsResponse = z.infer<typeof zExtensionsResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.43.9",
3
+ "version": "1.43.10",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"