The bug of the function "setModel" in distribution package v0.0.7
Thank you for your great work!
I've noticed that the version on npm is 0.0.7, but the repository version is 0.0.6. However, the 0.0.6 version on npm didn't come with the code files, so 0.0.7 should be a remedial version made using the code from 0.0.6.
But strangely, there's an issue with a line of code in setModel, which should be:
https://github.com/jaschahuisman/sd-api/blob/main/src/lib/StableDiffusionApi.ts#L520
However this is what it looks like in 0.0.7:
The code in 0.0.7 is incorrect, causing the setModel function to always fail.
I have published a package to the npm, someone who has encountered into this problem can use this package to solve the issue temporarily.
still not fix,please update npm package,thanks