Comparing version 1.0.1 to 1.0.2
@@ -11,3 +11,3 @@ var client = require('./client.js'); | ||
client.on('close', function() { | ||
client.on('socketClose', function() { | ||
log('lost connection to the server'); | ||
@@ -18,5 +18,2 @@ connected = false; | ||
function connect(params) { | ||
if(params.debug) { | ||
debug = true; | ||
} | ||
return new Promise(function(resolve, reject) { | ||
@@ -50,2 +47,6 @@ if(connected) { | ||
setup: function(settings) { | ||
if(settings.debug) { | ||
debug = true; | ||
} | ||
this.settings = settings; | ||
@@ -52,0 +53,0 @@ |
{ | ||
"name": "node-spop", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Node wrapper for https://github.com/Schnouki/spop", | ||
@@ -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
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
node-plop |
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
11892
0