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

javalon

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

javalon - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

5

index.js

@@ -252,3 +252,3 @@ var CryptoJS = require('crypto-js')

// sign the transaction
var signature = secp256k1.sign(new Buffer(tx.hash, 'hex'), bs58.decode(privKey))
var signature = secp256k1.sign(Buffer.from(tx.hash, 'hex'), bs58.decode(privKey))
tx.signature = bs58.encode(signature.signature)

@@ -331,3 +331,4 @@ return tx

var nodes = avalon.config.api
return nodes[Math.floor(Math.random()*nodes.length)]
if (typeof nodes === 'string') return nodes
else return nodes[Math.floor(Math.random()*nodes.length)]
},

@@ -334,0 +335,0 @@ votingPower: (account) => {

2

package.json
{
"name": "javalon",
"version": "1.0.6",
"version": "1.0.7",
"description": "javascript api for the avalon blockchain",

@@ -5,0 +5,0 @@ "main": "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