viewmodel
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -37,5 +37,13 @@ // lib/databases/mongoDb.js v0.1.0 | ||
} else { | ||
self.client = client; | ||
self.isConnected = true; | ||
if (callback) callback(null, self); | ||
var finish = function() { | ||
self.client = client; | ||
self.isConnected = true; | ||
if (callback) callback(null, self); | ||
}; | ||
if (options.username) { | ||
client.authenticate(options.username, options.password, finish); | ||
} else { | ||
finish(); | ||
} | ||
} | ||
@@ -161,2 +169,2 @@ }); | ||
}; | ||
}; |
{ | ||
"author": "adrai", | ||
"name": "viewmodel", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"private": false, | ||
@@ -6,0 +6,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
108718
17
1272