@cadenza.io/service 2.0.17 → 2.0.18
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 +24 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3724,20 +3724,31 @@ var GraphSyncController = class _GraphSyncController {
|
|
|
3724
3724
|
isMeta: routine.isMeta
|
|
3725
3725
|
}
|
|
3726
3726
|
});
|
|
3727
|
-
|
|
3728
|
-
const
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3727
|
+
try {
|
|
3728
|
+
for (const task of routine.tasks) {
|
|
3729
|
+
if (!task) {
|
|
3730
|
+
console.log("task is null", routine, task);
|
|
3731
|
+
continue;
|
|
3732
|
+
}
|
|
3733
|
+
const tasks = task.getIterator();
|
|
3734
|
+
while (tasks.hasNext()) {
|
|
3735
|
+
const nextTask = tasks.next();
|
|
3736
|
+
yield {
|
|
3737
|
+
data: {
|
|
3738
|
+
taskName: nextTask.name,
|
|
3739
|
+
taskVersion: nextTask.version,
|
|
3740
|
+
routineName: routine.name,
|
|
3741
|
+
routineVersion: routine.version,
|
|
3742
|
+
serviceName: CadenzaService.serviceRegistry.serviceName
|
|
3743
|
+
}
|
|
3744
|
+
};
|
|
3745
|
+
}
|
|
3740
3746
|
}
|
|
3747
|
+
} catch (e) {
|
|
3748
|
+
return {
|
|
3749
|
+
errored: true,
|
|
3750
|
+
__error: e.message
|
|
3751
|
+
};
|
|
3741
3752
|
}
|
|
3742
3753
|
}
|
|
3743
3754
|
}
|