arbase
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "arbase", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Arbase is a tool to create object-based APIs on top of arweave in mere minutes", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -98,3 +98,3 @@ 'use strict' | ||
try { | ||
obj = decodeAndValidate(entry, await fetchTransaction(id)) | ||
obj = await decodeAndValidate(entry, await fetchTransaction(id)) | ||
} catch (err) { | ||
@@ -129,3 +129,3 @@ if (err.type === 'TX_NOT_FOUND') { | ||
const data = await fetchTransaction(tx) | ||
obj = joinOplog(obj, decodeAndValidate(entry, data, true)) | ||
obj = joinOplog(obj, await decodeAndValidate(entry, data, true)) | ||
} | ||
@@ -132,0 +132,0 @@ } |
37431