arturo-client
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -14,5 +14,7 @@ 'use strict'; | ||
class Client { | ||
constructor(port) { | ||
constructor(opts) { | ||
this._opts = Object.assign({ | ||
port: 61818 | ||
}, opts); | ||
this._port = 61818; | ||
this._connection = null; | ||
@@ -29,3 +31,3 @@ } | ||
connection.data(['connected'], () => resolve()); | ||
connection.connect(this._port); | ||
connection.connect(this._opts.port); | ||
}); | ||
@@ -32,0 +34,0 @@ } |
{ | ||
"name": "arturo-client", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "lib/client.js", | ||
@@ -5,0 +5,0 @@ "author": "chad.d.elliott@gmail.com", |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
104882
66
1
0