keybase-proofs 2.3.33 → 2.3.35
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/CHANGELOG.md +9 -0
- package/lib/alloc.js +6 -8
- package/lib/base.js +64 -62
- package/lib/main.js +1 -3
- package/lib/parse3.js +21 -6
- package/lib/schema3.js +51 -31
- package/lib/scrapers/twitter.js +13 -13
- package/lib/subkey.js +16 -14
- package/lib/util.js +15 -1
- package/package.json +7 -2
- package/src/alloc.iced +2 -4
- package/src/base.iced +6 -3
- package/src/constants.iced +4 -0
- package/src/main.iced +0 -2
- package/src/parse3.iced +9 -3
- package/src/schema3.iced +20 -7
- package/src/scrapers/twitter.iced +3 -3
- package/src/subkey.iced +6 -4
- package/src/util.iced +11 -0
- package/.travis.yml +0 -10
- package/CONTRIBUTORS.md +0 -5
- package/Makefile +0 -70
- package/lib/wot.js +0 -147
- package/src/wot.iced +0 -96
- package/teams_sample.cson +0 -211
- package/test/files/auth.iced +0 -132
- package/test/files/b64.iced +0 -58
- package/test/files/errsan.iced +0 -13
- package/test/files/expand.iced +0 -128
- package/test/files/generic_social.iced +0 -67
- package/test/files/per_user_key.iced +0 -74
- package/test/files/sibkey.iced +0 -60
- package/test/files/team.iced +0 -118
- package/test/files/team_hidden.iced +0 -321
- package/test/files/util.iced +0 -55
- package/test/files/v2.iced +0 -410
- package/test/files/wallet.iced +0 -110
- package/test/files/wot.iced +0 -99
- package/test/make_esc.iced +0 -48
- package/test/run.iced +0 -1
- package/test_scraper.iced +0 -49
package/test_scraper.iced
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
TwitterScraper = require './src/twitter_scraper.iced'
|
|
2
|
-
|
|
3
|
-
# -------------------------------------------------------------------------------------------------
|
|
4
|
-
|
|
5
|
-
scraper = new TwitterScraper()
|
|
6
|
-
|
|
7
|
-
# -------------------------------------------------------------------------------------------------
|
|
8
|
-
|
|
9
|
-
console.log "Testing direct lookup."
|
|
10
|
-
await scraper.check_status "malgorithms", "400699000954699777", "bitcoin", defer err
|
|
11
|
-
if err?
|
|
12
|
-
console.log "Error: #{err}"
|
|
13
|
-
|
|
14
|
-
# -------------------------------------------------------------------------------------------------
|
|
15
|
-
|
|
16
|
-
console.log "Testing hunt method."
|
|
17
|
-
await scraper.hunt "malgorithms", "Beer", defer err, tweet_id
|
|
18
|
-
if err?
|
|
19
|
-
console.log "Error: #{err}"
|
|
20
|
-
else
|
|
21
|
-
console.log " -- Testing found post."
|
|
22
|
-
await scraper.check_status "malgorithms", tweet_id, "Beer", defer err
|
|
23
|
-
if err?
|
|
24
|
-
console.log "Error: #{err}"
|
|
25
|
-
|
|
26
|
-
# -------------------------------------------------------------------------------------------------
|
|
27
|
-
|
|
28
|
-
console.log "Testing bad case on username."
|
|
29
|
-
await scraper.hunt "MALGORITHMS", "Beer", defer err, tweet_id
|
|
30
|
-
if err?
|
|
31
|
-
console.log "Error: #{err}"
|
|
32
|
-
else
|
|
33
|
-
console.log " -- Testing found post."
|
|
34
|
-
await scraper.check_status "MALGORITHMS", tweet_id, "Beer", defer err
|
|
35
|
-
if err?
|
|
36
|
-
console.log "Error: #{err}"
|
|
37
|
-
|
|
38
|
-
console.log "Testing protected user."
|
|
39
|
-
await scraper.hunt "foo", "Beer", defer err, tweet_id
|
|
40
|
-
console.log "Response: #{err}, #{tweet_id}"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
# -------------------------------------------------------------------------------------------------
|
|
44
|
-
|
|
45
|
-
console.log "Testing hunting for shit which doesn't exist."
|
|
46
|
-
await scraper.hunt "malgorithms", "BOOYEAH WHOO HAH.", defer err, tweet_id
|
|
47
|
-
console.log "Response: #{err}, #{tweet_id}"
|
|
48
|
-
|
|
49
|
-
|