nous-token 0.3.4 → 0.3.5

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/cli/setup.ts CHANGED
@@ -21,7 +21,7 @@ function loadWallet(): string {
21
21
  }
22
22
 
23
23
  function saveWallet(wallet: string): void {
24
- writeFileSync(NOUS_CONFIG, wallet);
24
+ writeFileSync(NOUS_CONFIG, wallet, { mode: 0o600 });
25
25
  }
26
26
 
27
27
  function gatewayUrl(provider: string, apiPath: string, wallet: string): string {
@@ -2,7 +2,7 @@
2
2
  "id": "nous-token",
3
3
  "name": "nous-token",
4
4
  "description": "Track your AI usage on the global leaderboard. Routes LLM calls through the nous-token gateway to record real token consumption. Supports 11 providers out of the box + unlimited custom providers. No prompt or response content is stored.",
5
- "version": "0.2.0",
5
+ "version": "0.3.4",
6
6
  "kind": "provider",
7
7
  "providers": [
8
8
  "nous-openai", "nous-anthropic", "nous-deepseek", "nous-google",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nous-token",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Open-source AI usage tracker. One command to track all your AI spending.",
5
5
  "type": "module",
6
6
  "main": "index.ts",