@metaverse-network-sdk/api
Advanced tools
Comparing version 0.0.1-51-3 to 0.0.1-51-4
@@ -234,3 +234,3 @@ "use strict"; | ||
if (((res.isInBlock) && txErrors.length > 0) || hasBatchErrors) { | ||
console.log(`Failed. Block hash: ${res.status.asFinalized.toHex()}`); | ||
console.log(`Failed. Block hash: ${res.status.asInBlock.toHex()}`); | ||
let err = ""; | ||
@@ -284,3 +284,3 @@ if (hasBatchErrors) { | ||
else if (res.isInBlock) { | ||
setStatus(`Transaction already included in Block. Waiting for Finality`); | ||
setStatus(`Transaction Successful`); | ||
setIsLoading(false); | ||
@@ -287,0 +287,0 @@ inBlock.resolve({ events: res.events, blockHash: res.status.asInBlock, txHash: signed.hash }); |
{ | ||
"name": "@metaverse-network-sdk/api", | ||
"version": "0.0.1-51-3", | ||
"version": "0.0.1-51-4", | ||
"description": "Extended API library for polkadot.js", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
31532