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)
getBlockByHashandgetBlockByHeightwill throwNotFoundErrorinstead ofnullresult
0.20.1 (2021-05-26)
0.20.0 (2021-07-09)
- platform methods respond with response classes instead of plain data
- Core method
getTransactionresponds with response class instead of plain data getTransaction,getDataContractandgetIdentitymethods throwNotFoundErrorif 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)
getStatusreponse was returning buffers as Base64 encoded strings (#235)
0.19.0 (2021-05-03)
- critical security vulnerability in axios@0.19.2 (#233)
getStatusmethod handler response have changed
0.18.0 (2021-03-03)
- BLS was throwing an error inside
uncaughtExceptionhandler (#226)
- remove temporary
timeoutoption 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)
getIdentitiesByPublicKeyHashesandgetIdentityIdsByPublicKeyHashesmethods (#191, #196, #205)getDataContract,getDocuments,getIdentityacceptBuffer(#201)
- fix URLs in README (#193)
getIdentityByFirstPublicKeyandgetIdentityIdByFirstPublicKeyremovedgetDataContract,getDocuments,getIdentityacceptBufferorTypedArray
0.15.0 (2020-09-04)
- internal error when submitting
fromBlockHeightas0tosubscribeToTransactionsWithProofs(#174)
- retry request on
UNIMPLEMENTEDerror (#185) - update DAPI gRPC to 0.15 (#179, #186)
- remove
getUTXOandgetAddressSummarycore methods (#178) - rename
sendTransactionandapplyStateTransition(#175)
broadcastTransactionandbroadcastStatTransitiongRPC method names are using instead ofsendTransactionandapplyStateTransitiongetUTXOandgetAddressSummarycore 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
fromBlockHeightas 0 tosubscribeToTransactionsWithProofs(#174) - ambiguity in
addressesoption (#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-libto0.18.10(#162)
0.13.4 (2020-06-30)
- network is not set to
SimplifiedMNListDiff(#161)
0.13.3 (2020-06-18)
- calling method
getIpofundefined(#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
forceJsonRpcoption (#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
generateToAddressendpoint (f8b446b) - bring back
getAddressSummaryendpoint (d6de22c) - implement basic Core gRPC endpoints (6fe4d4a)
- remove obsolete API endpoints and code (982a514)
- Removed unsupported
generateendpoint - Removed insecure endpoints