@routr/location 2.0.20 → 2.0.25
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/client.js +19 -1
- package/dist/runner.js +1 -1
- package/package.json +2 -2
package/dist/client.js
CHANGED
|
@@ -32,8 +32,26 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
|
|
35
|
+
/*
|
|
36
|
+
* Copyright (C) 2023 by Fonoster Inc (https://fonoster.com)
|
|
37
|
+
* http://github.com/fonoster/routr
|
|
38
|
+
*
|
|
39
|
+
* This file is part of Routr
|
|
40
|
+
*
|
|
41
|
+
* Licensed under the MIT License (the "License")
|
|
42
|
+
* you may not use this file except in compliance with
|
|
43
|
+
* the License. You may obtain a copy of the License at
|
|
44
|
+
*
|
|
45
|
+
* https://opensource.org/licenses/MIT
|
|
46
|
+
*
|
|
47
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
48
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
49
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
50
|
+
* See the License for the specific language governing permissions and
|
|
51
|
+
* limitations under the License.
|
|
52
|
+
*/
|
|
36
53
|
const grpc = __importStar(require("@grpc/grpc-js"));
|
|
54
|
+
const common_1 = require("@routr/common");
|
|
37
55
|
const container = (self, request, name) => {
|
|
38
56
|
return new Promise((resolve, reject) => {
|
|
39
57
|
self.location[name](request, (err, response) => {
|
package/dist/runner.js
CHANGED
|
@@ -24,10 +24,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
24
24
|
*/
|
|
25
25
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
26
26
|
require("./tracer").init("dispatcher");
|
|
27
|
-
const service_1 = __importDefault(require("./service"));
|
|
28
27
|
const get_config_1 = require("./config/get_config");
|
|
29
28
|
const common_1 = require("@routr/common");
|
|
30
29
|
const logger_1 = require("@fonoster/logger");
|
|
30
|
+
const service_1 = __importDefault(require("./service"));
|
|
31
31
|
const logger = (0, logger_1.getLogger)({ service: "location", filePath: __filename });
|
|
32
32
|
common_1.Assertions.assertEnvsAreSet(["CONFIG_PATH"]);
|
|
33
33
|
const result = (0, get_config_1.getConfig)(process.env.CONFIG_PATH);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/location",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.25",
|
|
4
4
|
"description": "Creates and maintains a list of routes to all registered endpoints",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"bugs": {
|
|
49
49
|
"url": "https://github.com/fonoster/routr/issues"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "6395051f8c7b55ba1376b56a86d7235729f5894b"
|
|
52
52
|
}
|