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.11 to 1.0.12

6

index.js

@@ -7,2 +7,4 @@ var CryptoJS = require('crypto-js')

const fetch = require('node-fetch')
const bwGrowth = 10000000
const vtGrowth = 360000000

@@ -403,7 +405,7 @@ function status(response) {

votingPower: (account) => {
return new GrowInt(account.vt, {growth:account.balance/(3600000)})
return new GrowInt(account.vt, {growth:account.balance/(vtGrowth)})
.grow(new Date().getTime()).v
},
bandwidth: (account) => {
return new GrowInt(account.bw, {growth:account.balance/(60000), max:1048576})
return new GrowInt(account.bw, {growth:account.balance/(bwGrowth), max:1048576})
.grow(new Date().getTime()).v

@@ -410,0 +412,0 @@ },

{
"name": "javalon",
"version": "1.0.11",
"version": "1.0.12",
"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