Releases: marvinroger/nanocurrency-js
Releases · marvinroger/nanocurrency-js
[email protected]
New features
- There's a new
workThreshold
parameter forcomputeWork()
[email protected]
New features
- There's a new
threshold
parameter forvalidateWork()
- The
checkThreshold()
function was added
Bug Fixes
- There was an issue with the
convert()
function, leading to bad conversions when the result had more than 20 decimal places. This is now fixed
[email protected]
New features
- In
createBlock()
,link
andprevious
can now accept anull
createBlock()
now checks if the block is possible (for example,null
is impossible for bothlink
andprevious
- The TS typings have been enhanced for blocks
[email protected]
Performance improvements
- The WASM was optimized a bit, resulting in minor improvements in library size, and PoW computation
[email protected]
[email protected]
Notable changes
-
The CLI has been extracted to a new package, nanocurrency-cli. The
nanocurrency
package does not expose a CLI anymore. That's not a breaking change, because the API remains the same. -
The distributed files were bundled with dependencies for CJS and MJS, and UMD. Now, only the UMD build is bundled with its dependencies.
[email protected]
New features
checkIndex()
has been added
[email protected]
[email protected]
Notable changes
- Initial release, the
nanocurrency
binary behaving the same as the [email protected] one
[email protected]
New features
nanocurrency check index
has been addednanocurrency create block
has been added