@mastra/inngest 0.10.1 → 0.10.2-alpha.1
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +18 -0
- package/dist/index.cjs +2 -0
- package/dist/index.js +2 -0
- package/package.json +4 -4
- package/src/index.ts +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/inngest@0.10.
|
|
2
|
+
> @mastra/inngest@0.10.2-alpha.1 build /home/runner/work/mastra/mastra/workflows/inngest
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.4.0
|
|
8
8
|
[34mTSC[39m Build start
|
|
9
|
-
[32mTSC[39m ⚡️ Build success in
|
|
9
|
+
[32mTSC[39m ⚡️ Build success in 6591ms
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
11
|
[34mCLI[39m Target: es2022
|
|
12
12
|
Analysis will use the bundled TypeScript version 5.8.3
|
|
13
13
|
[36mWriting package typings: /home/runner/work/mastra/mastra/workflows/inngest/dist/_tsup-dts-rollup.d.ts[39m
|
|
14
14
|
Analysis will use the bundled TypeScript version 5.8.3
|
|
15
15
|
[36mWriting package typings: /home/runner/work/mastra/mastra/workflows/inngest/dist/_tsup-dts-rollup.d.cts[39m
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 6734ms
|
|
17
17
|
[34mCLI[39m Cleaning output folder
|
|
18
18
|
[34mESM[39m Build start
|
|
19
19
|
[34mCJS[39m Build start
|
|
20
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m22.
|
|
21
|
-
[32mCJS[39m ⚡️ Build success in
|
|
22
|
-
[32mESM[39m [1mdist/index.js [22m[32m22.
|
|
23
|
-
[32mESM[39m ⚡️ Build success in
|
|
20
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m22.30 KB[39m
|
|
21
|
+
[32mCJS[39m ⚡️ Build success in 352ms
|
|
22
|
+
[32mESM[39m [1mdist/index.js [22m[32m22.16 KB[39m
|
|
23
|
+
[32mESM[39m ⚡️ Build success in 357ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @mastra/inngest
|
|
2
2
|
|
|
3
|
+
## 0.10.2-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 195c428: Add runId to step execute fn
|
|
8
|
+
- Updated dependencies [ab5adbe]
|
|
9
|
+
- Updated dependencies [195c428]
|
|
10
|
+
- Updated dependencies [f73e11b]
|
|
11
|
+
- @mastra/core@0.10.2-alpha.3
|
|
12
|
+
|
|
13
|
+
## 0.10.2-alpha.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- f0d559f: Fix peerdeps for alpha channel
|
|
18
|
+
- Updated dependencies [1e8bb40]
|
|
19
|
+
- @mastra/core@0.10.2-alpha.2
|
|
20
|
+
|
|
3
21
|
## 0.10.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -557,6 +557,7 @@ var InngestExecutionEngine = class extends workflows.DefaultExecutionEngine {
|
|
|
557
557
|
let suspended;
|
|
558
558
|
try {
|
|
559
559
|
const result = await step.execute({
|
|
560
|
+
runId: executionContext.runId,
|
|
560
561
|
mastra: this.mastra,
|
|
561
562
|
runtimeContext,
|
|
562
563
|
inputData: prevOutput,
|
|
@@ -659,6 +660,7 @@ var InngestExecutionEngine = class extends workflows.DefaultExecutionEngine {
|
|
|
659
660
|
(cond, index) => this.inngestStep.run(`workflow.${workflowId}.conditional.${index}`, async () => {
|
|
660
661
|
try {
|
|
661
662
|
const result = await cond({
|
|
663
|
+
runId,
|
|
662
664
|
mastra: this.mastra,
|
|
663
665
|
runtimeContext,
|
|
664
666
|
inputData: prevOutput,
|
package/dist/index.js
CHANGED
|
@@ -555,6 +555,7 @@ var InngestExecutionEngine = class extends DefaultExecutionEngine {
|
|
|
555
555
|
let suspended;
|
|
556
556
|
try {
|
|
557
557
|
const result = await step.execute({
|
|
558
|
+
runId: executionContext.runId,
|
|
558
559
|
mastra: this.mastra,
|
|
559
560
|
runtimeContext,
|
|
560
561
|
inputData: prevOutput,
|
|
@@ -657,6 +658,7 @@ var InngestExecutionEngine = class extends DefaultExecutionEngine {
|
|
|
657
658
|
(cond, index) => this.inngestStep.run(`workflow.${workflowId}.conditional.${index}`, async () => {
|
|
658
659
|
try {
|
|
659
660
|
const result = await cond({
|
|
661
|
+
runId,
|
|
660
662
|
mastra: this.mastra,
|
|
661
663
|
runtimeContext,
|
|
662
664
|
inputData: prevOutput,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/inngest",
|
|
3
|
-
"version": "0.10.1",
|
|
3
|
+
"version": "0.10.2-alpha.1",
|
|
4
4
|
"description": "Mastra Inngest integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"tsup": "^8.4.0",
|
|
38
38
|
"typescript": "^5.8.2",
|
|
39
39
|
"vitest": "^2.1.9",
|
|
40
|
-
"@mastra/deployer": "0.10.
|
|
40
|
+
"@mastra/deployer": "0.10.2-alpha.3",
|
|
41
41
|
"@internal/lint": "0.0.7",
|
|
42
|
-
"@mastra/core": "0.10.
|
|
42
|
+
"@mastra/core": "0.10.2-alpha.3"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@mastra/core": "^0.10.0"
|
|
45
|
+
"@mastra/core": "^0.10.0-alpha.0"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
|
package/src/index.ts
CHANGED
|
@@ -740,6 +740,7 @@ export class InngestExecutionEngine extends DefaultExecutionEngine {
|
|
|
740
740
|
let suspended: { payload: any } | undefined;
|
|
741
741
|
try {
|
|
742
742
|
const result = await step.execute({
|
|
743
|
+
runId: executionContext.runId,
|
|
743
744
|
mastra: this.mastra!,
|
|
744
745
|
runtimeContext,
|
|
745
746
|
inputData: prevOutput,
|
|
@@ -877,6 +878,7 @@ export class InngestExecutionEngine extends DefaultExecutionEngine {
|
|
|
877
878
|
this.inngestStep.run(`workflow.${workflowId}.conditional.${index}`, async () => {
|
|
878
879
|
try {
|
|
879
880
|
const result = await cond({
|
|
881
|
+
runId,
|
|
880
882
|
mastra: this.mastra!,
|
|
881
883
|
runtimeContext,
|
|
882
884
|
inputData: prevOutput,
|