@dashevo/dapi-client 0.21.0-dev.10 → 0.21.0-dev.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,7 +110,7 @@ function createGrpcTransportError(grpcError, dapiAddress) {
110
110
 
111
111
  // DPP consensus errors
112
112
  if (code >= 1000 && code < 5000) {
113
- const consensusError = createConsensusError(code, data.arguments);
113
+ const consensusError = createConsensusError(code, data.arguments || []);
114
114
 
115
115
  delete data.arguments;
116
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-client",
3
- "version": "0.21.0-dev.10",
3
+ "version": "0.21.0-dev.11",
4
4
  "description": "Client library used to access Dash DAPI endpoints",
5
5
  "main": "lib/DAPIClient.js",
6
6
  "contributors": [