🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

ethereum-ens

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereum-ens - npm Package Compare versions

Comparing version

to
0.7.4

test/ens.sol

4

index.js

@@ -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"
}
}