reuters-graphics / graphics-kit-publisher

Publishing CLI for Reuters graphics pages and embeds
https://reuters-graphics.github.io/graphics-kit-publisher/
MIT License
4 stars 0 forks source link

Uploads failing #59

Closed hobbes7878 closed 1 year ago

hobbes7878 commented 1 year ago

For anyone coming here you should downgrade the @reuters-graphics/graphics-kit-publisher package to version 0.3.1 until this is fixed.

With the latest refactor, it appears that this library is now interacting with the server-client in a way that breaks uploads.

Basically, the client expects certain methods called in sequence during initial upload, which sets internal props on the class as it goes through. But in this library, we're now calling a fresh instance of the client on most methods.

Need to re-pool those to be able to upload any projects, right now, or refactor the server-client.