orator-serviceserver-restify 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orator-serviceserver-restify",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Restify Service Server for Orator",
5
5
  "main": "source/Orator-ServiceServer-Restify.js",
6
6
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "homepage": "https://github.com/stevenvelozo/orator-serviceserver-restify#readme",
19
19
  "dependencies": {
20
- "orator-serviceserver": "^1.0.1",
20
+ "orator": "^3.0.7",
21
21
  "restify": "^11.1.0"
22
22
  }
23
23
  }
@@ -1,4 +1,4 @@
1
- const libOratorServiceServerBase = require('orator-serviceserver');
1
+ const libOratorServiceServerBase = require('orator').ServiceServerBase;
2
2
  const libRestify = require('restify');
3
3
 
4
4
  class OratorServiceServerRestify extends libOratorServiceServerBase
@@ -7,7 +7,7 @@ class OratorServiceServerRestify extends libOratorServiceServerBase
7
7
  {
8
8
  super(pOrator);
9
9
 
10
- this.server = libRestify.createServer();
10
+ this.server = libRestify.createServer();
11
11
  }
12
12
 
13
13
  /*
@@ -118,4 +118,4 @@ class OratorServiceServerRestify extends libOratorServiceServerBase
118
118
  */
119
119
  }
120
120
 
121
- module.exports = OratorServiceServerRestify;
121
+ module.exports = OratorServiceServerRestify;