@routr/registry 2.2.0 → 2.3.0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RegistryConfig } from "../types";
|
|
2
1
|
import * as E from "fp-ts/Either";
|
|
2
|
+
import { RegistryConfig } from "../types";
|
|
3
3
|
import { InvalidConfiguration } from "../errors";
|
|
4
4
|
export declare const getConfig: (path: string) => E.Either<InvalidConfiguration, RegistryConfig>;
|
|
@@ -45,12 +45,12 @@ exports.getConfig = void 0;
|
|
|
45
45
|
* See the License for the specific language governing permissions and
|
|
46
46
|
* limitations under the License.
|
|
47
47
|
*/
|
|
48
|
+
const E = __importStar(require("fp-ts/Either"));
|
|
48
49
|
const types_1 = require("../types");
|
|
49
50
|
const schema_1 = require("./schema");
|
|
50
|
-
const ajv_1 = __importDefault(require("ajv"));
|
|
51
|
-
const E = __importStar(require("fp-ts/Either"));
|
|
52
51
|
const errors_1 = require("../errors");
|
|
53
52
|
const common_1 = require("@routr/common");
|
|
53
|
+
const ajv_1 = __importDefault(require("ajv"));
|
|
54
54
|
const ajv = new ajv_1.default();
|
|
55
55
|
const validate = ajv.compile(schema_1.schema);
|
|
56
56
|
const getConfig = (path) => {
|
package/dist/config/schema.d.ts
CHANGED
package/dist/config/schema.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/registry",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Sends trunks registrations and maintains their bindings",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@opentelemetry/sdk-trace-base": "^1.0.4",
|
|
36
36
|
"@opentelemetry/sdk-trace-node": "^1.0.4",
|
|
37
37
|
"@opentelemetry/semantic-conventions": "^1.0.4",
|
|
38
|
-
"@routr/common": "^2.
|
|
39
|
-
"@routr/processor": "^2.
|
|
38
|
+
"@routr/common": "^2.3.0",
|
|
39
|
+
"@routr/processor": "^2.3.0",
|
|
40
40
|
"ajv": "^6.12.6",
|
|
41
41
|
"express": "^4.18.2",
|
|
42
42
|
"fp-ts": "^2.11.8",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"@types/express": "^4.17.17",
|
|
56
56
|
"@types/uniqid": "^5.3.2"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "a07009852c37cf04303a5adef42bdac75a747a32"
|
|
59
59
|
}
|