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

whatsonchain

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whatsonchain - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

package.json
{
"name": "whatsonchain",
"version": "0.1.1",
"version": "0.1.2",
"author": {

@@ -44,2 +44,2 @@ "name": "Li Long",

}
}
}
const axios = require( "axios" );
const API_ROOT = "https://api.whatsonchain.com/v1/bsv/"
const API_ROOT = "https://api.whatsonchain.com/v1/bsv"

@@ -41,7 +41,5 @@ class WhatsOnChain {

} else if ( error.request ) {
// 服务器连不上
// console.warn( error.message )
throw new Error( error.message )
} else {
// 返回200,API返回详细错误信息
// console.warn( 'Error', error )

@@ -48,0 +46,0 @@ throw error

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