@mastra/inngest 0.0.3-alpha.0 → 0.0.3-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.0.3-alpha.0 build /home/runner/work/mastra/mastra/workflows/inngest
2
+ > @mastra/inngest@0.0.3-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.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 7426ms
9
+ TSC ⚡️ Build success in 7724ms
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 6349ms
16
+ DTS ⚡️ Build success in 5928ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- CJS dist/index.cjs 22.14 KB
21
- CJS ⚡️ Build success in 339ms
22
- ESM dist/index.js 22.03 KB
23
- ESM ⚡️ Build success in 339ms
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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @mastra/inngest
2
2
 
3
+ ## 0.0.3-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ab80e7e]
8
+ - Updated dependencies [6fa1ad1]
9
+ - Updated dependencies [c28d7a0]
10
+ - Updated dependencies [edf1e88]
11
+ - @mastra/core@0.9.4-alpha.1
12
+
3
13
  ## 0.0.3-alpha.0
4
14
 
5
15
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -181,6 +181,7 @@ var InngestWorkflow = class _InngestWorkflow extends vNext.NewWorkflow {
181
181
  }
182
182
  }
183
183
  }
184
+ // @ts-ignore - infinite recursion
184
185
  createRun(options) {
185
186
  const runIdToUse = options?.runId || crypto.randomUUID();
186
187
  const run = this.runs.get(runIdToUse) ?? new InngestRun(
package/dist/index.js CHANGED
@@ -179,6 +179,7 @@ var InngestWorkflow = class _InngestWorkflow extends NewWorkflow {
179
179
  }
180
180
  }
181
181
  }
182
+ // @ts-ignore - infinite recursion
182
183
  createRun(options) {
183
184
  const runIdToUse = options?.runId || randomUUID();
184
185
  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.0",
3
+ "version": "0.0.3-alpha.1",
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.0"
26
+ "@mastra/core": "^0.9.4-alpha.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@ai-sdk/openai": "^1.3.22",
@@ -39,7 +39,7 @@
39
39
  "typescript": "^5.8.2",
40
40
  "vitest": "^2.1.9",
41
41
  "@internal/lint": "0.0.4",
42
- "@mastra/deployer": "0.3.4-alpha.0"
42
+ "@mastra/deployer": "0.3.4-alpha.1"
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,6 +35,7 @@ export function serve({ mastra, inngest }: { mastra: Mastra; inngest: Inngest })
35
35
  });
36
36
  }
37
37
 
38
+ // @ts-ignore - infinite recursion
38
39
  export class InngestRun<
39
40
  TSteps extends NewStep<string, any, any>[] = NewStep<string, any, any>[],
40
41
  TInput extends z.ZodType<any> = z.ZodType<any>,
@@ -266,10 +267,12 @@ export class InngestWorkflow<
266
267
  }
267
268
  }
268
269
 
270
+ // @ts-ignore - infinite recursion
269
271
  createRun(options?: { runId?: string }): Run<TSteps, TInput, TOutput> {
270
272
  const runIdToUse = options?.runId || randomUUID();
271
273
 
272
274
  // Return a new Run instance with object parameters
275
+ // @ts-ignore - infinite recursion
273
276
  const run: Run<TSteps, TInput, TOutput> =
274
277
  this.runs.get(runIdToUse) ??
275
278
  new InngestRun(