@event-driven-io/emmett-postgresql 0.43.0-beta.10 → 0.43.0-beta.12
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.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1035,10 +1035,8 @@ var workflowProcessor = (options) => {
|
|
|
1035
1035
|
return;
|
|
1036
1036
|
}
|
|
1037
1037
|
if (_optionalChain([options, 'access', _52 => _52.outputHandler, 'optionalAccess', _53 => _53.canHandle, 'access', _54 => _54.includes, 'call', _55 => _55(messageType)]) === true) {
|
|
1038
|
-
const
|
|
1039
|
-
|
|
1040
|
-
context
|
|
1041
|
-
);
|
|
1038
|
+
const recordedMessage = message2;
|
|
1039
|
+
const handledOutputMessages = options.outputHandler.eachBatch ? await options.outputHandler.eachBatch([recordedMessage], context) : await options.outputHandler.eachMessage(recordedMessage, context);
|
|
1042
1040
|
if (handledOutputMessages instanceof EmmettError) {
|
|
1043
1041
|
return {
|
|
1044
1042
|
type: "STOP",
|