@cadenza.io/core 3.0.3 → 3.0.5
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 +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -943,7 +943,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
943
943
|
__routineExecId: this.routineExecId
|
|
944
944
|
};
|
|
945
945
|
}
|
|
946
|
-
this.
|
|
946
|
+
this.emit(signal, data);
|
|
947
947
|
}
|
|
948
948
|
emitMetricsWithMetadata(signal, ctx) {
|
|
949
949
|
const data = { ...ctx };
|
|
@@ -1013,7 +1013,7 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
1013
1013
|
this.task.mapOnFailSignals(
|
|
1014
1014
|
(signal) => this.emitWithMetadata(signal, this.context.getFullContext())
|
|
1015
1015
|
);
|
|
1016
|
-
} else {
|
|
1016
|
+
} else if (this.result !== void 0 && this.result !== false) {
|
|
1017
1017
|
this.task.mapSignals(
|
|
1018
1018
|
(signal) => this.emitWithMetadata(signal, this.context.getFullContext())
|
|
1019
1019
|
);
|
|
@@ -1536,9 +1536,9 @@ var Task = class extends SignalEmitter {
|
|
|
1536
1536
|
isEphemeral: this.isEphemeral,
|
|
1537
1537
|
isMeta: this.isMeta,
|
|
1538
1538
|
validateInputContext: this.validateInputContext,
|
|
1539
|
-
validateOutputContext: this.validateOutputContext
|
|
1540
|
-
|
|
1541
|
-
|
|
1539
|
+
validateOutputContext: this.validateOutputContext
|
|
1540
|
+
// inputContextSchemaId: this.inputContextSchema,
|
|
1541
|
+
// outputContextSchemaId: this.outputContextSchema,
|
|
1542
1542
|
},
|
|
1543
1543
|
__taskInstance: this
|
|
1544
1544
|
});
|