@mastra/inngest 0.0.3-alpha.1 → 0.0.3-alpha.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.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/inngest@0.0.3-alpha.1 build /home/runner/work/mastra/mastra/workflows/inngest
2
+ > @mastra/inngest@0.0.3-alpha.2 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.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 7724ms
9
+ TSC ⚡️ Build success in 7950ms
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 5928ms
16
+ DTS ⚡️ Build success in 5916ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- CJS dist/index.cjs 22.18 KB
21
- CJS ⚡️ Build success in 208ms
22
- ESM dist/index.js 22.07 KB
23
- ESM ⚡️ Build success in 275ms
20
+ CJS dist/index.cjs 22.14 KB
21
+ CJS ⚡️ Build success in 196ms
22
+ ESM dist/index.js 22.03 KB
23
+ ESM ⚡️ Build success in 290ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/inngest
2
2
 
3
+ ## 0.0.3-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [3171b5b]
8
+ - Updated dependencies [973e5ac]
9
+ - Updated dependencies [9e1eff5]
10
+ - @mastra/core@0.9.4-alpha.2
11
+
3
12
  ## 0.0.3-alpha.1
4
13
 
5
14
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -181,7 +181,6 @@ var InngestWorkflow = class _InngestWorkflow extends vNext.NewWorkflow {
181
181
  }
182
182
  }
183
183
  }
184
- // @ts-ignore - infinite recursion
185
184
  createRun(options) {
186
185
  const runIdToUse = options?.runId || crypto.randomUUID();
187
186
  const run = this.runs.get(runIdToUse) ?? new InngestRun(
package/dist/index.js CHANGED
@@ -179,7 +179,6 @@ var InngestWorkflow = class _InngestWorkflow extends NewWorkflow {
179
179
  }
180
180
  }
181
181
  }
182
- // @ts-ignore - infinite recursion
183
182
  createRun(options) {
184
183
  const runIdToUse = options?.runId || randomUUID();
185
184
  const run = this.runs.get(runIdToUse) ?? new InngestRun(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/inngest",
3
- "version": "0.0.3-alpha.1",
3
+ "version": "0.0.3-alpha.2",
4
4
  "description": "Mastra Inngest integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "inngest": "^3.35.1",
24
24
  "zod": "^3.24.2",
25
25
  "@opentelemetry/api": "^1.9.0",
26
- "@mastra/core": "^0.9.4-alpha.1"
26
+ "@mastra/core": "^0.9.4-alpha.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@ai-sdk/openai": "^1.3.22",
@@ -38,8 +38,8 @@
38
38
  "tsup": "^8.4.0",
39
39
  "typescript": "^5.8.2",
40
40
  "vitest": "^2.1.9",
41
- "@internal/lint": "0.0.4",
42
- "@mastra/deployer": "0.3.4-alpha.1"
41
+ "@mastra/deployer": "0.3.4-alpha.2",
42
+ "@internal/lint": "0.0.4"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
package/src/index.ts CHANGED
@@ -35,7 +35,6 @@ export function serve({ mastra, inngest }: { mastra: Mastra; inngest: Inngest })
35
35
  });
36
36
  }
37
37
 
38
- // @ts-ignore - infinite recursion
39
38
  export class InngestRun<
40
39
  TSteps extends NewStep<string, any, any>[] = NewStep<string, any, any>[],
41
40
  TInput extends z.ZodType<any> = z.ZodType<any>,
@@ -267,12 +266,10 @@ export class InngestWorkflow<
267
266
  }
268
267
  }
269
268
 
270
- // @ts-ignore - infinite recursion
271
269
  createRun(options?: { runId?: string }): Run<TSteps, TInput, TOutput> {
272
270
  const runIdToUse = options?.runId || randomUUID();
273
271
 
274
272
  // Return a new Run instance with object parameters
275
- // @ts-ignore - infinite recursion
276
273
  const run: Run<TSteps, TInput, TOutput> =
277
274
  this.runs.get(runIdToUse) ??
278
275
  new InngestRun(