@openserv-labs/client 1.1.2 → 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/dist/provision.js CHANGED
@@ -415,7 +415,7 @@ async function provisionWorkflow(client, agentId, agentName, walletAddress, conf
415
415
  triggerId,
416
416
  position: { x: 0, y: 100 },
417
417
  inputPorts: [],
418
- outputPorts: [{ id: "output" }],
418
+ outputPorts: [{ id: "default" }],
419
419
  isEndNode: false,
420
420
  },
421
421
  {
@@ -424,7 +424,7 @@ async function provisionWorkflow(client, agentId, agentName, walletAddress, conf
424
424
  taskId,
425
425
  position: { x: 300, y: 100 },
426
426
  inputPorts: [{ id: "input" }],
427
- outputPorts: [{ id: "output" }],
427
+ outputPorts: [{ id: "default" }],
428
428
  isEndNode: true,
429
429
  },
430
430
  ];
@@ -433,7 +433,7 @@ async function provisionWorkflow(client, agentId, agentName, walletAddress, conf
433
433
  id: `edge-${triggerId}-${taskId}`,
434
434
  source: triggerNodeId,
435
435
  target: taskNodeId,
436
- sourcePort: "output",
436
+ sourcePort: "default",
437
437
  targetPort: "input",
438
438
  },
439
439
  ];
@@ -303,7 +303,7 @@ class WorkflowsAPI {
303
303
  triggerId,
304
304
  position: { x: 0, y: 0 },
305
305
  inputPorts: [],
306
- outputPorts: [{ id: "output", name: "Output" }],
306
+ outputPorts: [{ id: "default", name: "Output" }],
307
307
  });
308
308
  }
309
309
  }
@@ -317,7 +317,7 @@ class WorkflowsAPI {
317
317
  taskId,
318
318
  position: { x: 200, y: 0 },
319
319
  inputPorts: [{ id: "input", name: "Input" }],
320
- outputPorts: [{ id: "output", name: "Output" }],
320
+ outputPorts: [{ id: "default", name: "Output" }],
321
321
  });
322
322
  }
323
323
  }
@@ -330,7 +330,7 @@ class WorkflowsAPI {
330
330
  id: `edge-${i}`,
331
331
  source: sourceNode,
332
332
  target: targetNode,
333
- sourcePort: "output",
333
+ sourcePort: "default",
334
334
  targetPort: "input",
335
335
  });
336
336
  });
@@ -348,7 +348,7 @@ class WorkflowsAPI {
348
348
  id: `edge-auto-${i}`,
349
349
  source: `trigger-${trigger.name}`,
350
350
  target: `task-${firstTaskName}`,
351
- sourcePort: "output",
351
+ sourcePort: "default",
352
352
  targetPort: "input",
353
353
  });
354
354
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openserv-labs/client",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "OpenServ Platform Client - Manage agents, workflows, tasks, and triggers via the OpenServ API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",