Socket
Socket
Sign inDemoInstall

eth-block-tracker

Package Overview
Dependencies
6
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "eth-block-tracker",
"version": "2.1.0",
"version": "2.1.1",
"description": "This module walks the Ethereum blockchain, keeping track of the latest block. It uses a web3 provider as a data source and will continuously poll for the next block.",

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

@@ -91,1 +91,9 @@ const incrementHexNumber = require('../../lib/hexUtils').incrementHexNumber

}
function randomHash(){
return intToHex(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))
}
function intToHex(int){
return '0x'+int.toString(16)
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc