orator 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/debug/Harness.js +4 -2
- package/package.json +1 -1
- package/source/Orator.js +0 -5
package/debug/Harness.js
CHANGED
|
@@ -13,9 +13,11 @@ let _Fable = new libFable({
|
|
|
13
13
|
// > make sure to run "npm i orator-serviceserver-restify" from the parent directory first so the package is available
|
|
14
14
|
// > please don't --save it!
|
|
15
15
|
// _Fable.serviceManager.instantiateServiceProvider('OratorServiceServer', require('orator-serviceserver-restify'));
|
|
16
|
-
|
|
16
|
+
const libOratorServiceServerRestify = require('orator-serviceserver-restify');
|
|
17
|
+
_Fable.serviceManager.addAndInstantiateServiceType('OratorServiceServer', libOratorServiceServerRestify);
|
|
17
18
|
|
|
18
|
-
_Fable.serviceManager.
|
|
19
|
+
_Fable.serviceManager.addServiceType('Orator', libOrator);
|
|
20
|
+
const tmpServiceServer = _Fable.serviceManager.instantiateServiceProvider('Orator');
|
|
19
21
|
|
|
20
22
|
// Start the service
|
|
21
23
|
tmpServiceServer.startService();
|
package/package.json
CHANGED
package/source/Orator.js
CHANGED
|
@@ -25,11 +25,6 @@ class Orator extends libFableServiceProviderBase
|
|
|
25
25
|
this.serviceServer = false;
|
|
26
26
|
this.serviceServerProvider = false;
|
|
27
27
|
|
|
28
|
-
if (typeof(pServiceProvider) !== 'undefined')
|
|
29
|
-
{
|
|
30
|
-
this.serviceServerProvider = pServiceProvider;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
28
|
// Now check to see that the ServicePort is set (this used to be APIServerPort)
|
|
34
29
|
if (!this.options.hasOwnProperty('ServicePort'))
|
|
35
30
|
{
|