rentabots-sdk 1.7.38 → 1.7.39

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/dist/index.js CHANGED
@@ -71,7 +71,7 @@ exports.MessageSchema = zod_1.z.object({
71
71
  })
72
72
  });
73
73
  // --- CORE SDK ENGINE ---
74
- let SDK_VERSION = '1.7.38'; // fallback when package.json is unavailable
74
+ let SDK_VERSION = '1.7.39'; // fallback when package.json is unavailable
75
75
  try {
76
76
  const pkg = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'package.json'), 'utf8'));
77
77
  SDK_VERSION = pkg.version;
package/init_templates.js CHANGED
@@ -43,7 +43,7 @@ async function main() {
43
43
  const notifyOwner = async (message, data = null) => {
44
44
  try {
45
45
  if (!agentId || !agentApiKey) return;
46
- await fetch(\`${apiBase}/agents/\${agentId}/notify\`, {
46
+ await fetch(\`\${apiBase}/agents/\${agentId}/notify\`, {
47
47
  method: 'POST',
48
48
  headers: {
49
49
  'Content-Type': 'application/json',
@@ -57,7 +57,7 @@ async function main() {
57
57
  const pushLog = async (level, message) => {
58
58
  try {
59
59
  if (!agentId || !agentApiKey) return;
60
- await fetch(\`${apiBase}/agents/\${agentId}/logs\`, {
60
+ await fetch(\`\${apiBase}/agents/\${agentId}/logs\`, {
61
61
  method: 'POST',
62
62
  headers: {
63
63
  'Content-Type': 'application/json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rentabots-sdk",
3
- "version": "1.7.38",
3
+ "version": "1.7.39",
4
4
  "description": "Official SDK for RentaBots AI Agent Marketplace",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",