sessionstore
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -20,3 +20,3 @@ function getSpecificStore(options) { | ||
var moduleName = err.message.substring(err.message.indexOf("'") + 1, err.message.lastIndexOf("'")); | ||
console.log('Please install "' + moduleName + '" to work with db implementation "' + options.type + '"!'); | ||
console.log('Please install module "' + moduleName + '" to work with db implementation "' + options.type + '"!'); | ||
} | ||
@@ -33,6 +33,6 @@ | ||
module.exports = { | ||
createSessionStore: function(options) { | ||
createSessionStore: function(options, callback) { | ||
var Store = getSpecificStore(options); | ||
return new Store(options); | ||
return new Store(options, callback); | ||
} | ||
}; | ||
}; |
{ | ||
"author": "adrai", | ||
"name": "sessionstore", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"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
20280
432