Comparing version 0.9.0 to 0.10.0
@@ -28,3 +28,3 @@ // Generated by LiveScript 1.4.0 | ||
x$.on('command', this._onIncomingCommand); | ||
delegate('close', 'listen', { | ||
delegate('close', 'listen', 'port', { | ||
from: this, | ||
@@ -31,0 +31,0 @@ to: this.httpListener |
@@ -15,4 +15,5 @@ // Generated by LiveScript 1.4.0 | ||
x$.use(bodyParser.json()); | ||
x$.get('/run', this._overviewController); | ||
x$.get('/status', this._statusController); | ||
x$.post('/run/:command', this._commandController); | ||
this.port = null; | ||
} | ||
@@ -31,3 +32,3 @@ prototype.close = function(){ | ||
var this$ = this; | ||
this.port = port != null ? port : 4000; | ||
this.port = port; | ||
switch (false) { | ||
@@ -67,3 +68,3 @@ case !isNaN(this.port): | ||
}; | ||
prototype._overviewController = function(req, res){ | ||
prototype._statusController = function(req, res){ | ||
return res.end(); | ||
@@ -70,0 +71,0 @@ }; |
{ | ||
"name": "exorelay", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "Communication relay between JavaScript code bases and the Exosphere environment", | ||
@@ -9,5 +9,4 @@ "main": "lib/exorelay.js", | ||
"prepublish": "bin/build", | ||
"preversion": "npm test && npm run update", | ||
"test": "bin/spec", | ||
"update": "david update" | ||
"preversion": "npm test && david", | ||
"test": "bin/spec" | ||
}, | ||
@@ -14,0 +13,0 @@ "repository": { |
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
435
21075