Comparing version 0.1.0 to 0.1.1
@@ -11,3 +11,4 @@ var ExceptionLogger = require('./lib/exception-logger'), | ||
callOthers: true | ||
}); | ||
}), | ||
_wasInit = false; | ||
@@ -20,2 +21,4 @@ // set the uncaughtHandler as a property of logger | ||
module.exports = function(apiKey) { | ||
if (_wasInit) return logger; | ||
// we need to configure a new conman, to use our apiKey, and set it as the default instance | ||
@@ -27,4 +30,6 @@ // so that all our calls to conman.send() use the correctly configured instance | ||
_wasInit = true; | ||
// return our logger-ish object | ||
return logger; | ||
}; | ||
}; |
{ | ||
"name": "arewegood", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "", | ||
@@ -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
15691
363