@mastra/inngest 0.10.6-alpha.1 → 0.10.6-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.10.6-alpha.1 build /home/runner/work/mastra/mastra/workflows/inngest
2
+ > @mastra/inngest@0.10.6-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.5.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 8268ms
9
+ TSC ⚡️ Build success in 9138ms
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 6018ms
16
+ DTS ⚡️ Build success in 5865ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
20
  CJS dist/index.cjs 31.43 KB
21
- CJS ⚡️ Build success in 371ms
21
+ CJS ⚡️ Build success in 236ms
22
22
  ESM dist/index.js 31.23 KB
23
- ESM ⚡️ Build success in 372ms
23
+ ESM ⚡️ Build success in 237ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mastra/inngest
2
2
 
3
+ ## 0.10.6-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 8e1b6e9: dependencies updates:
8
+ - Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
9
+ - Updated dependencies [15e9d26]
10
+ - Updated dependencies [07d6d88]
11
+ - Updated dependencies [5d74aab]
12
+ - Updated dependencies [144eb0b]
13
+ - @mastra/core@0.10.7-alpha.2
14
+
3
15
  ## 0.10.6-alpha.1
4
16
 
5
17
  ### Patch Changes
@@ -12,6 +12,7 @@ import type { Inngest } from 'inngest';
12
12
  import { InngestFunction } from 'inngest';
13
13
  import { InngestMiddleware } from 'inngest';
14
14
  import type { Mastra } from '@mastra/core';
15
+ import type { ReadableStream as ReadableStream_2 } from 'node:stream/web';
15
16
  import { Run } from '@mastra/core/workflows';
16
17
  import { RuntimeContext } from '@mastra/core/di';
17
18
  import type { SerializedStepFlowEntry } from '@mastra/core/workflows';
@@ -209,7 +210,7 @@ export declare class InngestRun<TEngineType = InngestEngineType, TSteps extends
209
210
  inputData?: z.infer<TInput>;
210
211
  runtimeContext?: RuntimeContext;
211
212
  }): {
212
- stream: ReadableStream<StreamEvent>;
213
+ stream: ReadableStream_2<StreamEvent>;
213
214
  getWorkflowState: () => Promise<WorkflowResult<TOutput, TSteps>>;
214
215
  };
215
216
  }
@@ -12,6 +12,7 @@ import type { Inngest } from 'inngest';
12
12
  import { InngestFunction } from 'inngest';
13
13
  import { InngestMiddleware } from 'inngest';
14
14
  import type { Mastra } from '@mastra/core';
15
+ import type { ReadableStream as ReadableStream_2 } from 'node:stream/web';
15
16
  import { Run } from '@mastra/core/workflows';
16
17
  import { RuntimeContext } from '@mastra/core/di';
17
18
  import type { SerializedStepFlowEntry } from '@mastra/core/workflows';
@@ -209,7 +210,7 @@ export declare class InngestRun<TEngineType = InngestEngineType, TSteps extends
209
210
  inputData?: z.infer<TInput>;
210
211
  runtimeContext?: RuntimeContext;
211
212
  }): {
212
- stream: ReadableStream<StreamEvent>;
213
+ stream: ReadableStream_2<StreamEvent>;
213
214
  getWorkflowState: () => Promise<WorkflowResult<TOutput, TSteps>>;
214
215
  };
215
216
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/inngest",
3
- "version": "0.10.6-alpha.1",
3
+ "version": "0.10.6-alpha.2",
4
4
  "description": "Mastra Inngest integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "@inngest/realtime": "^0.3.1",
23
23
  "@opentelemetry/api": "^1.9.0",
24
24
  "inngest": "^3.39.1",
25
- "zod": "^3.25.57"
25
+ "zod": "^3.25.67"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@ai-sdk/openai": "^1.3.22",
@@ -30,17 +30,17 @@
30
30
  "@microsoft/api-extractor": "^7.52.8",
31
31
  "@types/node": "^20.19.0",
32
32
  "ai": "^4.3.16",
33
- "eslint": "^9.28.0",
33
+ "eslint": "^9.29.0",
34
34
  "execa": "^9.6.0",
35
35
  "get-port": "7.1.0",
36
36
  "hono": "^4.7.11",
37
37
  "tsup": "^8.5.0",
38
38
  "typescript": "^5.8.3",
39
39
  "vitest": "^2.1.9",
40
+ "@mastra/core": "0.10.7-alpha.2",
40
41
  "@internal/lint": "0.0.13",
41
- "@mastra/core": "0.10.7-alpha.1",
42
- "@mastra/deployer": "0.10.7-alpha.1",
43
- "@mastra/libsql": "0.10.4-alpha.1"
42
+ "@mastra/libsql": "0.10.4-alpha.2",
43
+ "@mastra/deployer": "0.10.7-alpha.2"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@mastra/core": "^0.10.2-alpha.0"
package/src/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { randomUUID } from 'crypto';
2
+ import type { ReadableStream } from 'node:stream/web';
2
3
  import { subscribe } from '@inngest/realtime';
3
4
  import type { Agent, Mastra, ToolExecutionContext, WorkflowRun, WorkflowRuns } from '@mastra/core';
4
5
  import { RuntimeContext } from '@mastra/core/di';
@@ -278,7 +279,7 @@ export class InngestRun<
278
279
  });
279
280
 
280
281
  return {
281
- stream: readable,
282
+ stream: readable as ReadableStream<StreamEvent>,
282
283
  getWorkflowState: () => this.executionResults!,
283
284
  };
284
285
  }