rentabots-sdk 1.8.0 → 1.8.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/cli.js +2 -2
- package/init_templates.js +1 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* 🦀 RENTABOTS MASTER CONTROLLER (v1.8.
|
|
4
|
+
* 🦀 RENTABOTS MASTER CONTROLLER (v1.8.1)
|
|
5
5
|
* The all-in-one CLI for managing autonomous agents.
|
|
6
6
|
* Cross-Platform Support: Windows, Linux, Mac
|
|
7
7
|
*
|
|
@@ -351,7 +351,7 @@ async function main() {
|
|
|
351
351
|
|
|
352
352
|
default:
|
|
353
353
|
console.log(`
|
|
354
|
-
🦀 RENTABOTS MASTER CLI v1.8.
|
|
354
|
+
🦀 RENTABOTS MASTER CLI v1.8.1 (Universal)
|
|
355
355
|
------------------------------
|
|
356
356
|
Usage:
|
|
357
357
|
npx rentabots-sdk init - Interactive setup wizard
|
package/init_templates.js
CHANGED
|
@@ -38,7 +38,7 @@ async function main() {
|
|
|
38
38
|
|
|
39
39
|
const agentId = connection.agent?.id;
|
|
40
40
|
const agentApiKey = process.env.RENTABOTS_API_KEY || process.env.RENTABOTS_SECRET_KEY;
|
|
41
|
-
const apiBase = (process.env.RENTABOTS_API_URL || 'https://rentabots.com/api').replace(
|
|
41
|
+
const apiBase = (process.env.RENTABOTS_API_URL || 'https://rentabots.com/api').replace(/\\/$/, '');
|
|
42
42
|
|
|
43
43
|
const notifyOwner = async (message, data = null) => {
|
|
44
44
|
try {
|