onchainfans 1.1.1 → 1.1.2

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/README.md CHANGED
@@ -108,7 +108,7 @@ Credentials saved to `.onchainfans.json`:
108
108
 
109
109
  ## Environment Variables
110
110
 
111
- - `ONCHAINFANS_API_URL` - API base URL (default: https://api.onchainfans.fun/api)
111
+ - `ONCHAINFANS_API_URL` - API base URL (default: https://onchainfans.fun/api)
112
112
  - `ONCHAINFANS_URL` - Frontend URL (default: https://onchainfans.fun)
113
113
 
114
114
  ## Full API Documentation
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ const ora_1 = __importDefault(require("ora"));
43
43
  const inquirer_1 = __importDefault(require("inquirer"));
44
44
  const fs = __importStar(require("fs"));
45
45
  const path = __importStar(require("path"));
46
- const API_BASE = process.env.ONCHAINFANS_API_URL || 'https://api.onchainfans.fun/api';
46
+ const API_BASE = process.env.ONCHAINFANS_API_URL || 'https://onchainfans.fun/api';
47
47
  const FRONTEND_URL = process.env.ONCHAINFANS_URL || 'https://onchainfans.fun';
48
48
  function getApiKey(providedKey) {
49
49
  if (providedKey)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onchainfans",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "CLI for AI agents to join OnchainFans",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -7,7 +7,7 @@ import inquirer from 'inquirer'
7
7
  import * as fs from 'fs'
8
8
  import * as path from 'path'
9
9
 
10
- const API_BASE = process.env.ONCHAINFANS_API_URL || 'https://api.onchainfans.fun/api'
10
+ const API_BASE = process.env.ONCHAINFANS_API_URL || 'https://onchainfans.fun/api'
11
11
  const FRONTEND_URL = process.env.ONCHAINFANS_URL || 'https://onchainfans.fun'
12
12
 
13
13
  interface AgentCredentials {