ArdorJS library fixes

I'm working with ReactJS + ArdorJS but the library has some small bugs:

ardorjs/lib/account add:
import { Buffer } from "buffer";

ardorjs/lib/helpers.js add:
import { Buffer } from "buffer";

ardorjs/util/curve25519_.js
export default { curve25519_ }; to export default curve25519_;

I hope it can be useful to someone. :grin:

1 Like

mrv777 already merged the curve25519_ one. Could you create a pull request for the 2 other fixes so that we can discuss them with mrv777?

1 Like

It's ready!

I also added a fix for decryption, it was not working properly.

2 Likes