@routr/registry 2.0.8-alpha.25 → 2.0.8-alpha.28
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 +1 -1
- package/package.json +4 -4
package/dist/service.js
CHANGED
|
@@ -87,7 +87,7 @@ function registryService(config) {
|
|
|
87
87
|
// Makes sure we send register before the last register expires
|
|
88
88
|
const retentionTime = ((_e = (_c = (_b = message.contact) === null || _b === void 0 ? void 0 : _b.expires) !== null && _c !== void 0 ? _c : (_d = message.expires) === null || _d === void 0 ? void 0 : _d.expires) !== null && _e !== void 0 ? _e : types_1.DEFAULT_EXPIRES) - registerInterval;
|
|
89
89
|
// TODO: Refactor to use ResponseType instead of string
|
|
90
|
-
const status = message.responseType
|
|
90
|
+
const status = message.responseType == common_1.CommonTypes.ResponseType.OK
|
|
91
91
|
? types_1.RegistrationEntryStatus.REGISTERED
|
|
92
92
|
: types_1.RegistrationEntryStatus.QUARANTINE;
|
|
93
93
|
// Storing trunk in registry with status and retention time
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/registry",
|
|
3
|
-
"version": "2.0.8-alpha.
|
|
3
|
+
"version": "2.0.8-alpha.28",
|
|
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",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@opentelemetry/sdk-trace-base": "^1.0.4",
|
|
35
35
|
"@opentelemetry/sdk-trace-node": "^1.0.4",
|
|
36
36
|
"@opentelemetry/semantic-conventions": "^1.0.4",
|
|
37
|
-
"@routr/common": "^2.0.8-alpha.
|
|
38
|
-
"@routr/processor": "^2.0.8-alpha.
|
|
37
|
+
"@routr/common": "^2.0.8-alpha.28",
|
|
38
|
+
"@routr/processor": "^2.0.8-alpha.28",
|
|
39
39
|
"ajv": "^6.12.6",
|
|
40
40
|
"fp-ts": "^2.11.8",
|
|
41
41
|
"pb-util": "^1.0.3",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/uniqid": "^5.3.2"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "d28aabb2fce0600aaae94aa37709e89ed7112c99"
|
|
56
56
|
}
|