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

ethrpc

Package Overview
Dependencies
Maintainers
1
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethrpc - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

15

index.js

@@ -168,2 +168,5 @@ /**

var results, len, err;
// if (response && response.error) {
// console.log("response:", JSON.stringify(response, null, 2));
// }
try {

@@ -526,2 +529,5 @@ if (response && typeof response === "string") {

nodes = this.selectNodes();
// if (command.method === "eth_sendRawTransaction") {
// nodes = ["http://frontier-lb.ether.camp/"].concat(nodes);
// }

@@ -671,2 +677,3 @@ // asynchronous request if callback exists

raw: function (command, params, f) {
console.log(command, params);
return this.broadcast(this.marshal(command, params, "null"), f);

@@ -814,3 +821,2 @@ },

estimateGas: function (tx, f) {
tx.to = tx.to || "";
return this.broadcast(this.marshal("estimateGas", tx), f);

@@ -821,3 +827,2 @@ },

call: function (tx, f) {
tx.to = tx.to || "";
tx.gas = tx.gas || this.DEFAULT_GAS;

@@ -828,3 +833,2 @@ return this.broadcast(this.marshal("call", [tx, "latest"]), f);

sendTx: function (tx, f) {
tx.to = tx.to || "";
tx.gas = tx.gas || this.DEFAULT_GAS;

@@ -834,3 +838,2 @@ return this.broadcast(this.marshal("sendTransaction", tx), f);

sendTransaction: function (tx, f) {
tx.to = tx.to || "";
tx.gas = tx.gas || this.DEFAULT_GAS;

@@ -873,3 +876,3 @@ return this.broadcast(this.marshal("sendTransaction", tx), f);

publish: function (compiled, f) {
return this.sendTx({ from: this.coinbase(), data: compiled }, f);
return this.sendTx({from: this.coinbase(), data: compiled}, f);
},

@@ -1065,3 +1068,3 @@

if (tx.from) tx.from = abi.format_address(tx.from);
tx.to = abi.format_address(tx.to);
if (tx.to) tx.to = abi.format_address(tx.to);
dataAbi = abi.encode(tx);

@@ -1068,0 +1071,0 @@ if (dataAbi) {

2

package.json
{
"name": "ethrpc",
"version": "0.6.2",
"version": "0.6.3",
"description": "Ethereum JSON RPC",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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