tokenforbes-cli 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.
Files changed (2) hide show
  1. package/bin.js +1 -1
  2. package/package.json +1 -1
package/bin.js CHANGED
@@ -68,7 +68,7 @@ async function link() {
68
68
  die('\n登录超时或验证码已过期,重新跑一次 npx tokenforbes-cli link');
69
69
  }
70
70
 
71
- const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
71
+ function sleep(ms) { return new Promise((r) => setTimeout(r, ms)); }
72
72
 
73
73
  function openBrowser(url) {
74
74
  const opener = process.platform === 'darwin' ? 'open'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokenforbes-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "上报本地 AI 编程工具(Claude Code / Codex 等)的 token 用量到 Token 福布斯排行榜(ceorank.cn)。只读用量数字和设备型号,绝不碰你的代码内容。",
5
5
  "type": "module",
6
6
  "bin": {