inngest / inngest-js

The developer platform for easily building reliable workflows with zero infrastructure for TypeScript & JavaScript
https://www.inngest.com/
GNU General Public License v3.0
440 stars 43 forks source link

[BUG] `id` field is missing from the type definition of `EventPayload` #423

Closed fnimick closed 11 months ago

fnimick commented 11 months ago

Describe the bug The optional id field for idempotent event processing is not defined in the EventPayload interface and therefore provides no type checking / editor integration.

see: https://github.com/inngest/inngest-js/blob/main/packages/inngest/src/types.ts#L305

docs: https://www.inngest.com/docs/reference/events/send#inngest-send-event-payload-event-payload-promise

jpwilliams commented 11 months ago

@fnimick This is fixed in inngest@3.7.2 🙂 Thanks for reporting!