- Bump typescript to 5.x
- Remove Node 14 support
- Remove
assert
dependency. If you were catchingAssertionError
you need to change toError
. - Fix
deriveKeypair
ignoring manual decoding algorithm. (Specifying algorithm=ed25519
inopts
now works on secrets likesNa1...
) - Remove
crypto
polyfills,create-hash
,elliptic
,hash.js
, and their many dependencies in favor of@noble/hashes
and@nobel/curves
- Remove
bytesToHex
andhexToBytes
. They can now be found in@xrplf/isomorphic/utils
verifyTransaction
will throw an error if there is no signature- Improved key algorithm detection. It will now throw Errors with helpful messages
Buffer
has been replaced withUInt8Array
for both params and return values.Buffer
may continue to work with params since they extendUInt8Arrays
.
- Remove
brorand
as a dependency and use@xrplf/isomorphic
instead. - Eliminates 4 runtime dependencies:
base-x
,base64-js
,buffer
, andieee754
.
Buffer
has been replaced withUInt8Array
for both params and return values.Buffer
may continue to work with params since they extendUInt8Arrays
.
- Eliminates 4 runtime dependencies:
base-x
,base64-js
,buffer
, andieee754
.
- Bump typescript to 5.x
- Remove Node 14 support
- Remove
assert
dependency. If you were catchingAssertionError
you need to change toError
. - Fix
deriveKeypair
ignoring manual decoding algorithm. (Specifying algorithm=ed25519
inopts
now works on secrets likesNa1...
) - Remove
crypto
polyfills,create-hash
,elliptic
,hash.js
, and their many dependencies in favor of@noble/hashes
and@nobel/curves
- Remove
bytesToHex
andhexToBytes
. They can now be found in@xrplf/isomorphic/utils
verifyTransaction
will throw an error if there is no signature- Improved key algorithm detection. It will now throw Errors with helpful messages
- Remove
brorand
as a dependency and use@xrplf/isomorphic
instead.
- Fix source-maps not finding their designated source
- Adds support for npm v9
- All tests now use the Jest test runner and have been refactored for consistency across all packages
hexToBytes
now produces empty output for empty input, rather than[0]
.- Extend
bytesToHex
to work correctly with any input type accepted byArray.from
. In particular, it now produces correct output for typed arrays such asUInt8Array
.
- Fix issue where npm < 7 was not allowed to install the library
- Converts ripple-keypairs into a monorepo with ripple-binary-codec, ripple-address-codec, and xrpl. Changes to build tooling but no new features or bug fixes
- Update dependencies:
- elliptic to 6.5.4 - includes security fix, although ripple-keypairs should not be susceptible because the vulnerable code is meant only for DH key exchange, which we do not use
- ripple-address-codec to 4.1.2
- bn.js, ts-node, @types/node, @types/mocha, codecov, prettier, typescript, eslint-config-prettier, eslint-plugin-import, elint-config-airbnb-base, eslint-plugin-prettier, ts-node, mocha
- Drop support for Node.js version 8 (#171)
- Node.js v8 reached End-of-Life on 31st December 2019. As ripple-keypairs is a security-sensitive library, we recommend upgrading to Node.js 10 or higher immediately. (Node.js Releases)
- Internal
- Update dependencies (#170) (#163) (#173) (#172) (#175) (#177) (#179) (#180) (#181)
- Bump elliptic from 6.5.2 to 6.5.3 (#190)
- We do not believe that the issue fixed in this patch affects ripple-keypairs in any way, but we are bumping the dependency just to stay up-to-date.
- Bump lodash from 4.17.15 to 4.17.20 (#207)
- Add GitHub Actions CI (#221)
- Update dependencies
- codecov, eslint-config-airbnb-typescript, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, @types/node, eslint-plugin-mocha, typescript, mocha
- This will probably be the last version to support Node.js version 8, which reached End-of-Life on 31st December 2019. If you are still using Node.js 8, we recommend upgrading to version 10 or higher as soon as possible. (Node.js Releases)
- Refactor and use TypeScript
- Use Travis CI (.travis.yml)
- Use "dist/*" for distribution files
- Add yarn.lock
- Export members and add default export
- Internal
- Use published ripple-address-codec (#58)
- Replace TSLint with ESLint + Prettier (#71)
- Add type (#74)
- Remove unused code (#81)
- Add tests (#82)
- Improve comments (#90)
- Remove Babel (#33)
- Update dependencies
- @types/node, eslint, bn.js, typescript, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, mocha, istanbul, hash.js
- Upgrade elliptic (#28)
- Remove unused devDependencies