orator-serviceserver-restify 2.0.2 → 2.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 CHANGED
@@ -37,7 +37,7 @@ _Fable.Utility.waterfall(
37
37
  pResponse.send(pRequest.params);
38
38
  _Orator.fable.log.info(`Endpoint sent parameters object:`,pRequest.params);
39
39
  // Restify will be unhappy with this due to strictNext
40
- fNext()
40
+ //fNext()
41
41
  return fNext();
42
42
  }
43
43
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orator-serviceserver-restify",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Restify Service Server for Orator",
5
5
  "main": "source/Orator-ServiceServer-Restify.js",
6
6
  "scripts": {
@@ -46,8 +46,8 @@
46
46
  "restify": "^11.1.0"
47
47
  },
48
48
  "devDependencies": {
49
- "fable": "^3.0.96",
50
- "orator": "^4.0.2",
51
- "quackage": "^1.0.24"
49
+ "fable": "^3.0.112",
50
+ "orator": "^4.0.3",
51
+ "quackage": "^1.0.28"
52
52
  }
53
53
  }
@@ -9,7 +9,10 @@ class OratorServiceServerRestify extends libOratorServiceServerBase
9
9
 
10
10
  this.ServiceServerType = 'Restify';
11
11
 
12
- let tmpRestifyConfiguration = (this.options.hasOwnProperty('RestifyConfiguration')) ? this.options.RestifyConfiguration : {};
12
+ let tmpRestifyConfiguration = (this.options.hasOwnProperty('RestifyConfiguration')) ? this.options.RestifyConfiguration :
13
+ (this.fable.settings.hasOwnProperty('RestifyConfiguration')) ? this.fable.settings.RestifyConfiguration :
14
+ {};
15
+
13
16
  this.server = libRestify.createServer(tmpRestifyConfiguration);
14
17
  }
15
18