@routr/connect 2.0.8-alpha.42 → 2.0.8-alpha.43
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/handlers.js +0 -1
- package/package.json +6 -7
- package/dist/healthcheck.d.ts +0 -2
- package/dist/healthcheck.js +0 -24
package/dist/handlers.js
CHANGED
@@ -107,7 +107,6 @@ const handleRequest = (location, apiClient) => (request, res) => __awaiter(void
|
|
107
107
|
: yield (0, router_1.router)(location, apiClient)(req);
|
108
108
|
if (!route)
|
109
109
|
return res.sendNotFound();
|
110
|
-
logger.error(JSON.stringify({ route }, null, 2));
|
111
110
|
// If route is not type Route then return
|
112
111
|
if (!("listeningPoints" in route)) {
|
113
112
|
return res.send(route);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@routr/connect",
|
3
|
-
"version": "2.0.8-alpha.
|
3
|
+
"version": "2.0.8-alpha.43",
|
4
4
|
"description": "Default processor",
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
@@ -16,8 +16,7 @@
|
|
16
16
|
"build": "tsc -b tsconfig.json"
|
17
17
|
},
|
18
18
|
"bin": {
|
19
|
-
"run_connect": "dist/runner.js"
|
20
|
-
"healthcheck_connect": "dist/healthcheck.js"
|
19
|
+
"run_connect": "dist/runner.js"
|
21
20
|
},
|
22
21
|
"dependencies": {
|
23
22
|
"@fonoster/logger": "0.3.20",
|
@@ -29,9 +28,9 @@
|
|
29
28
|
"@opentelemetry/sdk-trace-base": "^1.0.4",
|
30
29
|
"@opentelemetry/sdk-trace-node": "^1.0.4",
|
31
30
|
"@opentelemetry/semantic-conventions": "^1.0.4",
|
32
|
-
"@routr/common": "^2.0.8-alpha.
|
33
|
-
"@routr/location": "^2.0.8-alpha.
|
34
|
-
"@routr/processor": "^2.0.8-alpha.
|
31
|
+
"@routr/common": "^2.0.8-alpha.43",
|
32
|
+
"@routr/location": "^2.0.8-alpha.43",
|
33
|
+
"@routr/processor": "^2.0.8-alpha.43",
|
35
34
|
"jsonwebtoken": "^9.0.0"
|
36
35
|
},
|
37
36
|
"devDependencies": {
|
@@ -50,5 +49,5 @@
|
|
50
49
|
"bugs": {
|
51
50
|
"url": "https://github.com/fonoster/routr/issues"
|
52
51
|
},
|
53
|
-
"gitHead": "
|
52
|
+
"gitHead": "344a384c57bc0510c0daa65a7bbbd25b03d849b0"
|
54
53
|
}
|
package/dist/healthcheck.d.ts
DELETED
package/dist/healthcheck.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
#!/usr/bin/env node
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
/*
|
5
|
-
* Copyright (C) 2023 by Fonoster Inc (https://fonoster.com)
|
6
|
-
* http://github.com/fonoster
|
7
|
-
*
|
8
|
-
* This file is part of Routr.
|
9
|
-
*
|
10
|
-
* Licensed under the MIT License (the "License");
|
11
|
-
* you may not use this file except in compliance with
|
12
|
-
* the License. You may obtain a copy of the License at
|
13
|
-
*
|
14
|
-
* https://opensource.org/licenses/MIT
|
15
|
-
*
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
* See the License for the specific language governing permissions and
|
20
|
-
* limitations under the License.
|
21
|
-
*/
|
22
|
-
const common_1 = require("@routr/common");
|
23
|
-
const envs_1 = require("./envs");
|
24
|
-
common_1.HealthCheck.check(envs_1.BIND_ADDR);
|