@event-driven-io/emmett 0.43.0-beta.18 → 0.43.0-beta.19
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 +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2507,7 +2507,14 @@ const workflowProcessor = (options) => {
|
|
|
2507
2507
|
workflowName: workflow.name,
|
|
2508
2508
|
workflowId
|
|
2509
2509
|
});
|
|
2510
|
-
|
|
2510
|
+
const inputTaggedMessages = messagesToAppend.map((msg) => ({
|
|
2511
|
+
...msg,
|
|
2512
|
+
metadata: {
|
|
2513
|
+
...msg.metadata,
|
|
2514
|
+
input: true
|
|
2515
|
+
}
|
|
2516
|
+
}));
|
|
2517
|
+
await context.connection.messageStore.appendToStream(streamName, inputTaggedMessages);
|
|
2511
2518
|
return;
|
|
2512
2519
|
}
|
|
2513
2520
|
}
|