@routr/common 2.1.7 → 2.1.11
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.
|
@@ -50,7 +50,7 @@ const verifier = (verifierAddr) => {
|
|
|
50
50
|
const client = new grpc_client_1.VERIFIER_PROTO.Verifier(verifierAddr, grpc.credentials.createInsecure());
|
|
51
51
|
return new Promise((resolve, reject) => {
|
|
52
52
|
client.sendMessage({ token }, (err, response) => {
|
|
53
|
-
if ((err === null || err === void 0 ? void 0 : err.code) ===
|
|
53
|
+
if ((err === null || err === void 0 ? void 0 : err.code) === grpc.status.UNAVAILABLE) {
|
|
54
54
|
return reject(new errors_1.ServiceUnavailableError(verifierAddr));
|
|
55
55
|
}
|
|
56
56
|
else if (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/common",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.11",
|
|
4
4
|
"description": "Common package",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/js-yaml": "^4.0.5"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "7c3161336c29feb497a256018a08b65c1dedd0fd"
|
|
59
59
|
}
|