New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →
Socket
Sign inDemoInstall
Socket

steem

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

steem - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

20

lib/steem.js

@@ -41,3 +41,3 @@ var ws = require('ws');

}, function(err, result) {
callback(err,result);
callback(err, result);
});

@@ -661,3 +661,3 @@ };

w.onopen = function() {
setInterval(function () {
setInterval(function() {
w.send(JSON.stringify({

@@ -682,7 +682,7 @@ 'id': 0,

w.onopen = function() {
setInterval(function () {
setInterval(function() {
if (current != last) {
last = current;
self.getBlock(current, function(err,result) {
callback(null,result);
self.getBlock(current, function(err, result) {
callback(null, result);
});

@@ -696,4 +696,4 @@ }

this.streamBlock(function(err, result) {
result.transactions.forEach(function (transaction) {
callback(null,transaction);
result.transactions.forEach(function(transaction) {
callback(null, transaction);
});

@@ -705,5 +705,5 @@ })

this.streamBlock(function(err, result) {
result.transactions.forEach(function (transaction) {
transaction.operations.forEach(function (operation) {
callback(null,operation);
result.transactions.forEach(function(transaction) {
transaction.operations.forEach(function(operation) {
callback(null, operation);
});

@@ -710,0 +710,0 @@ });

{
"name": "steem",
"version": "0.2.2",
"version": "0.2.3",
"description": "SteemJS the JavaScript API for Steem blockchain",

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

@@ -405,4 +405,4 @@ # SteemJS

```js
steem.streamBlockNumber(function(result) {
console.log(result);
steem.streamBlockNumber(function(err, result) {
console.log(err, result);
});

@@ -412,4 +412,4 @@ ```

```js
steem.streamBlock(function(result) {
console.log(result);
steem.streamBlock(function(err, result) {
console.log(err, result);
});

@@ -419,4 +419,4 @@ ```

```js
steem.streamTransactions(function(result) {
console.log(result);
steem.streamTransactions(function(err, result) {
console.log(err, result);
});

@@ -426,4 +426,4 @@ ```

```js
steem.streamOperations(function(result) {
console.log(result);
steem.streamOperations(function(err, result) {
console.log(err, result);
});

@@ -430,0 +430,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