exonum-bundle-client
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -312,2 +312,5 @@ 'use strict'; | ||
// Find wallet in the tree of all wallets | ||
if (Object.keys(data.wallet.value).length === 0) { | ||
throw new Error('Invalid wallets tree'); | ||
} | ||
if (Object.keys(data.wallet.value).length === 0 && data.wallet.value.constructor === Object) { | ||
@@ -314,0 +317,0 @@ return {}; |
{ | ||
"name": "exonum-bundle-client", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Bundle client", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
2109346
49929