@emurgo/yoroi-lib-core
Advanced tools
Comparing version 0.7.3-alpha.38 to 0.7.4-alpha.39
@@ -34,4 +34,8 @@ import { Axios } from 'axios'; | ||
export declare type GetTipStatusResponse = { | ||
safeBlock: string; | ||
bestBlock: string; | ||
safeBlock: { | ||
hash: string; | ||
}; | ||
bestBlock: { | ||
hash: string; | ||
}; | ||
}; | ||
@@ -38,0 +42,0 @@ export declare class BatchedEmurgoUtxoApi implements UtxoApiContract { |
@@ -134,3 +134,3 @@ "use strict"; | ||
const resp = yield this._axios.get(url); | ||
return resp.data.safeBlock; | ||
return resp.data.safeBlock.hash; | ||
}); | ||
@@ -142,3 +142,3 @@ } | ||
const resp = yield this._axios.get(url); | ||
return resp.data.bestBlock; | ||
return resp.data.bestBlock.hash; | ||
}); | ||
@@ -145,0 +145,0 @@ } |
{ | ||
"name": "@emurgo/yoroi-lib-core", | ||
"version": "0.7.3-alpha.38", | ||
"version": "0.7.4-alpha.39", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
289185
5114