Rocket.Chat.js.SDK
Rocket.Chat.js.SDK copied to clipboard
BUG: RC node.js SDK deps use `eval` statements
I am working on the EmbeddedChat project. I am using Rocket.Chat Nodejs SDK v1.0.0-alpha.42. I've polyfilled all nodejs packages (around 40) which were causing errors when bundling with Rollup. But after that, there was one warning left with use of eval is strongly discouraged, It is coming from js-sha256 package, linked issue.
Can the SDK be modified so that SDK is not limited to the backend and can be used with the frontend also? Else, can js-sha256 be eliminated from this package and use crypto instead?

@diegolmello could you please take a look? We are using js-sha256 as a dependency which is causing this warning. This has been deprecated.