Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

web3

Package Overview
Dependencies
Maintainers
1
Versions
558
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3 - npm Package Compare versions

Comparing version 1.0.0-beta.6 to 1.0.0-beta.7

2

bower.json
{
"namespace": "ethereum",
"name": "web3",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "Ethereum JavaScript API",

@@ -6,0 +6,0 @@ "license": "LGPL-3.0",

{
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"lerna": "2.0.0",

@@ -4,0 +4,0 @@ "packages": [

/* jshint ignore:start */
Package.describe({
name: 'ethereum:web3',
version: '1.0.0-beta.6',
version: '1.0.0-beta.7',
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',

@@ -6,0 +6,0 @@ git: 'https://github.com/ethereum/ethereum.js',

{
"name": "web3",
"namespace": "ethereum",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "Ethereum JavaScript API",

@@ -6,0 +6,0 @@ "license": "LGPL-3.0",

@@ -394,3 +394,12 @@ /*

// SENDS the SIGNED SIGNATURE
var sendSignedTx = function(sign){
payload.method = 'eth_sendRawTransaction';
payload.params = [sign.rawTransaction];
method.requestManager.send(payload, sendTxCallback);
};
var sendRequest = function(payload, method) {

@@ -411,10 +420,5 @@

return method.eth.accounts.signTransaction(tx, wallet.privateKey)
.then(function(sign){
var signature = method.eth.accounts.signTransaction(tx, wallet.privateKey);
payload.method = 'eth_sendRawTransaction';
payload.params = [sign.rawTransaction];
method.requestManager.send(payload, sendTxCallback);
});
return (_.isFunction(signature.then)) ? signature.then(sendSignedTx) : sendSignedTx(signature);
}

@@ -421,0 +425,0 @@

@@ -209,3 +209,2 @@ /*

this.connection.send(JSON.stringify(payload));

@@ -212,0 +211,0 @@ this._addResponseCallback(payload, callback);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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