It looks like the Node SDK is written for very old versions of Node. This should be updated to support promises, and things that are deprecated/vulnerable should be updated.
For example. 'new Buffer' should be 'Buffer.from'.
I would use babel or something else to make it backwards compatible if needed.
With that said, I am going to be rewriting this to work with NodeJS 10. Let me know if you want a PR or link.
It looks like the Node SDK is written for very old versions of Node. This should be updated to support promises, and things that are deprecated/vulnerable should be updated.
For example. 'new Buffer' should be 'Buffer.from'.
I would use babel or something else to make it backwards compatible if needed.
With that said, I am going to be rewriting this to work with NodeJS 10. Let me know if you want a PR or link.