Skip to content

Commit

Permalink
v2.4.0 release (#61)
Browse files Browse the repository at this point in the history
* feat: export validator utils

* chore: bump a version

* fix(typescript): represent transaction id as a string (#52)

* fix: remove preinstall npm script (#53)

* fix: remove preinstall npm script

* chore: bump a version

* Fix/transaction query (#51)

* chore(CHANGELOG): v2.3.0

* fix: health check bugs

* fix: health check works only for one random node

* fix(healthCheck): logging non existing extra attempt

* fix(healthCheck): logging right amount of total nodes

* fix(healthCheck): node failed with `undefined` status code

* chore: fix grammar

* chore: bump a version

* docs: update changelog

* fix: `api.voteForDelegate()` (#57)

* fix(): vote validation for public keys and delegate names

* chore(): update JSDoc example

* chore: bump a version

* chore: clean up

* chore(`api.voteForDelegate`): make validation errors more clear

* fix: double error message

* feat(`voteForDelegate`): validate votes directions

* chore(`voteForDelegate`): add JSDoc for `passphrase` param

* feat(`voteForDelegate`): check if address is a delegate

* chore: bump a version and update CHANGELOG (#60)

* chore: bump a version and update CHANGELOG

* chore: update dependencies
  • Loading branch information
martiliones authored Jun 6, 2024
1 parent f66ba3a commit 593fb63
Show file tree
Hide file tree
Showing 6 changed files with 503 additions and 501 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [2.4.0] - 2024-05-30

### Fixed

- Validation of public keys and delegate names for `api.voteForDelegate()` method

### Added

- Check if an address is actually a delegate in `api.voteForDelegate()`
- More validation error messages for `api.voteForDelegate()`

## [2.3.1] - 2024-04-26

### Fixed
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adamant-api",
"version": "2.3.1",
"version": "2.4.0",
"description": "JavaScript API library for the ADAMANT Blockchain",
"keywords": [
"adm",
Expand Down Expand Up @@ -55,8 +55,8 @@
"posttest": "npm run lint"
},
"dependencies": {
"@liskhq/lisk-cryptography": "4.0.0",
"axios": "^1.6.2",
"@liskhq/lisk-cryptography": "4.1.0",
"axios": "^1.7.2",
"bignumber.js": "^9.1.2",
"bip39": "^3.1.0",
"bitcoinjs-lib": "^6.1.5",
Expand All @@ -67,29 +67,29 @@
"ethereumjs-util": "^7.1.5",
"hdkey": "^2.1.0",
"pbkdf2": "^3.1.2",
"socket.io-client": "^4.7.2",
"socket.io-client": "^4.7.5",
"sodium-browserify-tweetnacl": "^0.2.6",
"tiny-secp256k1": "^2.2.3",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
"@commitlint/cli": "^18.4.2",
"@commitlint/config-conventional": "^18.4.2",
"@types/bytebuffer": "^5.0.47",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/bytebuffer": "^5.0.49",
"@types/hdkey": "^2.0.3",
"@types/ed2curve": "^0.2.4",
"@types/jest": "^29.5.8",
"@types/node": "20.9.1",
"@types/jest": "^29.5.12",
"@types/node": "20.12.13",
"@types/pbkdf2": "^3.1.2",
"eslint": "^8.54.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-jest": "^27.6.0",
"husky": "^8.0.3",
"eslint-plugin-jest": "^28.5.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"gts": "^5.2.0",
"typescript": "~5.1.6"
"prettier": "^3.2.5",
"ts-jest": "^29.1.4",
"gts": "^5.3.0",
"typescript": "~5.1.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit 593fb63

Please sign in to comment.