@mastra/inngest 0.0.0-fix-cloud-peer-deps-20250923194656 → 0.0.0-gl-test-20250917080133
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 +3 -25
- package/dist/index.cjs +39 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +40 -9
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,6 @@
|
|
|
1
1
|
# @mastra/inngest
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Fixes for `getStepResult` in workflow steps ([#8065](https://github.com/mastra-ai/mastra/pull/8065))
|
|
8
|
-
|
|
9
|
-
- Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
|
|
10
|
-
|
|
11
|
-
- Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`a61f23f`](https://github.com/mastra-ai/mastra/commit/a61f23fbbca4b88b763d94f1d784c47895ed72d7), [`4b339b8`](https://github.com/mastra-ai/mastra/commit/4b339b8141c20d6a6d80583c7e8c5c05d8c19492), [`d1dc606`](https://github.com/mastra-ai/mastra/commit/d1dc6067b0557a71190b68d56ee15b48c26d2411), [`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55), [`d3bd4d4`](https://github.com/mastra-ai/mastra/commit/d3bd4d482a685bbb67bfa89be91c90dca3fa71ad), [`c591dfc`](https://github.com/mastra-ai/mastra/commit/c591dfc1e600fae1dedffe239357d250e146378f), [`1920c5c`](https://github.com/mastra-ai/mastra/commit/1920c5c6d666f687785c73021196aa551e579e0d), [`b6a3b65`](https://github.com/mastra-ai/mastra/commit/b6a3b65d830fa0ca7754ad6481661d1f2c878f21), [`af3abb6`](https://github.com/mastra-ai/mastra/commit/af3abb6f7c7585d856e22d27f4e7d2ece2186b9a)]:
|
|
12
|
-
- @mastra/core@0.0.0-fix-cloud-peer-deps-20250923194656
|
|
13
|
-
|
|
14
|
-
## 0.14.1-alpha.0
|
|
15
|
-
|
|
16
|
-
### Patch Changes
|
|
17
|
-
|
|
18
|
-
- Fixes for `getStepResult` in workflow steps ([#8065](https://github.com/mastra-ai/mastra/pull/8065))
|
|
19
|
-
|
|
20
|
-
- Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
|
|
21
|
-
|
|
22
|
-
- Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55)]:
|
|
23
|
-
- @mastra/core@0.18.0-alpha.2
|
|
24
|
-
|
|
25
|
-
## 0.14.0
|
|
3
|
+
## 0.0.0-gl-test-20250917080133
|
|
26
4
|
|
|
27
5
|
### Minor Changes
|
|
28
6
|
|
|
@@ -45,8 +23,8 @@
|
|
|
45
23
|
|
|
46
24
|
- feat(inngest): add support for user-supplied functions in `serve` / `inngestServe` ([#7900](https://github.com/mastra-ai/mastra/pull/7900))
|
|
47
25
|
|
|
48
|
-
- Updated dependencies [[`
|
|
49
|
-
- @mastra/core@0.
|
|
26
|
+
- Updated dependencies [[`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
|
|
27
|
+
- @mastra/core@0.0.0-gl-test-20250917080133
|
|
50
28
|
|
|
51
29
|
## 0.14.0-alpha.2
|
|
52
30
|
|
package/dist/index.cjs
CHANGED
|
@@ -498,14 +498,12 @@ function createStep(params) {
|
|
|
498
498
|
id: params.id,
|
|
499
499
|
inputSchema: params.inputSchema,
|
|
500
500
|
outputSchema: params.outputSchema,
|
|
501
|
-
execute: async ({ inputData, mastra, runtimeContext, tracingContext
|
|
501
|
+
execute: async ({ inputData, mastra, runtimeContext, tracingContext }) => {
|
|
502
502
|
return params.execute({
|
|
503
503
|
context: inputData,
|
|
504
504
|
mastra: aiTracing.wrapMastra(mastra, tracingContext),
|
|
505
505
|
runtimeContext,
|
|
506
|
-
tracingContext
|
|
507
|
-
suspend,
|
|
508
|
-
resumeData
|
|
506
|
+
tracingContext
|
|
509
507
|
});
|
|
510
508
|
}
|
|
511
509
|
};
|
|
@@ -666,7 +664,16 @@ var InngestExecutionEngine = class extends workflows.DefaultExecutionEngine {
|
|
|
666
664
|
currentSpan: sleepSpan
|
|
667
665
|
},
|
|
668
666
|
getInitData: () => stepResults?.input,
|
|
669
|
-
getStepResult:
|
|
667
|
+
getStepResult: (step) => {
|
|
668
|
+
if (!step?.id) {
|
|
669
|
+
return null;
|
|
670
|
+
}
|
|
671
|
+
const result = stepResults[step.id];
|
|
672
|
+
if (result?.status === "success") {
|
|
673
|
+
return result.output;
|
|
674
|
+
}
|
|
675
|
+
return null;
|
|
676
|
+
},
|
|
670
677
|
// TODO: this function shouldn't have suspend probably?
|
|
671
678
|
suspend: async (_suspendPayload) => {
|
|
672
679
|
},
|
|
@@ -743,7 +750,16 @@ var InngestExecutionEngine = class extends workflows.DefaultExecutionEngine {
|
|
|
743
750
|
currentSpan: sleepUntilSpan
|
|
744
751
|
},
|
|
745
752
|
getInitData: () => stepResults?.input,
|
|
746
|
-
getStepResult:
|
|
753
|
+
getStepResult: (step) => {
|
|
754
|
+
if (!step?.id) {
|
|
755
|
+
return null;
|
|
756
|
+
}
|
|
757
|
+
const result = stepResults[step.id];
|
|
758
|
+
if (result?.status === "success") {
|
|
759
|
+
return result.output;
|
|
760
|
+
}
|
|
761
|
+
return null;
|
|
762
|
+
},
|
|
747
763
|
// TODO: this function shouldn't have suspend probably?
|
|
748
764
|
suspend: async (_suspendPayload) => {
|
|
749
765
|
},
|
|
@@ -1046,7 +1062,13 @@ var InngestExecutionEngine = class extends workflows.DefaultExecutionEngine {
|
|
|
1046
1062
|
currentSpan: stepAISpan
|
|
1047
1063
|
},
|
|
1048
1064
|
getInitData: () => stepResults?.input,
|
|
1049
|
-
getStepResult:
|
|
1065
|
+
getStepResult: (step2) => {
|
|
1066
|
+
const result2 = stepResults[step2.id];
|
|
1067
|
+
if (result2?.status === "success") {
|
|
1068
|
+
return result2.output;
|
|
1069
|
+
}
|
|
1070
|
+
return null;
|
|
1071
|
+
},
|
|
1050
1072
|
suspend: async (suspendPayload) => {
|
|
1051
1073
|
executionContext.suspendedPaths[step.id] = executionContext.executionPath;
|
|
1052
1074
|
suspended = { payload: suspendPayload };
|
|
@@ -1258,7 +1280,16 @@ var InngestExecutionEngine = class extends workflows.DefaultExecutionEngine {
|
|
|
1258
1280
|
currentSpan: evalSpan
|
|
1259
1281
|
},
|
|
1260
1282
|
getInitData: () => stepResults?.input,
|
|
1261
|
-
getStepResult:
|
|
1283
|
+
getStepResult: (step) => {
|
|
1284
|
+
if (!step?.id) {
|
|
1285
|
+
return null;
|
|
1286
|
+
}
|
|
1287
|
+
const result2 = stepResults[step.id];
|
|
1288
|
+
if (result2?.status === "success") {
|
|
1289
|
+
return result2.output;
|
|
1290
|
+
}
|
|
1291
|
+
return null;
|
|
1292
|
+
},
|
|
1262
1293
|
// TODO: this function shouldn't have suspend probably?
|
|
1263
1294
|
suspend: async (_suspendPayload) => {
|
|
1264
1295
|
},
|