#Dagger TypeScript SDK
1 messages · Page 1 of 1 (latest)
Hey!
It seems like the latest version (0.8.1) doesn't have a default export anymore. I'm not sure if this was the intention though. I'll ask the team.
Would you mind updating your code and try with import { connect, Client, Directory } from "@dagger.io/dagger";?
Let me know if it works!
Thanks! FYI the script I tried was straight from the quickstart.
Yep, it seems like the change was made intentionally
https://github.com/dagger/dagger/releases/tag/sdk%2Fnodejs%2Fv0.8.0
But the docs are not updated yet to comply with the latest version. Thanks for the heads up!
Code snippets have been updated in the docs, thanks for bringing it up! 🙏
@sick fern @mint barn @radiant socket maybe worth double-checking if other parts of the docs are broken by this special “break all the things” release
The docs were updated but sometimes publishing doesn’t invalidate some caches. I don’t know if it’s systemic.