Comparing version 0.20.2 to 0.20.3
@@ -11,3 +11,3 @@ // Generated by LiveScript 1.5.0 | ||
function ExoRelay(config){ | ||
var ref$, ref1$, ref2$, ref3$, x$; | ||
var ref$, ref1$, ref2$, x$; | ||
this.config = config; | ||
@@ -26,5 +26,2 @@ this._sendRoutingConfig = bind$(this, '_sendRoutingConfig', prototype); | ||
}()); | ||
((ref3$ = this.config) != null && ref3$.serviceType) || (function(){ | ||
throw new Error('Service type not provided to Exorelay'); | ||
}()); | ||
this.messageHandler = new HandlerManager(); | ||
@@ -75,4 +72,3 @@ x$ = this.websocketConnector = new WebSocketConnector(config); | ||
this.send('exocom.register-service', { | ||
clientName: this.config.role, | ||
serviceType: this.config.serviceType | ||
clientName: this.config.role | ||
}); | ||
@@ -79,0 +75,0 @@ return this.emit('online', this.websocketConnector.exocomPort); |
{ | ||
"name": "exorelay", | ||
"version": "0.20.2", | ||
"version": "0.20.3", | ||
"author": "Kevin Goslar", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
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
21150
422