@dev-ptera/nano-node-rpc
Version:
A typescript nanocurrency client used to make node RPC calls.
86 lines (47 loc) • 1.56 kB
Markdown
# Changelog
## v2.1.0
### Added
- Added `process`, `work_cancel`, & `work_generate` RPC support.
### Changed
- Changed type definition of `SubType` to include 'open' and 'epoch' types.
## v2.0.2
### Fixed
- Fixed `peers` rpc return type.
## v2.0.1
### Fixed
- Fixed `frontier_count` rpc action.
## v2.0.0
### Changed
- Changed Subtype to not include `open` as an option.
- Changed all `number` RPC response types to `string` since Nano RPC response always returns raw strings.
## v1.1.1
### Added
- Added `BlocksInfoResponseContents` type to help differentiate between `blocks_info` return type.
## v1.1.0
### Added
- Added RPC command for action `blocks_info`
- Added type for block subtype `Subtype`.
## v1.0.4
### Fixed
- Fixed `delegators` RPC return type.
## v1.0.3
### Fixed
- Fixed `delegators_count` function to now send correct RPC action.
## v1.0.2
### Added
- Added type `ErrorResponse` for RPC errors.
### Changed
- Changed `account_info` `params` to be optional.
## v1.0.1
### Added
- Added MIT license to package.json
## v1.0.0
### Added
- Added `accounts_balances`, `accounts_frontiers`, `accounts_pending`,
`active_difficulty`, `block_confirm', confirmation_quorum`, `validate_account_number`, `version`, &
`uptime` RPC support in addition to those found in v0.0.1.
- Added generic typing to `peers` RPC request.
### Fixed
- Fixed optional params not be applied to `chain` RPC call.
## v0.0.1
Initial Release