comfy-ts 2.20.0 → 2.20.1

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.js CHANGED
@@ -110,7 +110,7 @@ function createNodeStorage() {
110
110
  }
111
111
  //#endregion
112
112
  //#region package.json
113
- var version = "2.20.0";
113
+ var version = "2.20.1";
114
114
  //#endregion
115
115
  //#region src/litegraph/LiteGraphLinkID.ts
116
116
  const asLiteGraphLinkID = (id) => id;
@@ -7059,6 +7059,10 @@ var ComfyHost = class {
7059
7059
  };
7060
7060
  this.checkSchemaDrift = async (p) => {
7061
7061
  const loaded = this.schema.data.spec;
7062
+ if (Object.keys(loaded).length === 0) return {
7063
+ nodes: null,
7064
+ models: []
7065
+ };
7062
7066
  const live = {};
7063
7067
  if (p.full) Object.assign(live, await this.fetchJSON_("/object_info"));
7064
7068
  else for (const m of MODEL_LISTS) if (loaded[m.node] != null) Object.assign(live, await this.fetchJSON_(`/object_info/${m.node}`));