@mastra/inngest 0.10.6-alpha.0 → 0.10.6-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.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/inngest@0.10.6-alpha.0 build /home/runner/work/mastra/mastra/workflows/inngest
2
+ > @mastra/inngest@0.10.6-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
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.5.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 8972ms
9
+ TSC ⚡️ Build success in 8268ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.3
13
13
  Writing package typings: /home/runner/work/mastra/mastra/workflows/inngest/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.3
15
15
  Writing package typings: /home/runner/work/mastra/mastra/workflows/inngest/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 6816ms
16
+ DTS ⚡️ Build success in 6018ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- ESM dist/index.js 31.23 KB
21
- ESM ⚡️ Build success in 293ms
22
20
  CJS dist/index.cjs 31.43 KB
23
- CJS ⚡️ Build success in 293ms
21
+ CJS ⚡️ Build success in 371ms
22
+ ESM dist/index.js 31.23 KB
23
+ ESM ⚡️ Build success in 372ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @mastra/inngest
2
2
 
3
+ ## 0.10.6-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 4fb0cc2: Type safe variable mapping
8
+ - Updated dependencies [d1baedb]
9
+ - Updated dependencies [4d21bf2]
10
+ - Updated dependencies [2097952]
11
+ - Updated dependencies [4fb0cc2]
12
+ - Updated dependencies [d2a7a31]
13
+ - Updated dependencies [0e17048]
14
+ - @mastra/core@0.10.7-alpha.1
15
+
3
16
  ## 0.10.6-alpha.0
4
17
 
5
18
  ### Patch Changes
@@ -59,9 +59,9 @@ export declare function init(inngest: Inngest): {
59
59
  cloneStep<TStepId extends string>(step: Step<string, any, any, any, any, InngestEngineType>, opts: {
60
60
  id: TStepId;
61
61
  }): Step<TStepId, any, any, any, any, InngestEngineType>;
62
- cloneWorkflow<TWorkflowId extends string = string, TInput extends z.ZodType<any> = z.ZodType<any, z.ZodTypeDef, any>, TOutput extends z.ZodType<any> = z.ZodType<any, z.ZodTypeDef, any>, TSteps extends Step<string, any, any, any, any, InngestEngineType>[] = Step<string, any, any, any, any, InngestEngineType>[]>(workflow: Workflow<InngestEngineType, TSteps, string, TInput, TOutput, TInput>, opts: {
62
+ cloneWorkflow<TWorkflowId extends string = string, TInput extends z.ZodType<any> = z.ZodType<any, z.ZodTypeDef, any>, TOutput extends z.ZodType<any> = z.ZodType<any, z.ZodTypeDef, any>, TSteps extends Step<string, any, any, any, any, InngestEngineType>[] = Step<string, any, any, any, any, InngestEngineType>[], TPrevSchema extends z.ZodType<any> = TInput>(workflow: Workflow<InngestEngineType, TSteps, string, TInput, TOutput, TPrevSchema>, opts: {
63
63
  id: TWorkflowId;
64
- }): Workflow<InngestEngineType, TSteps, TWorkflowId, TInput, TOutput, TInput>;
64
+ }): Workflow<InngestEngineType, TSteps, TWorkflowId, TInput, TOutput, TPrevSchema>;
65
65
  };
66
66
 
67
67
  export declare type InngestEngineType = {
@@ -59,9 +59,9 @@ export declare function init(inngest: Inngest): {
59
59
  cloneStep<TStepId extends string>(step: Step<string, any, any, any, any, InngestEngineType>, opts: {
60
60
  id: TStepId;
61
61
  }): Step<TStepId, any, any, any, any, InngestEngineType>;
62
- cloneWorkflow<TWorkflowId extends string = string, TInput extends z.ZodType<any> = z.ZodType<any, z.ZodTypeDef, any>, TOutput extends z.ZodType<any> = z.ZodType<any, z.ZodTypeDef, any>, TSteps extends Step<string, any, any, any, any, InngestEngineType>[] = Step<string, any, any, any, any, InngestEngineType>[]>(workflow: Workflow<InngestEngineType, TSteps, string, TInput, TOutput, TInput>, opts: {
62
+ cloneWorkflow<TWorkflowId extends string = string, TInput extends z.ZodType<any> = z.ZodType<any, z.ZodTypeDef, any>, TOutput extends z.ZodType<any> = z.ZodType<any, z.ZodTypeDef, any>, TSteps extends Step<string, any, any, any, any, InngestEngineType>[] = Step<string, any, any, any, any, InngestEngineType>[], TPrevSchema extends z.ZodType<any> = TInput>(workflow: Workflow<InngestEngineType, TSteps, string, TInput, TOutput, TPrevSchema>, opts: {
63
63
  id: TWorkflowId;
64
- }): Workflow<InngestEngineType, TSteps, TWorkflowId, TInput, TOutput, TInput>;
64
+ }): Workflow<InngestEngineType, TSteps, TWorkflowId, TInput, TOutput, TPrevSchema>;
65
65
  };
66
66
 
67
67
  export declare type InngestEngineType = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/inngest",
3
- "version": "0.10.6-alpha.0",
3
+ "version": "0.10.6-alpha.1",
4
4
  "description": "Mastra Inngest integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -38,9 +38,9 @@
38
38
  "typescript": "^5.8.3",
39
39
  "vitest": "^2.1.9",
40
40
  "@internal/lint": "0.0.13",
41
- "@mastra/core": "0.10.7-alpha.0",
42
- "@mastra/libsql": "0.10.4-alpha.0",
43
- "@mastra/deployer": "0.10.7-alpha.0"
41
+ "@mastra/core": "0.10.7-alpha.1",
42
+ "@mastra/deployer": "0.10.7-alpha.1",
43
+ "@mastra/libsql": "0.10.4-alpha.1"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@mastra/core": "^0.10.2-alpha.0"
package/src/index.ts CHANGED
@@ -722,11 +722,12 @@ export function init(inngest: Inngest) {
722
722
  any,
723
723
  InngestEngineType
724
724
  >[],
725
+ TPrevSchema extends z.ZodType<any> = TInput,
725
726
  >(
726
- workflow: Workflow<InngestEngineType, TSteps, string, TInput, TOutput, TInput>,
727
+ workflow: Workflow<InngestEngineType, TSteps, string, TInput, TOutput, TPrevSchema>,
727
728
  opts: { id: TWorkflowId },
728
- ): Workflow<InngestEngineType, TSteps, TWorkflowId, TInput, TOutput, TInput> {
729
- const wf = new Workflow({
729
+ ): Workflow<InngestEngineType, TSteps, TWorkflowId, TInput, TOutput, TPrevSchema> {
730
+ const wf: Workflow<InngestEngineType, TSteps, TWorkflowId, TInput, TOutput, TPrevSchema> = new Workflow({
730
731
  id: opts.id,
731
732
  inputSchema: workflow.inputSchema,
732
733
  outputSchema: workflow.outputSchema,