0.21.2 (2021-10-22)
- DAPI addresses white list must not be applied in Regtest mode (#289)
0.21.1 (2021-10-21)
- DAPI addresses white list (#288)
0.21.0 (2021-10-12)
- improve error handling (#268)
- convenient response errors (#272, #280, #282, #284, #286)
- implement getConsensusParams method (#261)
- support returning of a multiproof (#257)
getBlockByHash
andgetBlockByHeight
will throwNotFoundError
instead ofnull
result
0.20.1 (2021-05-26)
0.20.0 (2021-07-09)
- platform methods respond with response classes instead of plain data
- Core method
getTransaction
responds with response class instead of plain data getTransaction
,getDataContract
andgetIdentity
methods throwNotFoundError
if no data was found
0.19.3 (2021-05-26)
- update cbor to fix serialization of queries with buffers (178943b)
0.19.2 (2021-05-20)
- Update DPP to a 0.19.2 (#237)
0.19.1 (2021-05-04)
getStatus
reponse was returning buffers as Base64 encoded strings (#235)
0.19.0 (2021-05-03)
- critical security vulnerability in axios@0.19.2 (#233)
getStatus
method handler response have changed
0.18.0 (2021-03-03)
- BLS was throwing an error inside
uncaughtException
handler (#226)
- remove temporary
timeout
option frombroadcastStateTransition
(2abdf5)
0.17.2 (2020-12-30)
- broadcastStateTransitions is timing out on testnet (#219)
0.17.1 (2020-12-30)
- merkleRootQuorums from the diff doesn’t match calculated quorum root after diff is applied (#217)
0.17.0 (2020-12-29)
- SML unhandled error on blockchain reorg (#215)
- DAPI client is now connecting to a testnet by default
0.16.0 (2020-10-27)
getIdentitiesByPublicKeyHashes
andgetIdentityIdsByPublicKeyHashes
methods (#191, #196, #205)getDataContract
,getDocuments
,getIdentity
acceptBuffer
(#201)
- fix URLs in README (#193)
getIdentityByFirstPublicKey
andgetIdentityIdByFirstPublicKey
removedgetDataContract
,getDocuments
,getIdentity
acceptBuffer
orTypedArray
0.15.0 (2020-09-04)
- internal error when submitting
fromBlockHeight
as0
tosubscribeToTransactionsWithProofs
(#174)
- retry request on
UNIMPLEMENTED
error (#185) - update DAPI gRPC to 0.15 (#179, #186)
- remove
getUTXO
andgetAddressSummary
core methods (#178) - rename
sendTransaction
andapplyStateTransition
(#175)
broadcastTransaction
andbroadcastStatTransition
gRPC method names are using instead ofsendTransaction
andapplyStateTransition
getUTXO
andgetAddressSummary
core methods are removed- see DAPI gRPC breaking changes
0.14.0 (2020-07-23)
We completely rewrote DAPI Client to improve code quality, usability, and testability.
In the new version, you can specify not just seeds to connect but also specific DAPI addresses
and even inject own logic to obtain/select nodes. API methods accept the same options
as the DAPIClient
constructor so you can specify different behavior for each API call.
Previously, faulty nodes were excluded for a specific API call. Now they are banning for a period of time, and this time increments exponentially in the event of repeated faults.
- cannot read property 'getHttpPort' of undefined (#173)
- internal error when submitting
fromBlockHeight
as 0 tosubscribeToTransactionsWithProofs
(#174) - ambiguity in
addresses
option (#170) - JSON RPC does not retry on
ETIMEDOUT
(#156) - 2 seconds timeout not enough for some requests (#151)
- construct DAPIClient with network option didn't work properly (#150)
- global default timeout applies for streams (#152)
- add ports to string representation of DAPIAddress (#171) (1f4ffb7)
- allow to specify network with other connection options (#160) (cfbc5cd)
- update DAPI gRPC to 0.14.0-dev.1 (#149) (4598def)
- timeout options for gRPC requests and simplified URL for gRPC client (#146) (35685b9)
- readme standard updates (#167)
- rewrite DAPI Client from scratch (#140)
- DAPI Client options are changed
- Core and Platform methods moved to specific namespaces (ie.
client.platform.getIdentity()
,client.core.getStatus()
)
0.13.6 (2020-06-30)
- update dapi-client to
0.18.11
(#163)
0.13.5 (2020-06-30)
- update
dashcore-lib
to0.18.10
(#162)
0.13.4 (2020-06-30)
- network is not set to
SimplifiedMNListDiff
(#161)
0.13.3 (2020-06-18)
- calling method
getIp
ofundefined
(#159)
0.13.2 (2020-06-11)
- retries don't work for MN discovery (#157)
0.13.1 (2020-06-11)
- JSON RPC doesn't retry on `ETIMEDOUT (#155)
0.13.0 (2020-06-08)
- missed grpc-common peer dependency caused error (#135)
0.12.0 (2020-04-20)
- remove
forceJsonRpc
option (#126)
- platform methods no longer available through JSON RPC
0.11.0 (2020-03-01)
- return null if get "Not Found" gRPC error (86af3f7)
- gRPC web connection url should contain protocol (0c7ad1f)
- introduce
generateToAddress
endpoint (f8b446b) - bring back
getAddressSummary
endpoint (d6de22c) - implement basic Core gRPC endpoints (6fe4d4a)
- remove obsolete API endpoints and code (982a514)
- Removed unsupported
generate
endpoint - Removed insecure endpoints