Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metaverse-network-sdk/api

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metaverse-network-sdk/api - npm Package Compare versions

Comparing version 0.0.1-51-2 to 0.0.1-51-3

16

dist/api-manager.js

@@ -233,10 +233,3 @@ "use strict";

}
if (res.isFinalized && txErrors.length == 0 && !hasBatchErrors) {
setStatus(`😉 Finalized. Block hash: ${res.status.asFinalized.toString()}`);
setIsLoading(false);
inBlock.resolve({ events: res.events, blockHash: res.status.asFinalized, txHash: signed.hash });
finalized.resolve({ events: res.events, blockHash: res.status.asFinalized, txHash: signed.hash });
sendPromise.then((unsup) => unsup());
}
else if (((res.isFinalized || res.isInBlock) && txErrors.length > 0) || hasBatchErrors) {
if (((res.isInBlock) && txErrors.length > 0) || hasBatchErrors) {
console.log(`Failed. Block hash: ${res.status.asFinalized.toHex()}`);

@@ -292,6 +285,5 @@ let err = "";

setStatus(`Transaction already included in Block. Waiting for Finality`);
if (!options.waitToFinalized) {
setIsLoading(false);
inBlock.resolve({ events: res.events, blockHash: res.status.asInBlock, txHash: signed.hash });
}
setIsLoading(false);
inBlock.resolve({ events: res.events, blockHash: res.status.asInBlock, txHash: signed.hash });
sendPromise.then((unsup) => unsup());
}

@@ -298,0 +290,0 @@ else if (res.status.isInvalid ||

{
"name": "@metaverse-network-sdk/api",
"version": "0.0.1-51-2",
"version": "0.0.1-51-3",
"description": "Extended API library for polkadot.js",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc