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/web.js CHANGED
@@ -101,7 +101,7 @@ function getComfyStorage() {
101
101
  }
102
102
  //#endregion
103
103
  //#region package.json
104
- var version = "2.20.0";
104
+ var version = "2.20.1";
105
105
  //#endregion
106
106
  //#region src/litegraph/LiteGraphLinkID.ts
107
107
  const asLiteGraphLinkID = (id) => id;
@@ -7050,6 +7050,10 @@ var ComfyHost = class {
7050
7050
  };
7051
7051
  this.checkSchemaDrift = async (p) => {
7052
7052
  const loaded = this.schema.data.spec;
7053
+ if (Object.keys(loaded).length === 0) return {
7054
+ nodes: null,
7055
+ models: []
7056
+ };
7053
7057
  const live = {};
7054
7058
  if (p.full) Object.assign(live, await this.fetchJSON_("/object_info"));
7055
7059
  else for (const m of MODEL_LISTS) if (loaded[m.node] != null) Object.assign(live, await this.fetchJSON_(`/object_info/${m.node}`));