comfy-ts 2.20.0 → 2.20.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.
package/dist/index.cjs CHANGED
@@ -134,7 +134,7 @@ function createNodeStorage() {
134
134
  }
135
135
  //#endregion
136
136
  //#region package.json
137
- var version = "2.20.0";
137
+ var version = "2.20.2";
138
138
  //#endregion
139
139
  //#region src/litegraph/LiteGraphLinkID.ts
140
140
  const asLiteGraphLinkID = (id) => id;
@@ -7086,6 +7086,10 @@ var ComfyHost = class {
7086
7086
  };
7087
7087
  this.checkSchemaDrift = async (p) => {
7088
7088
  const loaded = this.schema.data.spec;
7089
+ if (Object.keys(loaded).length === 0) return {
7090
+ nodes: null,
7091
+ models: []
7092
+ };
7089
7093
  const live = {};
7090
7094
  if (p.full) Object.assign(live, await this.fetchJSON_("/object_info"));
7091
7095
  else for (const m of MODEL_LISTS) if (loaded[m.node] != null) Object.assign(live, await this.fetchJSON_(`/object_info/${m.node}`));