keybase-proofs 2.3.24 → 2.3.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.
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
return [err, rc];
|
|
75
75
|
}
|
|
76
76
|
found = obj.find(function(x) {
|
|
77
|
-
return sncmp(x.kb_username, kb_username) && sncmp(x.sig_hash, sig_id);
|
|
77
|
+
return x && sncmp(x.kb_username, kb_username) && sncmp(x.sig_hash, sig_id);
|
|
78
78
|
});
|
|
79
79
|
if (found != null) {
|
|
80
80
|
rc = v_codes.OK;
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
return (function(__iced_k) {
|
|
101
101
|
__iced_deferrals = new iced.Deferrals(__iced_k, {
|
|
102
102
|
parent: ___iced_passed_deferral,
|
|
103
|
-
filename: "/
|
|
103
|
+
filename: "/home/sy/go/src/github.com/keybase/proofs/src/scrapers/generic_social.iced",
|
|
104
104
|
funcname: "GenericSocialScraper.check_status"
|
|
105
105
|
});
|
|
106
106
|
_this._get_url_body({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keybase-proofs",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.25",
|
|
4
4
|
"description": "Publicly-verifiable proofs of identity",
|
|
5
5
|
"main": "lib/main.js",
|
|
6
6
|
"scripts": {
|
|
@@ -36,4 +36,4 @@
|
|
|
36
36
|
"iced-coffee-script": "^108.0.11",
|
|
37
37
|
"iced-test": "0.0.22"
|
|
38
38
|
}
|
|
39
|
-
}
|
|
39
|
+
}
|
|
@@ -52,7 +52,7 @@ exports.GenericSocialScraper = class GenericSocialScraper extends BaseScraper
|
|
|
52
52
|
unless obj? and Array.isArray obj
|
|
53
53
|
err = new Error "did not find proof list on #{check_path.join('.')} in json data"
|
|
54
54
|
return [err, rc]
|
|
55
|
-
found = obj.find (x) -> sncmp(x.kb_username, kb_username) and sncmp(x.sig_hash, sig_id)
|
|
55
|
+
found = obj.find (x) -> x and sncmp(x.kb_username, kb_username) and sncmp(x.sig_hash, sig_id)
|
|
56
56
|
if found?
|
|
57
57
|
rc = v_codes.OK
|
|
58
58
|
else
|