@surph_ai/sdk 0.0.19 → 0.0.21

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/index.js CHANGED
@@ -303,7 +303,7 @@ program.command('publish')
303
303
 
304
304
  // tool not registered yet, create:
305
305
  if (payload.length === 0) {
306
- const resp = await fetch(url, {
306
+ const resp = await fetch(`${SURPH_REST_URL}/rest/tool`, {
307
307
  method: 'POST',
308
308
  body: JSON.stringify({
309
309
  ...toolJson,
@@ -321,7 +321,7 @@ program.command('publish')
321
321
  })
322
322
 
323
323
  const { payload } = await resp.json()
324
- console.log('\nSurph tool registered: ' + JSON.stringify(payload))
324
+ console.log('\nSurph tool registered. ')
325
325
  return
326
326
  }
327
327
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surph_ai/sdk",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -15,7 +15,7 @@
15
15
  "@vinely-ai/sdk": "^0.0.6"
16
16
  },
17
17
  "devDependencies": {
18
- "@surph_ai/sdk": "^0.0.17",
18
+ "@surph_ai/sdk": "latest",
19
19
  "@types/node": "^20.11.0",
20
20
  "concurrently": "^10.0.5",
21
21
  "nodemon": "^2.0.2",