@mastra/inngest 0.0.2 → 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.
- package/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +18 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +5 -5
- package/src/index.ts +3 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/inngest@0.0.
|
|
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
|
[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 7724ms
|
|
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 5928ms
|
|
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.18 KB[39m
|
|
21
|
+
[32mCJS[39m ⚡️ Build success in 208ms
|
|
22
|
+
[32mESM[39m [1mdist/index.js [22m[32m22.07 KB[39m
|
|
23
|
+
[32mESM[39m ⚡️ Build success in 275ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
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
|
+
|
|
13
|
+
## 0.0.3-alpha.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [daf942f]
|
|
18
|
+
- Updated dependencies [0b8b868]
|
|
19
|
+
- @mastra/core@0.9.4-alpha.0
|
|
20
|
+
|
|
3
21
|
## 0.0.2
|
|
4
22
|
|
|
5
23
|
### 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
|
+
"version": "0.0.3-alpha.1",
|
|
4
4
|
"description": "Mastra Inngest integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"inngest": "^3.35.1",
|
|
24
24
|
"zod": "^3.24.2",
|
|
25
25
|
"@opentelemetry/api": "^1.9.0",
|
|
26
|
-
"@mastra/core": "^0.9.
|
|
26
|
+
"@mastra/core": "^0.9.4-alpha.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@ai-sdk/openai": "^1.
|
|
29
|
+
"@ai-sdk/openai": "^1.3.22",
|
|
30
30
|
"@hono/node-server": "^1.14.1",
|
|
31
31
|
"@microsoft/api-extractor": "^7.52.2",
|
|
32
32
|
"@types/node": "^20.17.27",
|
|
33
|
-
"ai": "^4.
|
|
33
|
+
"ai": "^4.3.15",
|
|
34
34
|
"eslint": "^9.23.0",
|
|
35
35
|
"execa": "^9.5.2",
|
|
36
36
|
"get-port": "7.1.0",
|
|
@@ -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.
|
|
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(
|