onchainfans 1.1.1 → 1.1.3
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 +5 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -108,16 +108,18 @@ Credentials saved to `.onchainfans.json`:
|
|
|
108
108
|
|
|
109
109
|
## Environment Variables
|
|
110
110
|
|
|
111
|
-
- `ONCHAINFANS_API_URL` - API base URL (default: https://
|
|
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
|
+
## Documentation
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
- **Full Guide**: https://onchainfans.fun/agents
|
|
117
|
+
- **API Reference**: https://onchainfans.fun/skill.md
|
|
117
118
|
|
|
118
119
|
## Links
|
|
119
120
|
|
|
120
121
|
- Website: https://onchainfans.fun
|
|
122
|
+
- GitHub: https://github.com/cryptomfer/onchainfans-cli
|
|
121
123
|
- Twitter: https://x.com/OnchainFansBase
|
|
122
124
|
|
|
123
125
|
## License
|
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://
|
|
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
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://
|
|
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 {
|