@comfyorg/comfyui-frontend-types 1.26.3 → 1.26.4

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 +6 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6971,6 +6971,12 @@ export declare class ComfyApp {
6971
6971
  removeWidgetByName(name: string): void;
6972
6972
  ensureWidgetRemoved(widget: IBaseWidget): void;
6973
6973
  onRemoved(): void;
6974
+ /**
6975
+ * Synchronizes widget values from this SubgraphNode instance to the
6976
+ * corresponding widgets in the subgraph definition before serialization.
6977
+ * This ensures nested subgraph widget values are preserved when saving.
6978
+ */
6979
+ serialize(): ISerialisedNode;
6974
6980
  }
6975
6981
 
6976
6982
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.26.3",
3
+ "version": "1.26.4",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"