@hey-research-lab/check 0.1.0 → 0.1.1
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 +8 -1
- package/README.md +5 -5
- package/dist/cli.js +6 -8
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,14 @@ All notable changes to this project are documented here. The format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
|
|
5
5
|
[Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## 0.1.1 — unreleased (not yet on npm)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- The token check reads in HEY's own words (ruling R2, 2026-10-28): "Project names this contract",
|
|
12
|
+
"Not named by the project" or "Project names another contract", on the terminal answer and the card,
|
|
13
|
+
without the stored value in brackets. `--json` is unchanged.
|
|
14
|
+
- Development: vitest 4.1.12.
|
|
8
15
|
|
|
9
16
|
### Fixed
|
|
10
17
|
|
package/README.md
CHANGED
|
@@ -34,14 +34,14 @@ is no network, chain or RPC option. A CAIP-10 address on another chain (`eip155:
|
|
|
34
34
|
No install needed:
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
npx
|
|
37
|
+
npx @hey-research-lab/check '$CHIT'
|
|
38
|
+
npm install --global @hey-research-lab/check # or install the `hey-check` command
|
|
38
39
|
```
|
|
39
40
|
|
|
40
|
-
|
|
41
|
+
Or straight from this repository:
|
|
41
42
|
|
|
42
43
|
```sh
|
|
43
|
-
npx
|
|
44
|
-
npm install --global @hey-research-lab/check # installs the `hey-check` command
|
|
44
|
+
npx github:hey-research-lab/hey-check '$CHIT'
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
Node.js 22 or later (CI runs the tests on 22 and 24). No API key, no account.
|
|
@@ -69,7 +69,7 @@ Chit is shipping consistently: 4 meaningful events in 30 days; latest ship 3 day
|
|
|
69
69
|
Last ship 3 days ago (2026-10-14) — Code changes, week starting 2026-10-12 (to 2026-10-17)
|
|
70
70
|
https://github.com/<owner>/chit-app
|
|
71
71
|
Last 30 days 4 meaningful events
|
|
72
|
-
Contract 0xd523a627030509021cc39b6d7c8543417d3e50d8 ·
|
|
72
|
+
Contract 0xd523a627030509021cc39b6d7c8543417d3e50d8 · Project names this contract
|
|
73
73
|
Unknowns NOT_MEASURED — HEY read its website and found no link to docs.
|
|
74
74
|
NOT_MEASURED — Its website links no API description.
|
|
75
75
|
Page https://heyresearch.xyz/project/chit
|
package/dist/cli.js
CHANGED
|
@@ -406,7 +406,7 @@ var ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
|
|
|
406
406
|
var DEAD_ADDRESS = "0x000000000000000000000000000000000000dead";
|
|
407
407
|
|
|
408
408
|
// src/version.ts
|
|
409
|
-
var CHECK_VERSION = true ? "0.1.
|
|
409
|
+
var CHECK_VERSION = true ? "0.1.1" : "0.0.0-dev";
|
|
410
410
|
|
|
411
411
|
// src/http.ts
|
|
412
412
|
var DEFAULT_BASE_URL = "https://heyresearch.xyz";
|
|
@@ -988,13 +988,13 @@ function eventsLine(n) {
|
|
|
988
988
|
function verificationWords(v) {
|
|
989
989
|
switch (v) {
|
|
990
990
|
case "VERIFIED":
|
|
991
|
-
return "
|
|
991
|
+
return "Project names this contract";
|
|
992
992
|
case "UNVERIFIED":
|
|
993
|
-
return "
|
|
993
|
+
return "Not named by the project";
|
|
994
994
|
case "MISMATCH":
|
|
995
|
-
return "
|
|
995
|
+
return "Project names another contract";
|
|
996
996
|
default:
|
|
997
|
-
return "token
|
|
997
|
+
return "token check unknown";
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
1000
|
function sharesPhrase(shares) {
|
|
@@ -1258,9 +1258,7 @@ function answered(r, ctx) {
|
|
|
1258
1258
|
);
|
|
1259
1259
|
if (r.contract) {
|
|
1260
1260
|
const v = r.contract.verification;
|
|
1261
|
-
lines.push(
|
|
1262
|
-
row(s, "Contract", `${r.contract.address} \xB7 ${verificationWords(v)}${v ? ` (${v})` : ""}`)
|
|
1263
|
-
);
|
|
1261
|
+
lines.push(row(s, "Contract", `${r.contract.address} \xB7 ${verificationWords(v)}`));
|
|
1264
1262
|
} else {
|
|
1265
1263
|
lines.push(row(s, "Contract", "no token on HEY\u2019s record for this project"));
|
|
1266
1264
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hey-research-lab/check",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A dev check for any Robinhood Chain token or project: is anyone building it and what did they ship, from HEY Research Lab's public record, printed in the terminal and drawn as a shareable card.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "HEY Research Lab",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"tsup": "^8.5.1",
|
|
65
65
|
"typescript": "^5.7.2",
|
|
66
66
|
"typescript-eslint": "^8.18.0",
|
|
67
|
-
"vitest": "^4.1.
|
|
67
|
+
"vitest": "^4.1.12"
|
|
68
68
|
},
|
|
69
69
|
"pnpm": {
|
|
70
70
|
"overrides": {
|