@mastra/inngest 0.0.0-zod-v4-compat-part-2-20250820135355 → 0.0.0-zod-v4-stuff-20250825154219

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/src/index.ts CHANGED
@@ -971,6 +971,7 @@ export class InngestExecutionEngine extends DefaultExecutionEngine {
971
971
  abortController,
972
972
  runtimeContext,
973
973
  writableStream,
974
+ serializedStepGraph,
974
975
  }: {
975
976
  workflowId: string;
976
977
  runId: string;
@@ -986,6 +987,7 @@ export class InngestExecutionEngine extends DefaultExecutionEngine {
986
987
  abortController: AbortController;
987
988
  runtimeContext: RuntimeContext;
988
989
  writableStream?: WritableStream<ChunkType>;
990
+ serializedStepGraph: SerializedStepFlowEntry[];
989
991
  }): Promise<StepResult<any, any, any, any>> {
990
992
  return super.executeStep({
991
993
  workflowId,
@@ -999,6 +1001,7 @@ export class InngestExecutionEngine extends DefaultExecutionEngine {
999
1001
  abortController,
1000
1002
  runtimeContext,
1001
1003
  writableStream,
1004
+ serializedStepGraph,
1002
1005
  });
1003
1006
  }
1004
1007
 
@@ -1738,10 +1741,10 @@ export class InngestExecutionEngine extends DefaultExecutionEngine {
1738
1741
  workflowId,
1739
1742
  runId,
1740
1743
  entry: step,
1744
+ serializedStepGraph,
1741
1745
  prevStep,
1742
1746
  stepResults,
1743
1747
  resume,
1744
- serializedStepGraph,
1745
1748
  executionContext: {
1746
1749
  workflowId,
1747
1750
  runId,
package/tsup.config.ts CHANGED
@@ -1,9 +1,6 @@
1
- import { spawn } from 'child_process';
2
- import { promisify } from 'util';
1
+ import { generateTypes } from '@internal/types-builder';
3
2
  import { defineConfig } from 'tsup';
4
3
 
5
- const exec = promisify(spawn);
6
-
7
4
  export default defineConfig({
8
5
  entry: ['src/index.ts'],
9
6
  format: ['esm', 'cjs'],
@@ -15,8 +12,6 @@ export default defineConfig({
15
12
  },
16
13
  sourcemap: true,
17
14
  onSuccess: async () => {
18
- await exec('pnpm', ['tsc', '-p', 'tsconfig.build.json'], {
19
- stdio: 'inherit',
20
- });
15
+ await generateTypes(process.cwd());
21
16
  },
22
17
  });