replicate/replicate-javascript

replicate.files is undefined

treeder opened this issue · 5 comments

Tried to upload a file, but getting replicate.files is undefined.

Just console.log(replicate.files) to reproduce.

mattt commented

Hi @treeder. What version of the library are you using? The files API was first added in v0.30.0.

I'm using 0.30.2

mattt commented

Ah, I see what happened. Thanks for pointing this out. Got a fix in #278.

mattt commented

Thanks again for opening an issue about this @treeder. This should now be fixed in v0.31.0

Awesome, thanks for the quick fix!