xpress-mongo
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "xpress-mongo", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Light Weight ODM for mongoDb", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,3 +21,3 @@ const GenerateModel = require('./XMongoModel'); | ||
connect(errorCallback) { | ||
connect(successCallback, errorCallback) { | ||
this.state = STATES.connecting; | ||
@@ -29,2 +29,3 @@ | ||
this.state = STATES.connected; | ||
successCallback(this); | ||
}).catch((err) => { | ||
@@ -31,0 +32,0 @@ this.state = STATES.disconnected; |
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
26991
860