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.5 to 1.0.6

2

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

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

@@ -106,11 +106,10 @@ # Javalon

```
var newTx = {
type: javalon.TransactionType.FOLLOW,
data: {
target: 'bob'
}
var newTx = {
type: javalon.TransactionType.FOLLOW,
data: {
target: 'bob'
}
}
// then you sign it
newTx = javalon.sign(alice_key, 'alice', newTx)
newTx = javalon.sign(alice_key, 'alice', newTx)
```

@@ -121,5 +120,5 @@ After this step, the transaction is forged with a timestamp, hash, and signature. This transaction needs to be sent in the next 60 secs or will be forever invalid.

```
javalon.sendTransaction(newTx, function(err, res) {
cb(err, res)
})
javalon.sendTransaction(newTx, function(err, res) {
cb(err, res)
})
```

@@ -130,5 +129,5 @@ The callback will return once your transaction has been included in a new block.

```
javalon.sendRawTransaction(newTx, function(err, res) {
cb(err, res)
})
javalon.sendRawTransaction(newTx, function(err, res) {
cb(err, res)
})
```

@@ -135,0 +134,0 @@

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