@routr/connect 2.0.5-alpha.10 → 2.0.5-alpha.13
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/dist/service.js +0 -2
- package/package.json +5 -5
package/dist/service.js
CHANGED
@@ -15,13 +15,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const location_1 = require("@routr/location");
|
16
16
|
const utils_1 = require("./utils");
|
17
17
|
const processor_1 = __importDefault(require("@routr/processor"));
|
18
|
-
const logger_1 = __importDefault(require("@fonoster/logger"));
|
19
18
|
function ConnectProcessor(config) {
|
20
19
|
const { bindAddr, locationAddr } = config;
|
21
20
|
const location = new location_1.LocationClient({ addr: locationAddr });
|
22
21
|
new processor_1.default({ bindAddr, name: "connect" })
|
23
22
|
.listen((req, res) => __awaiter(this, void 0, void 0, function* () {
|
24
|
-
logger_1.default.silly(JSON.stringify(req, null, ' '));
|
25
23
|
switch (req.method.toString()) {
|
26
24
|
case 'PUBLISH':
|
27
25
|
case 'NOTIFY':
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@routr/connect",
|
3
|
-
"version": "2.0.5-alpha.
|
3
|
+
"version": "2.0.5-alpha.13",
|
4
4
|
"description": "Default processor",
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
@@ -20,9 +20,9 @@
|
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
22
|
"@fonoster/logger": "^0.3.3",
|
23
|
-
"@routr/common": "^2.0.5-alpha.
|
24
|
-
"@routr/location": "^2.0.5-alpha.
|
25
|
-
"@routr/processor": "^2.0.5-alpha.
|
23
|
+
"@routr/common": "^2.0.5-alpha.13",
|
24
|
+
"@routr/location": "^2.0.5-alpha.13",
|
25
|
+
"@routr/processor": "^2.0.5-alpha.13"
|
26
26
|
},
|
27
27
|
"files": [
|
28
28
|
"dist"
|
@@ -37,5 +37,5 @@
|
|
37
37
|
"bugs": {
|
38
38
|
"url": "https://github.com/fonoster/routr/issues"
|
39
39
|
},
|
40
|
-
"gitHead": "
|
40
|
+
"gitHead": "6b2f1b6c1bd6b57ebc61189d6d198fe611790995"
|
41
41
|
}
|