@mastra/inngest 0.16.1-alpha.1 → 0.16.2
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/CHANGELOG.md +27 -0
- package/dist/index.cjs +16 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @mastra/inngest
|
|
2
2
|
|
|
3
|
+
## 0.16.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Emit workflow-step-result and workflow-step-finish when step fails in inngest workflow ([#10559](https://github.com/mastra-ai/mastra/pull/10559))
|
|
8
|
+
|
|
9
|
+
## 0.16.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- dependencies updates: ([#8647](https://github.com/mastra-ai/mastra/pull/8647))
|
|
14
|
+
- Updated dependency [`@inngest/realtime@^0.4.4` ↗︎](https://www.npmjs.com/package/@inngest/realtime/v/0.4.4) (from `^0.3.1`, in `dependencies`)
|
|
15
|
+
|
|
16
|
+
- dependencies updates: ([#8651](https://github.com/mastra-ai/mastra/pull/8651))
|
|
17
|
+
- Updated dependency [`inngest@^3.44.2` ↗︎](https://www.npmjs.com/package/inngest/v/3.44.2) (from `^3.40.3`, in `dependencies`)
|
|
18
|
+
|
|
19
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
|
|
20
|
+
|
|
21
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
|
|
22
|
+
|
|
23
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
|
|
24
|
+
|
|
25
|
+
- Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
|
|
28
|
+
- @mastra/core@0.21.0
|
|
29
|
+
|
|
3
30
|
## 0.16.1-alpha.1
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1209,7 +1209,7 @@ var InngestExecutionEngine = class extends workflows.DefaultExecutionEngine {
|
|
|
1209
1209
|
const stepFailure = {
|
|
1210
1210
|
status: "failed",
|
|
1211
1211
|
payload: inputData,
|
|
1212
|
-
error: e instanceof Error ? e.message : String(e),
|
|
1212
|
+
error: e instanceof Error ? e.stack ?? e.message : String(e),
|
|
1213
1213
|
endedAt: Date.now(),
|
|
1214
1214
|
startedAt,
|
|
1215
1215
|
resumedAt: resume?.steps[0] === step.id ? startedAt : void 0,
|
|
@@ -1287,11 +1287,25 @@ var InngestExecutionEngine = class extends workflows.DefaultExecutionEngine {
|
|
|
1287
1287
|
} catch (e) {
|
|
1288
1288
|
const stepFailure = e instanceof Error ? e?.cause : {
|
|
1289
1289
|
status: "failed",
|
|
1290
|
-
error: e instanceof Error ? e.message : String(e),
|
|
1290
|
+
error: e instanceof Error ? e.stack ?? e.message : String(e),
|
|
1291
1291
|
payload: inputData,
|
|
1292
1292
|
startedAt,
|
|
1293
1293
|
endedAt: Date.now()
|
|
1294
1294
|
};
|
|
1295
|
+
await emitter.emit("watch-v2", {
|
|
1296
|
+
type: "workflow-step-result",
|
|
1297
|
+
payload: {
|
|
1298
|
+
id: step.id,
|
|
1299
|
+
...stepFailure
|
|
1300
|
+
}
|
|
1301
|
+
});
|
|
1302
|
+
await emitter.emit("watch-v2", {
|
|
1303
|
+
type: "workflow-step-finish",
|
|
1304
|
+
payload: {
|
|
1305
|
+
id: step.id,
|
|
1306
|
+
metadata: {}
|
|
1307
|
+
}
|
|
1308
|
+
});
|
|
1295
1309
|
stepRes = {
|
|
1296
1310
|
result: stepFailure,
|
|
1297
1311
|
executionContext,
|