neo4j-driver-init
Advanced tools
Comparing version 1.1.7 to 1.1.8
13
index.js
@@ -15,6 +15,5 @@ const neo4j = require("neo4j-driver"); | ||
return neo4jDriverInit(port, host, username, password).verifyConnectivity() | ||
.then(function(serverInfo){ | ||
.then(serverInfo => { | ||
if (serverInfo.address) { | ||
console.log(`Driver created successfully at ${serverInfo.address}`); | ||
return serverInfo.address; | ||
console.log(`Driver created at ${serverInfo.address}`); | ||
} | ||
@@ -24,10 +23,8 @@ }) | ||
console.log(error); | ||
}); | ||
}) | ||
} | ||
module.exports = function (port, host, username, password) { | ||
if(verifyDriverInit(port, host, username, password)){ | ||
console.log(verifyDriverInit(port, host, username, password)); | ||
return neo4jDriverInit(port, host, username, password); | ||
} | ||
verifyDriverInit(port, host, username, password); | ||
return neo4jDriverInit(port, host, username, password); | ||
}; |
{ | ||
"name": "neo4j-driver-init", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "Neo4j Driver Initialization", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1010
24