npm-kraken-api
npm-kraken-api copied to clipboard
Solve nonce issues
I saw some nonce issues coming back with Error: API:Invalid nonce
. I looked at the code and I saw some spoofing that influenced the resolution of the nonce
. That's why I changed it to reflect the actual micro seconds.
- Update nonce to ms (got it from https://stackoverflow.com/a/61211455/201482).
- Changed
new Buffer
toBuffer.from
, this fixed the deprecated warning. - Upgraded the packages.
- Added some endpoint of other PRs: 'CancelAll', 'AddExport', 'ExportStatus', 'RetrieveExport', 'RemoveExport'
Did some local testing. Seems to work fine.
Merged PRS #73 #69 #63.