Socket
Socket
Sign inDemoInstall

web3-core-method

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-core-method - npm Package Compare versions

Comparing version 1.0.0-beta.26 to 1.0.0-beta.27

10

package.json
{
"name": "web3-core-method",
"namespace": "ethereum",
"version": "1.0.0-beta.26",
"version": "1.0.0-beta.27",
"description": "Creates the methods on the web3 modules. This is an internal package.",

@@ -11,7 +11,7 @@ "repository": "https://github.com/ethereum/web3.js/tree/master/packages/web3-core-method",

"underscore": "1.8.3",
"web3-core-helpers": "^1.0.0-beta.26",
"web3-core-promievent": "^1.0.0-beta.26",
"web3-core-subscriptions": "^1.0.0-beta.26",
"web3-utils": "^1.0.0-beta.26"
"web3-core-helpers": "1.0.0-beta.27",
"web3-core-promievent": "1.0.0-beta.27",
"web3-core-subscriptions": "1.0.0-beta.27",
"web3-utils": "1.0.0-beta.27"
}
}

@@ -494,6 +494,8 @@ /*

payload.method = 'eth_sendRawTransaction';
payload.params = [sign.rawTransaction];
var signedPayload = _.extend({}, payload, {
method: 'eth_sendRawTransaction',
params: [sign.rawTransaction]
});
method.requestManager.send(payload, sendTxCallback);
method.requestManager.send(signedPayload, sendTxCallback);
};

@@ -515,6 +517,4 @@

if (wallet && wallet.privateKey) {
delete tx.from;
var signature = method.accounts.signTransaction(_.omit(tx, 'from'), wallet.privateKey);
var signature = method.accounts.signTransaction(tx, wallet.privateKey);
return (_.isFunction(signature.then)) ? signature.then(sendSignedTx) : sendSignedTx(signature);

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