ethereum-ens
Advanced tools
Comparing version
@@ -416,7 +416,7 @@ /* | ||
this.web3 = new Web3(provider); | ||
var registryContract = web3.eth.contract(registryInterface); | ||
var registryContract = this.web3.eth.contract(registryInterface); | ||
if(address != undefined) { | ||
this.registryPromise = Promise.resolve(Promise.promisifyAll(registryContract.at(address))); | ||
} else { | ||
this.registryPromise = Promise.promisify(web3.version.getNetwork)().then(function(version) { | ||
this.registryPromise = Promise.promisify(this.web3.version.getNetwork)().then(function(version) { | ||
return Promise.promisifyAll(registryContract.at(registryAddresses[version])); | ||
@@ -423,0 +423,0 @@ }); |
{ | ||
"name": "ethereum-ens", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"homepage": "https://github.com/Arachnid/ensjs#readme", | ||
@@ -38,6 +38,6 @@ "description": "Javascript bindings for the Ethereum Name Service", | ||
"async": "^2.0.0", | ||
"ganache-cli": "^6.1.0", | ||
"mocha": "^3.0.2", | ||
"ethereumjs-testrpc": "^2.2.3", | ||
"solc": "^0.4.9" | ||
"solc": "0.4.9" | ||
} | ||
} |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
39125
71.11%5
66.67%674
31.38%1
Infinity%