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.25 to 1.0.26

26

index.js

@@ -116,2 +116,28 @@ var CryptoJS = require('crypto-js')

},
getRewardsPending: (name, cb) => {
fetch(avalon.randomNode()+'/rewards/pending/'+name, {
method: 'get',
headers: {
'Accept': 'application/json, text/plain, */*',
'Content-Type': 'application/json'
}
}).then(res => res.json()).then(function(res) {
cb(null, res)
}).catch(function(err) {
cb(err)
})
},
getRewardsClaimed: (name, cb) => {
fetch(avalon.randomNode()+'/rewards/claimed/'+name, {
method: 'get',
headers: {
'Accept': 'application/json, text/plain, */*',
'Content-Type': 'application/json'
}
}).then(res => res.json()).then(function(res) {
cb(null, res)
}).catch(function(err) {
cb(err)
})
},
generateCommentTree: (root, author, link) => {

@@ -118,0 +144,0 @@ var replies = []

2

package.json
{
"name": "javalon",
"version": "1.0.25",
"version": "1.0.26",
"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