The latest version of the TS SDK (0.94.0) uses decompressBytecode function in the factory, which requires the node builtin Buffer, which isn’t available in most Frontend Envs and causes issues especially with Vite.
This would require polyfill Buffer on the frontend which would ideally be avoided altogether.
Is this necessary or could there be an alternative path?