@betit/orion-node-sdk
Advanced tools
Comparing version 2.0.1 to 3.0.0
@@ -314,2 +314,5 @@ "use strict"; | ||
const RESULT = this._codec.decode(res); | ||
if (RESULT.error) { | ||
RESULT.error = new error_1.OrionError(RESULT.error.code, RESULT.error.message || ''); | ||
} | ||
let response = new response_1.Response(RESULT.payload, RESULT.error); | ||
@@ -316,0 +319,0 @@ DEBUG('got response:', response); |
{ | ||
"name": "@betit/orion-node-sdk", | ||
"version": "2.0.1", | ||
"version": "3.0.0", | ||
"description": "SDK for orion", | ||
@@ -38,2 +38,3 @@ "license": "MIT", | ||
"@types/chai": "^4.0.10", | ||
"@types/chai-as-promised": "^7.1.0", | ||
"@types/mocha": "^2.2.45", | ||
@@ -44,2 +45,3 @@ "@types/node": "8.0.42", | ||
"chai": "4.1.2", | ||
"chai-as-promised": "^7.1.1", | ||
"coveralls": "3.0.0", | ||
@@ -46,0 +48,0 @@ "istanbul": "0.4.5", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3262
1750374
17