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

ethereum-web3-plus

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereum-web3-plus - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

9

index.js

@@ -25,6 +25,9 @@

}
SolidityCompiler.prototype.compile = function(source) {
SolidityCompiler.prototype.compile = function(sourceFile) {
this.compileInline('import "'+sourceFile+'";');
}
SolidityCompiler.prototype.compileInline = function(sourceInline) {
var eth=this.web3.eth;
var filled = "________________________________________"; // used for lib token creation below
var compiled = eth.compile.solidity('import "'+source+'";');
var compiled = eth.compile.solidity(sourceInline);
for( var obj in compiled ) {

@@ -39,3 +42,3 @@ var name=obj.split(":")[1];

// replacing the lib totens with their address in all compiled contracts
var reLib = /_+.*?_+/g;
var reLib = /__.*?__+/g;
for(name in this.DictContract) {

@@ -42,0 +45,0 @@ for(lib in this.DeployedLib) {

{
"name": "ethereum-web3-plus",
"version": "0.2.0",
"version": "0.2.1",
"description": "Adds some simplifications to the web3 package such as compilation, instance creation, call sequencing",

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

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