inngest 3.42.1 → 3.42.3

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.
Files changed (872) hide show
  1. package/CHANGELOG.md +1917 -0
  2. package/_virtual/rolldown_runtime.cjs +34 -0
  3. package/_virtual/rolldown_runtime.js +16 -0
  4. package/api/api.cjs +192 -0
  5. package/api/api.cjs.map +1 -0
  6. package/api/api.d.cts.map +1 -0
  7. package/api/api.d.ts.map +1 -0
  8. package/api/api.js +190 -0
  9. package/api/api.js.map +1 -0
  10. package/api/schema.cjs +38 -0
  11. package/api/schema.cjs.map +1 -0
  12. package/api/schema.d.cts.map +1 -0
  13. package/api/schema.d.ts.map +1 -0
  14. package/api/schema.js.map +1 -0
  15. package/astro.cjs +53 -0
  16. package/astro.cjs.map +1 -0
  17. package/astro.d.cts.map +1 -0
  18. package/astro.d.ts.map +1 -0
  19. package/astro.js +52 -0
  20. package/astro.js.map +1 -0
  21. package/bun.cjs.map +1 -0
  22. package/bun.d.cts.map +1 -0
  23. package/bun.d.ts.map +1 -0
  24. package/bun.js.map +1 -0
  25. package/cloudflare.cjs +91 -0
  26. package/cloudflare.cjs.map +1 -0
  27. package/cloudflare.d.cts.map +1 -0
  28. package/cloudflare.d.ts.map +1 -0
  29. package/cloudflare.js +90 -0
  30. package/cloudflare.js.map +1 -0
  31. package/components/EventSchemas.cjs.map +1 -0
  32. package/components/EventSchemas.d.cts.map +1 -0
  33. package/components/EventSchemas.d.ts.map +1 -0
  34. package/components/EventSchemas.js.map +1 -0
  35. package/components/Fetch.cjs +80 -0
  36. package/components/Fetch.cjs.map +1 -0
  37. package/components/Fetch.d.cts.map +1 -0
  38. package/components/Fetch.d.ts.map +1 -0
  39. package/components/Fetch.js.map +1 -0
  40. package/components/Inngest.cjs +519 -0
  41. package/components/Inngest.cjs.map +1 -0
  42. package/components/Inngest.d.cts.map +1 -0
  43. package/components/Inngest.d.ts.map +1 -0
  44. package/components/Inngest.js +514 -0
  45. package/components/Inngest.js.map +1 -0
  46. package/components/InngestCommHandler.cjs +1236 -0
  47. package/components/InngestCommHandler.cjs.map +1 -0
  48. package/components/InngestCommHandler.d.cts.map +1 -0
  49. package/components/InngestCommHandler.d.ts.map +1 -0
  50. package/components/InngestCommHandler.js +1233 -0
  51. package/components/InngestCommHandler.js.map +1 -0
  52. package/components/InngestFunction.cjs +172 -0
  53. package/components/InngestFunction.cjs.map +1 -0
  54. package/components/InngestFunction.d.cts.map +1 -0
  55. package/components/InngestFunction.d.ts.map +1 -0
  56. package/components/InngestFunction.js +167 -0
  57. package/components/InngestFunction.js.map +1 -0
  58. package/components/InngestFunctionReference.cjs.map +1 -0
  59. package/components/InngestFunctionReference.d.cts.map +1 -0
  60. package/components/InngestFunctionReference.d.ts.map +1 -0
  61. package/components/InngestFunctionReference.js.map +1 -0
  62. package/components/InngestMiddleware.cjs +125 -0
  63. package/components/InngestMiddleware.cjs.map +1 -0
  64. package/components/InngestMiddleware.d.cts.map +1 -0
  65. package/components/InngestMiddleware.d.ts.map +1 -0
  66. package/components/InngestMiddleware.js +119 -0
  67. package/components/InngestMiddleware.js.map +1 -0
  68. package/components/InngestStepTools.cjs +279 -0
  69. package/components/InngestStepTools.cjs.map +1 -0
  70. package/components/InngestStepTools.d.cts.map +1 -0
  71. package/components/InngestStepTools.d.ts.map +1 -0
  72. package/components/InngestStepTools.js +272 -0
  73. package/components/InngestStepTools.js.map +1 -0
  74. package/components/NonRetriableError.cjs.map +1 -0
  75. package/components/NonRetriableError.d.cts.map +1 -0
  76. package/components/NonRetriableError.d.ts.map +1 -0
  77. package/components/NonRetriableError.js.map +1 -0
  78. package/components/RetryAfterError.cjs +43 -0
  79. package/components/RetryAfterError.cjs.map +1 -0
  80. package/components/RetryAfterError.d.cts.map +1 -0
  81. package/components/RetryAfterError.d.ts.map +1 -0
  82. package/components/RetryAfterError.js.map +1 -0
  83. package/components/StepError.cjs.map +1 -0
  84. package/components/StepError.d.cts.map +1 -0
  85. package/components/StepError.d.ts.map +1 -0
  86. package/components/StepError.js.map +1 -0
  87. package/components/connect/buffer.cjs +71 -0
  88. package/components/connect/buffer.cjs.map +1 -0
  89. package/components/connect/buffer.js +69 -0
  90. package/components/connect/buffer.js.map +1 -0
  91. package/components/connect/index.cjs +693 -0
  92. package/components/connect/index.cjs.map +1 -0
  93. package/components/connect/index.d.cts.map +1 -0
  94. package/components/connect/index.d.ts.map +1 -0
  95. package/components/connect/index.js +689 -0
  96. package/components/connect/index.js.map +1 -0
  97. package/components/connect/messages.cjs +26 -0
  98. package/components/connect/messages.cjs.map +1 -0
  99. package/components/connect/messages.js +22 -0
  100. package/components/connect/messages.js.map +1 -0
  101. package/components/connect/os.cjs +78 -0
  102. package/components/connect/os.cjs.map +1 -0
  103. package/components/connect/os.js +75 -0
  104. package/components/connect/os.js.map +1 -0
  105. package/components/connect/types.cjs.map +1 -0
  106. package/components/connect/types.d.cts.map +1 -0
  107. package/components/connect/types.d.ts.map +1 -0
  108. package/components/connect/types.js.map +1 -0
  109. package/components/connect/util.cjs.map +1 -0
  110. package/components/connect/util.js.map +1 -0
  111. package/components/execution/InngestExecution.cjs +37 -0
  112. package/components/execution/InngestExecution.cjs.map +1 -0
  113. package/components/execution/InngestExecution.d.cts.map +1 -0
  114. package/components/execution/InngestExecution.d.ts.map +1 -0
  115. package/components/execution/InngestExecution.js +29 -0
  116. package/components/execution/InngestExecution.js.map +1 -0
  117. package/components/execution/als.cjs.map +1 -0
  118. package/components/execution/als.d.cts +28 -0
  119. package/components/execution/als.d.cts.map +1 -0
  120. package/components/execution/als.d.ts +28 -0
  121. package/components/execution/als.d.ts.map +1 -0
  122. package/components/execution/als.js.map +1 -0
  123. package/components/execution/otel/access.cjs.map +1 -0
  124. package/components/execution/otel/access.js.map +1 -0
  125. package/components/execution/otel/middleware.cjs +93 -0
  126. package/components/execution/otel/middleware.cjs.map +1 -0
  127. package/components/execution/otel/middleware.d.cts.map +1 -0
  128. package/components/execution/otel/middleware.d.ts.map +1 -0
  129. package/components/execution/otel/middleware.js.map +1 -0
  130. package/components/execution/otel/processor.cjs +271 -0
  131. package/components/execution/otel/processor.cjs.map +1 -0
  132. package/components/execution/otel/processor.d.cts.map +1 -0
  133. package/components/execution/otel/processor.d.ts.map +1 -0
  134. package/components/execution/otel/processor.js +265 -0
  135. package/components/execution/otel/processor.js.map +1 -0
  136. package/components/execution/otel/util.cjs +51 -0
  137. package/components/execution/otel/util.cjs.map +1 -0
  138. package/components/execution/otel/util.d.cts.map +1 -0
  139. package/components/execution/otel/util.d.ts.map +1 -0
  140. package/components/execution/otel/util.js.map +1 -0
  141. package/components/execution/v0.cjs +389 -0
  142. package/components/execution/v0.cjs.map +1 -0
  143. package/components/execution/v0.d.cts.map +1 -0
  144. package/components/execution/v0.d.ts.map +1 -0
  145. package/components/execution/v0.js +380 -0
  146. package/components/execution/v0.js.map +1 -0
  147. package/components/execution/v1.cjs +776 -0
  148. package/components/execution/v1.cjs.map +1 -0
  149. package/components/execution/v1.d.cts.map +1 -0
  150. package/components/execution/v1.d.ts.map +1 -0
  151. package/components/execution/v1.js +767 -0
  152. package/components/execution/v1.js.map +1 -0
  153. package/components/execution/v2.cjs +731 -0
  154. package/components/execution/v2.cjs.map +1 -0
  155. package/components/execution/v2.d.cts.map +1 -0
  156. package/components/execution/v2.d.ts.map +1 -0
  157. package/components/execution/v2.js +722 -0
  158. package/components/execution/v2.js.map +1 -0
  159. package/deno/fresh.cjs +55 -0
  160. package/deno/fresh.cjs.map +1 -0
  161. package/deno/fresh.d.cts.map +1 -0
  162. package/deno/fresh.d.ts.map +1 -0
  163. package/deno/fresh.js +54 -0
  164. package/deno/fresh.js.map +1 -0
  165. package/digitalocean.cjs +60 -0
  166. package/digitalocean.cjs.map +1 -0
  167. package/digitalocean.d.cts.map +1 -0
  168. package/digitalocean.d.ts.map +1 -0
  169. package/digitalocean.js +59 -0
  170. package/digitalocean.js.map +1 -0
  171. package/edge.cjs +52 -0
  172. package/edge.cjs.map +1 -0
  173. package/edge.d.cts.map +1 -0
  174. package/edge.d.ts.map +1 -0
  175. package/edge.js +51 -0
  176. package/edge.js.map +1 -0
  177. package/express.cjs +84 -0
  178. package/express.cjs.map +1 -0
  179. package/express.d.cts.map +1 -0
  180. package/express.d.ts.map +1 -0
  181. package/express.js +83 -0
  182. package/express.js.map +1 -0
  183. package/fastify.cjs +126 -0
  184. package/fastify.cjs.map +1 -0
  185. package/fastify.d.cts.map +1 -0
  186. package/fastify.d.ts.map +1 -0
  187. package/fastify.js +122 -0
  188. package/fastify.js.map +1 -0
  189. package/h3.cjs +73 -0
  190. package/h3.cjs.map +1 -0
  191. package/h3.d.cts.map +1 -0
  192. package/h3.d.ts.map +1 -0
  193. package/h3.js +70 -0
  194. package/h3.js.map +1 -0
  195. package/helpers/ServerTiming.cjs +90 -0
  196. package/helpers/ServerTiming.cjs.map +1 -0
  197. package/helpers/ServerTiming.d.cts.map +1 -0
  198. package/helpers/ServerTiming.d.ts.map +1 -0
  199. package/helpers/ServerTiming.js +84 -0
  200. package/helpers/ServerTiming.js.map +1 -0
  201. package/helpers/assertions.d.cts.map +1 -0
  202. package/helpers/assertions.d.ts.map +1 -0
  203. package/helpers/consts.cjs +209 -0
  204. package/helpers/consts.cjs.map +1 -0
  205. package/helpers/consts.d.cts.map +1 -0
  206. package/helpers/consts.d.ts.map +1 -0
  207. package/helpers/consts.js.map +1 -0
  208. package/helpers/crypto.cjs.map +1 -0
  209. package/helpers/crypto.js.map +1 -0
  210. package/helpers/devserver.cjs +44 -0
  211. package/helpers/devserver.cjs.map +1 -0
  212. package/helpers/devserver.js +43 -0
  213. package/helpers/devserver.js.map +1 -0
  214. package/helpers/enum.cjs.map +1 -0
  215. package/helpers/enum.js.map +1 -0
  216. package/helpers/env.cjs +355 -0
  217. package/helpers/env.cjs.map +1 -0
  218. package/helpers/env.d.cts +52 -0
  219. package/helpers/env.d.cts.map +1 -0
  220. package/helpers/env.d.ts +52 -0
  221. package/helpers/env.d.ts.map +1 -0
  222. package/helpers/env.js +345 -0
  223. package/helpers/env.js.map +1 -0
  224. package/helpers/errors.cjs +329 -0
  225. package/helpers/errors.cjs.map +1 -0
  226. package/helpers/errors.d.cts.map +1 -0
  227. package/helpers/errors.d.ts.map +1 -0
  228. package/helpers/errors.js +310 -0
  229. package/helpers/errors.js.map +1 -0
  230. package/helpers/functions.cjs +171 -0
  231. package/helpers/functions.cjs.map +1 -0
  232. package/helpers/functions.js +165 -0
  233. package/helpers/functions.js.map +1 -0
  234. package/helpers/jsonify.d.cts.map +1 -0
  235. package/helpers/jsonify.d.ts.map +1 -0
  236. package/helpers/net.cjs +39 -0
  237. package/helpers/net.cjs.map +1 -0
  238. package/helpers/net.js +35 -0
  239. package/helpers/net.js.map +1 -0
  240. package/helpers/promises.cjs +180 -0
  241. package/helpers/promises.cjs.map +1 -0
  242. package/helpers/promises.js +173 -0
  243. package/helpers/promises.js.map +1 -0
  244. package/helpers/stream.cjs.map +1 -0
  245. package/helpers/stream.js.map +1 -0
  246. package/helpers/strings.cjs +88 -0
  247. package/helpers/strings.cjs.map +1 -0
  248. package/helpers/strings.d.cts +14 -0
  249. package/helpers/strings.d.cts.map +1 -0
  250. package/helpers/strings.d.ts +14 -0
  251. package/helpers/strings.d.ts.map +1 -0
  252. package/helpers/strings.js +79 -0
  253. package/helpers/strings.js.map +1 -0
  254. package/helpers/temporal.cjs.map +1 -0
  255. package/helpers/temporal.d.cts +40 -0
  256. package/helpers/temporal.d.cts.map +1 -0
  257. package/helpers/temporal.d.ts +40 -0
  258. package/helpers/temporal.d.ts.map +1 -0
  259. package/helpers/temporal.js.map +1 -0
  260. package/helpers/types.d.cts +281 -0
  261. package/helpers/types.d.cts.map +1 -0
  262. package/helpers/types.d.ts +281 -0
  263. package/helpers/types.d.ts.map +1 -0
  264. package/helpers/validators/index.d.cts.map +1 -0
  265. package/helpers/validators/index.d.ts.map +1 -0
  266. package/helpers/validators/zod.d.cts.map +1 -0
  267. package/helpers/validators/zod.d.ts.map +1 -0
  268. package/hono.cjs +72 -0
  269. package/hono.cjs.map +1 -0
  270. package/hono.d.cts.map +1 -0
  271. package/hono.d.ts.map +1 -0
  272. package/hono.js +69 -0
  273. package/hono.js.map +1 -0
  274. package/index.d.cts +20 -0
  275. package/index.d.ts +20 -0
  276. package/koa.cjs +65 -0
  277. package/koa.cjs.map +1 -0
  278. package/koa.d.cts.map +1 -0
  279. package/koa.d.ts.map +1 -0
  280. package/koa.js +64 -0
  281. package/koa.js.map +1 -0
  282. package/lambda.cjs +83 -0
  283. package/lambda.cjs.map +1 -0
  284. package/lambda.d.cts.map +1 -0
  285. package/lambda.d.ts.map +1 -0
  286. package/lambda.js +82 -0
  287. package/lambda.js.map +1 -0
  288. package/middleware/dependencyInjection.cjs.map +1 -0
  289. package/middleware/dependencyInjection.d.cts.map +1 -0
  290. package/middleware/dependencyInjection.d.ts.map +1 -0
  291. package/middleware/dependencyInjection.js.map +1 -0
  292. package/middleware/logger.cjs.map +1 -0
  293. package/middleware/logger.d.cts.map +1 -0
  294. package/middleware/logger.d.ts.map +1 -0
  295. package/middleware/logger.js.map +1 -0
  296. package/next.cjs +184 -0
  297. package/next.cjs.map +1 -0
  298. package/next.d.cts.map +1 -0
  299. package/next.d.ts.map +1 -0
  300. package/next.js +183 -0
  301. package/next.js.map +1 -0
  302. package/nitro.cjs.map +1 -0
  303. package/nitro.d.cts.map +1 -0
  304. package/nitro.d.ts.map +1 -0
  305. package/nitro.js.map +1 -0
  306. package/node.cjs +131 -0
  307. package/node.cjs.map +1 -0
  308. package/node.d.cts.map +1 -0
  309. package/node.d.ts.map +1 -0
  310. package/node.js +126 -0
  311. package/node.js.map +1 -0
  312. package/nuxt.cjs.map +1 -0
  313. package/nuxt.d.cts.map +1 -0
  314. package/nuxt.d.ts.map +1 -0
  315. package/nuxt.js.map +1 -0
  316. package/package.json +103 -106
  317. package/proto/google/protobuf/timestamp.cjs +73 -0
  318. package/proto/google/protobuf/timestamp.cjs.map +1 -0
  319. package/proto/google/protobuf/timestamp.js.map +1 -0
  320. package/proto/src/components/connect/protobuf/connect.cjs +1489 -0
  321. package/proto/src/components/connect/protobuf/connect.cjs.map +1 -0
  322. package/proto/src/components/connect/protobuf/connect.js.map +1 -0
  323. package/redwood.cjs +60 -0
  324. package/redwood.cjs.map +1 -0
  325. package/redwood.d.cts.map +1 -0
  326. package/redwood.d.ts.map +1 -0
  327. package/redwood.js +59 -0
  328. package/redwood.js.map +1 -0
  329. package/remix.cjs +73 -0
  330. package/remix.cjs.map +1 -0
  331. package/remix.d.cts.map +1 -0
  332. package/remix.d.ts.map +1 -0
  333. package/remix.js +71 -0
  334. package/remix.js.map +1 -0
  335. package/sveltekit.cjs +73 -0
  336. package/sveltekit.cjs.map +1 -0
  337. package/sveltekit.d.cts.map +1 -0
  338. package/sveltekit.d.ts.map +1 -0
  339. package/sveltekit.js +73 -0
  340. package/sveltekit.js.map +1 -0
  341. package/types.cjs +207 -0
  342. package/types.cjs.map +1 -0
  343. package/types.d.cts.map +1 -0
  344. package/types.d.ts.map +1 -0
  345. package/types.js +192 -0
  346. package/types.js.map +1 -0
  347. package/version.cjs +7 -0
  348. package/version.cjs.map +1 -0
  349. package/version.d.cts +5 -0
  350. package/version.d.cts.map +1 -0
  351. package/version.d.ts +5 -0
  352. package/version.d.ts.map +1 -0
  353. package/version.js +6 -0
  354. package/version.js.map +1 -0
  355. package/dist/_virtual/rolldown_runtime.cjs +0 -32
  356. package/dist/_virtual/rolldown_runtime.js +0 -14
  357. package/dist/api/api.cjs +0 -193
  358. package/dist/api/api.cjs.map +0 -1
  359. package/dist/api/api.d.cts.map +0 -1
  360. package/dist/api/api.d.ts.map +0 -1
  361. package/dist/api/api.js +0 -192
  362. package/dist/api/api.js.map +0 -1
  363. package/dist/api/schema.cjs +0 -37
  364. package/dist/api/schema.cjs.map +0 -1
  365. package/dist/api/schema.d.cts.map +0 -1
  366. package/dist/api/schema.d.ts.map +0 -1
  367. package/dist/api/schema.js.map +0 -1
  368. package/dist/astro.cjs +0 -54
  369. package/dist/astro.cjs.map +0 -1
  370. package/dist/astro.d.cts.map +0 -1
  371. package/dist/astro.d.ts.map +0 -1
  372. package/dist/astro.js +0 -53
  373. package/dist/astro.js.map +0 -1
  374. package/dist/bun.cjs.map +0 -1
  375. package/dist/bun.d.cts.map +0 -1
  376. package/dist/bun.d.ts.map +0 -1
  377. package/dist/bun.js.map +0 -1
  378. package/dist/cloudflare.cjs +0 -97
  379. package/dist/cloudflare.cjs.map +0 -1
  380. package/dist/cloudflare.d.cts.map +0 -1
  381. package/dist/cloudflare.d.ts.map +0 -1
  382. package/dist/cloudflare.js +0 -96
  383. package/dist/cloudflare.js.map +0 -1
  384. package/dist/components/EventSchemas.cjs.map +0 -1
  385. package/dist/components/EventSchemas.d.cts.map +0 -1
  386. package/dist/components/EventSchemas.d.ts.map +0 -1
  387. package/dist/components/EventSchemas.js.map +0 -1
  388. package/dist/components/Fetch.cjs +0 -79
  389. package/dist/components/Fetch.cjs.map +0 -1
  390. package/dist/components/Fetch.d.cts.map +0 -1
  391. package/dist/components/Fetch.d.ts.map +0 -1
  392. package/dist/components/Fetch.js.map +0 -1
  393. package/dist/components/Inngest.cjs +0 -520
  394. package/dist/components/Inngest.cjs.map +0 -1
  395. package/dist/components/Inngest.d.cts.map +0 -1
  396. package/dist/components/Inngest.d.ts.map +0 -1
  397. package/dist/components/Inngest.js +0 -515
  398. package/dist/components/Inngest.js.map +0 -1
  399. package/dist/components/InngestCommHandler.cjs +0 -1257
  400. package/dist/components/InngestCommHandler.cjs.map +0 -1
  401. package/dist/components/InngestCommHandler.d.cts.map +0 -1
  402. package/dist/components/InngestCommHandler.d.ts.map +0 -1
  403. package/dist/components/InngestCommHandler.js +0 -1256
  404. package/dist/components/InngestCommHandler.js.map +0 -1
  405. package/dist/components/InngestFunction.cjs +0 -173
  406. package/dist/components/InngestFunction.cjs.map +0 -1
  407. package/dist/components/InngestFunction.d.cts.map +0 -1
  408. package/dist/components/InngestFunction.d.ts.map +0 -1
  409. package/dist/components/InngestFunction.js +0 -168
  410. package/dist/components/InngestFunction.js.map +0 -1
  411. package/dist/components/InngestFunctionReference.cjs.map +0 -1
  412. package/dist/components/InngestFunctionReference.d.cts.map +0 -1
  413. package/dist/components/InngestFunctionReference.d.ts.map +0 -1
  414. package/dist/components/InngestFunctionReference.js.map +0 -1
  415. package/dist/components/InngestMiddleware.cjs +0 -127
  416. package/dist/components/InngestMiddleware.cjs.map +0 -1
  417. package/dist/components/InngestMiddleware.d.cts.map +0 -1
  418. package/dist/components/InngestMiddleware.d.ts.map +0 -1
  419. package/dist/components/InngestMiddleware.js +0 -121
  420. package/dist/components/InngestMiddleware.js.map +0 -1
  421. package/dist/components/InngestStepTools.cjs +0 -282
  422. package/dist/components/InngestStepTools.cjs.map +0 -1
  423. package/dist/components/InngestStepTools.d.cts.map +0 -1
  424. package/dist/components/InngestStepTools.d.ts.map +0 -1
  425. package/dist/components/InngestStepTools.js +0 -277
  426. package/dist/components/InngestStepTools.js.map +0 -1
  427. package/dist/components/NonRetriableError.cjs.map +0 -1
  428. package/dist/components/NonRetriableError.d.cts.map +0 -1
  429. package/dist/components/NonRetriableError.d.ts.map +0 -1
  430. package/dist/components/NonRetriableError.js.map +0 -1
  431. package/dist/components/RetryAfterError.cjs +0 -42
  432. package/dist/components/RetryAfterError.cjs.map +0 -1
  433. package/dist/components/RetryAfterError.d.cts.map +0 -1
  434. package/dist/components/RetryAfterError.d.ts.map +0 -1
  435. package/dist/components/RetryAfterError.js.map +0 -1
  436. package/dist/components/StepError.cjs.map +0 -1
  437. package/dist/components/StepError.d.cts.map +0 -1
  438. package/dist/components/StepError.d.ts.map +0 -1
  439. package/dist/components/StepError.js.map +0 -1
  440. package/dist/components/connect/buffer.cjs +0 -71
  441. package/dist/components/connect/buffer.cjs.map +0 -1
  442. package/dist/components/connect/buffer.js +0 -70
  443. package/dist/components/connect/buffer.js.map +0 -1
  444. package/dist/components/connect/index.cjs +0 -697
  445. package/dist/components/connect/index.cjs.map +0 -1
  446. package/dist/components/connect/index.d.cts.map +0 -1
  447. package/dist/components/connect/index.d.ts.map +0 -1
  448. package/dist/components/connect/index.js +0 -696
  449. package/dist/components/connect/index.js.map +0 -1
  450. package/dist/components/connect/messages.cjs +0 -30
  451. package/dist/components/connect/messages.cjs.map +0 -1
  452. package/dist/components/connect/messages.js +0 -26
  453. package/dist/components/connect/messages.js.map +0 -1
  454. package/dist/components/connect/os.cjs +0 -82
  455. package/dist/components/connect/os.cjs.map +0 -1
  456. package/dist/components/connect/os.js +0 -79
  457. package/dist/components/connect/os.js.map +0 -1
  458. package/dist/components/connect/types.cjs.map +0 -1
  459. package/dist/components/connect/types.d.cts.map +0 -1
  460. package/dist/components/connect/types.d.ts.map +0 -1
  461. package/dist/components/connect/types.js.map +0 -1
  462. package/dist/components/connect/util.cjs.map +0 -1
  463. package/dist/components/connect/util.js.map +0 -1
  464. package/dist/components/execution/InngestExecution.cjs +0 -37
  465. package/dist/components/execution/InngestExecution.cjs.map +0 -1
  466. package/dist/components/execution/InngestExecution.d.cts.map +0 -1
  467. package/dist/components/execution/InngestExecution.d.ts.map +0 -1
  468. package/dist/components/execution/InngestExecution.js +0 -30
  469. package/dist/components/execution/InngestExecution.js.map +0 -1
  470. package/dist/components/execution/als.cjs.map +0 -1
  471. package/dist/components/execution/als.d.cts +0 -37
  472. package/dist/components/execution/als.d.cts.map +0 -1
  473. package/dist/components/execution/als.d.ts +0 -37
  474. package/dist/components/execution/als.d.ts.map +0 -1
  475. package/dist/components/execution/als.js.map +0 -1
  476. package/dist/components/execution/otel/access.cjs.map +0 -1
  477. package/dist/components/execution/otel/access.js.map +0 -1
  478. package/dist/components/execution/otel/middleware.cjs +0 -91
  479. package/dist/components/execution/otel/middleware.cjs.map +0 -1
  480. package/dist/components/execution/otel/middleware.d.cts.map +0 -1
  481. package/dist/components/execution/otel/middleware.d.ts.map +0 -1
  482. package/dist/components/execution/otel/middleware.js.map +0 -1
  483. package/dist/components/execution/otel/processor.cjs +0 -267
  484. package/dist/components/execution/otel/processor.cjs.map +0 -1
  485. package/dist/components/execution/otel/processor.d.cts.map +0 -1
  486. package/dist/components/execution/otel/processor.d.ts.map +0 -1
  487. package/dist/components/execution/otel/processor.js +0 -265
  488. package/dist/components/execution/otel/processor.js.map +0 -1
  489. package/dist/components/execution/otel/util.cjs +0 -46
  490. package/dist/components/execution/otel/util.cjs.map +0 -1
  491. package/dist/components/execution/otel/util.d.cts.map +0 -1
  492. package/dist/components/execution/otel/util.d.ts.map +0 -1
  493. package/dist/components/execution/otel/util.js.map +0 -1
  494. package/dist/components/execution/v0.cjs +0 -393
  495. package/dist/components/execution/v0.cjs.map +0 -1
  496. package/dist/components/execution/v0.d.cts.map +0 -1
  497. package/dist/components/execution/v0.d.ts.map +0 -1
  498. package/dist/components/execution/v0.js +0 -387
  499. package/dist/components/execution/v0.js.map +0 -1
  500. package/dist/components/execution/v1.cjs +0 -785
  501. package/dist/components/execution/v1.cjs.map +0 -1
  502. package/dist/components/execution/v1.d.cts.map +0 -1
  503. package/dist/components/execution/v1.d.ts.map +0 -1
  504. package/dist/components/execution/v1.js +0 -779
  505. package/dist/components/execution/v1.js.map +0 -1
  506. package/dist/components/execution/v2.cjs +0 -737
  507. package/dist/components/execution/v2.cjs.map +0 -1
  508. package/dist/components/execution/v2.d.cts.map +0 -1
  509. package/dist/components/execution/v2.d.ts.map +0 -1
  510. package/dist/components/execution/v2.js +0 -731
  511. package/dist/components/execution/v2.js.map +0 -1
  512. package/dist/deno/fresh.cjs +0 -56
  513. package/dist/deno/fresh.cjs.map +0 -1
  514. package/dist/deno/fresh.d.cts.map +0 -1
  515. package/dist/deno/fresh.d.ts.map +0 -1
  516. package/dist/deno/fresh.js +0 -55
  517. package/dist/deno/fresh.js.map +0 -1
  518. package/dist/digitalocean.cjs +0 -61
  519. package/dist/digitalocean.cjs.map +0 -1
  520. package/dist/digitalocean.d.cts.map +0 -1
  521. package/dist/digitalocean.d.ts.map +0 -1
  522. package/dist/digitalocean.js +0 -60
  523. package/dist/digitalocean.js.map +0 -1
  524. package/dist/edge.cjs +0 -53
  525. package/dist/edge.cjs.map +0 -1
  526. package/dist/edge.d.cts.map +0 -1
  527. package/dist/edge.d.ts.map +0 -1
  528. package/dist/edge.js +0 -52
  529. package/dist/edge.js.map +0 -1
  530. package/dist/express.cjs +0 -86
  531. package/dist/express.cjs.map +0 -1
  532. package/dist/express.d.cts.map +0 -1
  533. package/dist/express.d.ts.map +0 -1
  534. package/dist/express.js +0 -85
  535. package/dist/express.js.map +0 -1
  536. package/dist/fastify.cjs +0 -128
  537. package/dist/fastify.cjs.map +0 -1
  538. package/dist/fastify.d.cts.map +0 -1
  539. package/dist/fastify.d.ts.map +0 -1
  540. package/dist/fastify.js +0 -124
  541. package/dist/fastify.js.map +0 -1
  542. package/dist/h3.cjs +0 -73
  543. package/dist/h3.cjs.map +0 -1
  544. package/dist/h3.d.cts.map +0 -1
  545. package/dist/h3.d.ts.map +0 -1
  546. package/dist/h3.js +0 -71
  547. package/dist/h3.js.map +0 -1
  548. package/dist/helpers/ServerTiming.cjs +0 -96
  549. package/dist/helpers/ServerTiming.cjs.map +0 -1
  550. package/dist/helpers/ServerTiming.d.cts.map +0 -1
  551. package/dist/helpers/ServerTiming.d.ts.map +0 -1
  552. package/dist/helpers/ServerTiming.js +0 -90
  553. package/dist/helpers/ServerTiming.js.map +0 -1
  554. package/dist/helpers/assertions.d.cts.map +0 -1
  555. package/dist/helpers/assertions.d.ts.map +0 -1
  556. package/dist/helpers/consts.cjs +0 -208
  557. package/dist/helpers/consts.cjs.map +0 -1
  558. package/dist/helpers/consts.d.cts.map +0 -1
  559. package/dist/helpers/consts.d.ts.map +0 -1
  560. package/dist/helpers/consts.js.map +0 -1
  561. package/dist/helpers/crypto.cjs.map +0 -1
  562. package/dist/helpers/crypto.js.map +0 -1
  563. package/dist/helpers/devserver.cjs +0 -45
  564. package/dist/helpers/devserver.cjs.map +0 -1
  565. package/dist/helpers/devserver.js +0 -44
  566. package/dist/helpers/devserver.js.map +0 -1
  567. package/dist/helpers/enum.cjs.map +0 -1
  568. package/dist/helpers/enum.js.map +0 -1
  569. package/dist/helpers/env.cjs +0 -359
  570. package/dist/helpers/env.cjs.map +0 -1
  571. package/dist/helpers/env.d.cts +0 -65
  572. package/dist/helpers/env.d.cts.map +0 -1
  573. package/dist/helpers/env.d.ts +0 -65
  574. package/dist/helpers/env.d.ts.map +0 -1
  575. package/dist/helpers/env.js +0 -349
  576. package/dist/helpers/env.js.map +0 -1
  577. package/dist/helpers/errors.cjs +0 -332
  578. package/dist/helpers/errors.cjs.map +0 -1
  579. package/dist/helpers/errors.d.cts.map +0 -1
  580. package/dist/helpers/errors.d.ts.map +0 -1
  581. package/dist/helpers/errors.js +0 -318
  582. package/dist/helpers/errors.js.map +0 -1
  583. package/dist/helpers/functions.cjs +0 -173
  584. package/dist/helpers/functions.cjs.map +0 -1
  585. package/dist/helpers/functions.js +0 -168
  586. package/dist/helpers/functions.js.map +0 -1
  587. package/dist/helpers/jsonify.d.cts.map +0 -1
  588. package/dist/helpers/jsonify.d.ts.map +0 -1
  589. package/dist/helpers/net.cjs +0 -38
  590. package/dist/helpers/net.cjs.map +0 -1
  591. package/dist/helpers/net.js +0 -36
  592. package/dist/helpers/net.js.map +0 -1
  593. package/dist/helpers/promises.cjs +0 -182
  594. package/dist/helpers/promises.cjs.map +0 -1
  595. package/dist/helpers/promises.js +0 -175
  596. package/dist/helpers/promises.js.map +0 -1
  597. package/dist/helpers/stream.cjs.map +0 -1
  598. package/dist/helpers/stream.js.map +0 -1
  599. package/dist/helpers/strings.cjs +0 -87
  600. package/dist/helpers/strings.cjs.map +0 -1
  601. package/dist/helpers/strings.d.cts +0 -21
  602. package/dist/helpers/strings.d.cts.map +0 -1
  603. package/dist/helpers/strings.d.ts +0 -21
  604. package/dist/helpers/strings.d.ts.map +0 -1
  605. package/dist/helpers/strings.js +0 -81
  606. package/dist/helpers/strings.js.map +0 -1
  607. package/dist/helpers/temporal.cjs.map +0 -1
  608. package/dist/helpers/temporal.d.cts +0 -43
  609. package/dist/helpers/temporal.d.cts.map +0 -1
  610. package/dist/helpers/temporal.d.ts +0 -43
  611. package/dist/helpers/temporal.d.ts.map +0 -1
  612. package/dist/helpers/temporal.js.map +0 -1
  613. package/dist/helpers/types.d.cts +0 -303
  614. package/dist/helpers/types.d.cts.map +0 -1
  615. package/dist/helpers/types.d.ts +0 -303
  616. package/dist/helpers/types.d.ts.map +0 -1
  617. package/dist/helpers/validators/index.d.cts.map +0 -1
  618. package/dist/helpers/validators/index.d.ts.map +0 -1
  619. package/dist/helpers/validators/zod.d.cts.map +0 -1
  620. package/dist/helpers/validators/zod.d.ts.map +0 -1
  621. package/dist/hono.cjs +0 -72
  622. package/dist/hono.cjs.map +0 -1
  623. package/dist/hono.d.cts.map +0 -1
  624. package/dist/hono.d.ts.map +0 -1
  625. package/dist/hono.js +0 -70
  626. package/dist/hono.js.map +0 -1
  627. package/dist/index.d.cts +0 -20
  628. package/dist/index.d.ts +0 -20
  629. package/dist/koa.cjs +0 -67
  630. package/dist/koa.cjs.map +0 -1
  631. package/dist/koa.d.cts.map +0 -1
  632. package/dist/koa.d.ts.map +0 -1
  633. package/dist/koa.js +0 -66
  634. package/dist/koa.js.map +0 -1
  635. package/dist/lambda.cjs +0 -85
  636. package/dist/lambda.cjs.map +0 -1
  637. package/dist/lambda.d.cts.map +0 -1
  638. package/dist/lambda.d.ts.map +0 -1
  639. package/dist/lambda.js +0 -84
  640. package/dist/lambda.js.map +0 -1
  641. package/dist/middleware/dependencyInjection.cjs.map +0 -1
  642. package/dist/middleware/dependencyInjection.d.cts.map +0 -1
  643. package/dist/middleware/dependencyInjection.d.ts.map +0 -1
  644. package/dist/middleware/dependencyInjection.js.map +0 -1
  645. package/dist/middleware/logger.cjs.map +0 -1
  646. package/dist/middleware/logger.d.cts.map +0 -1
  647. package/dist/middleware/logger.d.ts.map +0 -1
  648. package/dist/middleware/logger.js.map +0 -1
  649. package/dist/next.cjs +0 -203
  650. package/dist/next.cjs.map +0 -1
  651. package/dist/next.d.cts.map +0 -1
  652. package/dist/next.d.ts.map +0 -1
  653. package/dist/next.js +0 -202
  654. package/dist/next.js.map +0 -1
  655. package/dist/nitro.cjs.map +0 -1
  656. package/dist/nitro.d.cts.map +0 -1
  657. package/dist/nitro.d.ts.map +0 -1
  658. package/dist/nitro.js.map +0 -1
  659. package/dist/node.cjs +0 -130
  660. package/dist/node.cjs.map +0 -1
  661. package/dist/node.d.cts.map +0 -1
  662. package/dist/node.d.ts.map +0 -1
  663. package/dist/node.js +0 -127
  664. package/dist/node.js.map +0 -1
  665. package/dist/nuxt.cjs.map +0 -1
  666. package/dist/nuxt.d.cts.map +0 -1
  667. package/dist/nuxt.d.ts.map +0 -1
  668. package/dist/nuxt.js.map +0 -1
  669. package/dist/proto/google/protobuf/timestamp.cjs +0 -72
  670. package/dist/proto/google/protobuf/timestamp.cjs.map +0 -1
  671. package/dist/proto/google/protobuf/timestamp.js.map +0 -1
  672. package/dist/proto/src/components/connect/protobuf/connect.cjs +0 -1488
  673. package/dist/proto/src/components/connect/protobuf/connect.cjs.map +0 -1
  674. package/dist/proto/src/components/connect/protobuf/connect.js.map +0 -1
  675. package/dist/redwood.cjs +0 -62
  676. package/dist/redwood.cjs.map +0 -1
  677. package/dist/redwood.d.cts.map +0 -1
  678. package/dist/redwood.d.ts.map +0 -1
  679. package/dist/redwood.js +0 -61
  680. package/dist/redwood.js.map +0 -1
  681. package/dist/remix.cjs +0 -73
  682. package/dist/remix.cjs.map +0 -1
  683. package/dist/remix.d.cts.map +0 -1
  684. package/dist/remix.d.ts.map +0 -1
  685. package/dist/remix.js +0 -72
  686. package/dist/remix.js.map +0 -1
  687. package/dist/sveltekit.cjs +0 -75
  688. package/dist/sveltekit.cjs.map +0 -1
  689. package/dist/sveltekit.d.cts.map +0 -1
  690. package/dist/sveltekit.d.ts.map +0 -1
  691. package/dist/sveltekit.js +0 -75
  692. package/dist/sveltekit.js.map +0 -1
  693. package/dist/types.cjs +0 -207
  694. package/dist/types.cjs.map +0 -1
  695. package/dist/types.d.cts.map +0 -1
  696. package/dist/types.d.ts.map +0 -1
  697. package/dist/types.js +0 -193
  698. package/dist/types.js.map +0 -1
  699. package/dist/version.cjs +0 -7
  700. package/dist/version.cjs.map +0 -1
  701. package/dist/version.d.cts +0 -5
  702. package/dist/version.d.cts.map +0 -1
  703. package/dist/version.d.ts +0 -5
  704. package/dist/version.d.ts.map +0 -1
  705. package/dist/version.js +0 -6
  706. package/dist/version.js.map +0 -1
  707. /package/{dist/api → api}/api.d.cts +0 -0
  708. /package/{dist/api → api}/api.d.ts +0 -0
  709. /package/{dist/api → api}/schema.d.cts +0 -0
  710. /package/{dist/api → api}/schema.d.ts +0 -0
  711. /package/{dist/api → api}/schema.js +0 -0
  712. /package/{dist/astro.d.cts → astro.d.cts} +0 -0
  713. /package/{dist/astro.d.ts → astro.d.ts} +0 -0
  714. /package/{dist/bun.cjs → bun.cjs} +0 -0
  715. /package/{dist/bun.d.cts → bun.d.cts} +0 -0
  716. /package/{dist/bun.d.ts → bun.d.ts} +0 -0
  717. /package/{dist/bun.js → bun.js} +0 -0
  718. /package/{dist/cloudflare.d.cts → cloudflare.d.cts} +0 -0
  719. /package/{dist/cloudflare.d.ts → cloudflare.d.ts} +0 -0
  720. /package/{dist/components → components}/EventSchemas.cjs +0 -0
  721. /package/{dist/components → components}/EventSchemas.d.cts +0 -0
  722. /package/{dist/components → components}/EventSchemas.d.ts +0 -0
  723. /package/{dist/components → components}/EventSchemas.js +0 -0
  724. /package/{dist/components → components}/Fetch.d.cts +0 -0
  725. /package/{dist/components → components}/Fetch.d.ts +0 -0
  726. /package/{dist/components → components}/Fetch.js +0 -0
  727. /package/{dist/components → components}/Inngest.d.cts +0 -0
  728. /package/{dist/components → components}/Inngest.d.ts +0 -0
  729. /package/{dist/components → components}/InngestCommHandler.d.cts +0 -0
  730. /package/{dist/components → components}/InngestCommHandler.d.ts +0 -0
  731. /package/{dist/components → components}/InngestFunction.d.cts +0 -0
  732. /package/{dist/components → components}/InngestFunction.d.ts +0 -0
  733. /package/{dist/components → components}/InngestFunctionReference.cjs +0 -0
  734. /package/{dist/components → components}/InngestFunctionReference.d.cts +0 -0
  735. /package/{dist/components → components}/InngestFunctionReference.d.ts +0 -0
  736. /package/{dist/components → components}/InngestFunctionReference.js +0 -0
  737. /package/{dist/components → components}/InngestMiddleware.d.cts +0 -0
  738. /package/{dist/components → components}/InngestMiddleware.d.ts +0 -0
  739. /package/{dist/components → components}/InngestStepTools.d.cts +0 -0
  740. /package/{dist/components → components}/InngestStepTools.d.ts +0 -0
  741. /package/{dist/components → components}/NonRetriableError.cjs +0 -0
  742. /package/{dist/components → components}/NonRetriableError.d.cts +0 -0
  743. /package/{dist/components → components}/NonRetriableError.d.ts +0 -0
  744. /package/{dist/components → components}/NonRetriableError.js +0 -0
  745. /package/{dist/components → components}/RetryAfterError.d.cts +0 -0
  746. /package/{dist/components → components}/RetryAfterError.d.ts +0 -0
  747. /package/{dist/components → components}/RetryAfterError.js +0 -0
  748. /package/{dist/components → components}/StepError.cjs +0 -0
  749. /package/{dist/components → components}/StepError.d.cts +0 -0
  750. /package/{dist/components → components}/StepError.d.ts +0 -0
  751. /package/{dist/components → components}/StepError.js +0 -0
  752. /package/{dist/components → components}/connect/index.d.cts +0 -0
  753. /package/{dist/components → components}/connect/index.d.ts +0 -0
  754. /package/{dist/components → components}/connect/types.cjs +0 -0
  755. /package/{dist/components → components}/connect/types.d.cts +0 -0
  756. /package/{dist/components → components}/connect/types.d.ts +0 -0
  757. /package/{dist/components → components}/connect/types.js +0 -0
  758. /package/{dist/components → components}/connect/util.cjs +0 -0
  759. /package/{dist/components → components}/connect/util.js +0 -0
  760. /package/{dist/components → components}/execution/InngestExecution.d.cts +0 -0
  761. /package/{dist/components → components}/execution/InngestExecution.d.ts +0 -0
  762. /package/{dist/components → components}/execution/als.cjs +0 -0
  763. /package/{dist/components → components}/execution/als.js +0 -0
  764. /package/{dist/components → components}/execution/otel/access.cjs +0 -0
  765. /package/{dist/components → components}/execution/otel/access.js +0 -0
  766. /package/{dist/components → components}/execution/otel/consts.cjs +0 -0
  767. /package/{dist/components → components}/execution/otel/consts.cjs.map +0 -0
  768. /package/{dist/components → components}/execution/otel/consts.js +0 -0
  769. /package/{dist/components → components}/execution/otel/consts.js.map +0 -0
  770. /package/{dist/components → components}/execution/otel/middleware.d.cts +0 -0
  771. /package/{dist/components → components}/execution/otel/middleware.d.ts +0 -0
  772. /package/{dist/components → components}/execution/otel/middleware.js +0 -0
  773. /package/{dist/components → components}/execution/otel/processor.d.cts +0 -0
  774. /package/{dist/components → components}/execution/otel/processor.d.ts +0 -0
  775. /package/{dist/components → components}/execution/otel/util.d.cts +0 -0
  776. /package/{dist/components → components}/execution/otel/util.d.ts +0 -0
  777. /package/{dist/components → components}/execution/otel/util.js +0 -0
  778. /package/{dist/components → components}/execution/v0.d.cts +0 -0
  779. /package/{dist/components → components}/execution/v0.d.ts +0 -0
  780. /package/{dist/components → components}/execution/v1.d.cts +0 -0
  781. /package/{dist/components → components}/execution/v1.d.ts +0 -0
  782. /package/{dist/components → components}/execution/v2.d.cts +0 -0
  783. /package/{dist/components → components}/execution/v2.d.ts +0 -0
  784. /package/{dist/connect.cjs → connect.cjs} +0 -0
  785. /package/{dist/connect.d.cts → connect.d.cts} +0 -0
  786. /package/{dist/connect.d.ts → connect.d.ts} +0 -0
  787. /package/{dist/connect.js → connect.js} +0 -0
  788. /package/{dist/deno → deno}/fresh.d.cts +0 -0
  789. /package/{dist/deno → deno}/fresh.d.ts +0 -0
  790. /package/{dist/digitalocean.d.cts → digitalocean.d.cts} +0 -0
  791. /package/{dist/digitalocean.d.ts → digitalocean.d.ts} +0 -0
  792. /package/{dist/edge.d.cts → edge.d.cts} +0 -0
  793. /package/{dist/edge.d.ts → edge.d.ts} +0 -0
  794. /package/{dist/experimental.cjs → experimental.cjs} +0 -0
  795. /package/{dist/experimental.d.cts → experimental.d.cts} +0 -0
  796. /package/{dist/experimental.d.ts → experimental.d.ts} +0 -0
  797. /package/{dist/experimental.js → experimental.js} +0 -0
  798. /package/{dist/express.d.cts → express.d.cts} +0 -0
  799. /package/{dist/express.d.ts → express.d.ts} +0 -0
  800. /package/{dist/fastify.d.cts → fastify.d.cts} +0 -0
  801. /package/{dist/fastify.d.ts → fastify.d.ts} +0 -0
  802. /package/{dist/h3.d.cts → h3.d.cts} +0 -0
  803. /package/{dist/h3.d.ts → h3.d.ts} +0 -0
  804. /package/{dist/helpers → helpers}/ServerTiming.d.cts +0 -0
  805. /package/{dist/helpers → helpers}/ServerTiming.d.ts +0 -0
  806. /package/{dist/helpers → helpers}/assertions.cjs +0 -0
  807. /package/{dist/helpers → helpers}/assertions.cjs.map +0 -0
  808. /package/{dist/helpers → helpers}/assertions.d.cts +0 -0
  809. /package/{dist/helpers → helpers}/assertions.d.ts +0 -0
  810. /package/{dist/helpers → helpers}/assertions.js +0 -0
  811. /package/{dist/helpers → helpers}/assertions.js.map +0 -0
  812. /package/{dist/helpers → helpers}/consts.d.cts +0 -0
  813. /package/{dist/helpers → helpers}/consts.d.ts +0 -0
  814. /package/{dist/helpers → helpers}/consts.js +0 -0
  815. /package/{dist/helpers → helpers}/crypto.cjs +0 -0
  816. /package/{dist/helpers → helpers}/crypto.js +0 -0
  817. /package/{dist/helpers → helpers}/enum.cjs +0 -0
  818. /package/{dist/helpers → helpers}/enum.js +0 -0
  819. /package/{dist/helpers → helpers}/errors.d.cts +0 -0
  820. /package/{dist/helpers → helpers}/errors.d.ts +0 -0
  821. /package/{dist/helpers → helpers}/jsonify.d.cts +0 -0
  822. /package/{dist/helpers → helpers}/jsonify.d.ts +0 -0
  823. /package/{dist/helpers → helpers}/stream.cjs +0 -0
  824. /package/{dist/helpers → helpers}/stream.js +0 -0
  825. /package/{dist/helpers → helpers}/temporal.cjs +0 -0
  826. /package/{dist/helpers → helpers}/temporal.js +0 -0
  827. /package/{dist/helpers → helpers}/validators/index.d.cts +0 -0
  828. /package/{dist/helpers → helpers}/validators/index.d.ts +0 -0
  829. /package/{dist/helpers → helpers}/validators/zod.d.cts +0 -0
  830. /package/{dist/helpers → helpers}/validators/zod.d.ts +0 -0
  831. /package/{dist/hono.d.cts → hono.d.cts} +0 -0
  832. /package/{dist/hono.d.ts → hono.d.ts} +0 -0
  833. /package/{dist/index.cjs → index.cjs} +0 -0
  834. /package/{dist/index.js → index.js} +0 -0
  835. /package/{dist/internals.cjs → internals.cjs} +0 -0
  836. /package/{dist/internals.d.cts → internals.d.cts} +0 -0
  837. /package/{dist/internals.d.ts → internals.d.ts} +0 -0
  838. /package/{dist/internals.js → internals.js} +0 -0
  839. /package/{dist/koa.d.cts → koa.d.cts} +0 -0
  840. /package/{dist/koa.d.ts → koa.d.ts} +0 -0
  841. /package/{dist/lambda.d.cts → lambda.d.cts} +0 -0
  842. /package/{dist/lambda.d.ts → lambda.d.ts} +0 -0
  843. /package/{dist/middleware → middleware}/dependencyInjection.cjs +0 -0
  844. /package/{dist/middleware → middleware}/dependencyInjection.d.cts +0 -0
  845. /package/{dist/middleware → middleware}/dependencyInjection.d.ts +0 -0
  846. /package/{dist/middleware → middleware}/dependencyInjection.js +0 -0
  847. /package/{dist/middleware → middleware}/logger.cjs +0 -0
  848. /package/{dist/middleware → middleware}/logger.d.cts +0 -0
  849. /package/{dist/middleware → middleware}/logger.d.ts +0 -0
  850. /package/{dist/middleware → middleware}/logger.js +0 -0
  851. /package/{dist/next.d.cts → next.d.cts} +0 -0
  852. /package/{dist/next.d.ts → next.d.ts} +0 -0
  853. /package/{dist/nitro.cjs → nitro.cjs} +0 -0
  854. /package/{dist/nitro.d.cts → nitro.d.cts} +0 -0
  855. /package/{dist/nitro.d.ts → nitro.d.ts} +0 -0
  856. /package/{dist/nitro.js → nitro.js} +0 -0
  857. /package/{dist/node.d.cts → node.d.cts} +0 -0
  858. /package/{dist/node.d.ts → node.d.ts} +0 -0
  859. /package/{dist/nuxt.cjs → nuxt.cjs} +0 -0
  860. /package/{dist/nuxt.d.cts → nuxt.d.cts} +0 -0
  861. /package/{dist/nuxt.d.ts → nuxt.d.ts} +0 -0
  862. /package/{dist/nuxt.js → nuxt.js} +0 -0
  863. /package/{dist/proto → proto}/google/protobuf/timestamp.js +0 -0
  864. /package/{dist/proto → proto}/src/components/connect/protobuf/connect.js +0 -0
  865. /package/{dist/redwood.d.cts → redwood.d.cts} +0 -0
  866. /package/{dist/redwood.d.ts → redwood.d.ts} +0 -0
  867. /package/{dist/remix.d.cts → remix.d.cts} +0 -0
  868. /package/{dist/remix.d.ts → remix.d.ts} +0 -0
  869. /package/{dist/sveltekit.d.cts → sveltekit.d.cts} +0 -0
  870. /package/{dist/sveltekit.d.ts → sveltekit.d.ts} +0 -0
  871. /package/{dist/types.d.cts → types.d.cts} +0 -0
  872. /package/{dist/types.d.ts → types.d.ts} +0 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,1917 @@
1
+ # inngest
2
+
3
+ ## 3.42.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1087](https://github.com/inngest/inngest-js/pull/1087) [`6557014`](https://github.com/inngest/inngest-js/commit/655701448c80a86b4039ca570bacaf9ba1f16399) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix bad release command
8
+
9
+ ## 3.42.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#1085](https://github.com/inngest/inngest-js/pull/1085) [`d081d36`](https://github.com/inngest/inngest-js/commit/d081d36169aa476f3058f3d626ce4efdd4fcf6aa) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix legacy exports when using older module resolution
14
+
15
+ ## 3.42.1
16
+
17
+ ### Patch Changes
18
+
19
+ - [#1083](https://github.com/inngest/inngest-js/pull/1083) [`2f24a09`](https://github.com/inngest/inngest-js/commit/2f24a09ec17e99422688b175bc80d43e06f42c36) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `"inngest/connect"` not being exported in JSR package
20
+
21
+ - [#1083](https://github.com/inngest/inngest-js/pull/1083) [`2f24a09`](https://github.com/inngest/inngest-js/commit/2f24a09ec17e99422688b175bc80d43e06f42c36) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Export some internal packages under `"inngest/internals"` for `@inngest/test` use
22
+
23
+ ## 3.42.0
24
+
25
+ ### Minor Changes
26
+
27
+ - [#920](https://github.com/inngest/inngest-js/pull/920) [`0da1995`](https://github.com/inngest/inngest-js/commit/0da1995f9a194b6dd9708a6d8b451efba17c60fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Added `isInngest`, `isInngestFunction`, and `isInngestMiddleware`, runtime helpers to check if a given object is the expected type.
28
+
29
+ ```ts
30
+ import { isInngest, isInngestFunction, isInngestMiddleware } from "inngest";
31
+
32
+ const objIsInngest = isInngest(someObj);
33
+ const objIsInngestFunction = isInngestFunction(someObj);
34
+ const objIsInngestMiddleware = isInngestMiddleware(someObj);
35
+ ```
36
+
37
+ - [#920](https://github.com/inngest/inngest-js/pull/920) [`0da1995`](https://github.com/inngest/inngest-js/commit/0da1995f9a194b6dd9708a6d8b451efba17c60fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add support for [Standard Schema](https://github.com/standard-schema/standard-schema) when specifying event types.
38
+
39
+ ```ts
40
+ import { EventSchemas } from "inngest";
41
+ import { z } from "zod";
42
+
43
+ const schemas = new EventSchemas().fromSchema({
44
+ "demo/event.sent": z.object({
45
+ username: z.string(),
46
+ }),
47
+ });
48
+ ```
49
+
50
+ This entrypoint can be used for both Zod v3 and v4 schemas, as well as a multitude of others.
51
+
52
+ `.fromZod()` is still available, which provides some more nuanced use cases but will is deprecated in favor of `.fromSchema()`.
53
+
54
+ ### Patch Changes
55
+
56
+ - [#920](https://github.com/inngest/inngest-js/pull/920) [`0da1995`](https://github.com/inngest/inngest-js/commit/0da1995f9a194b6dd9708a6d8b451efba17c60fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Dropped support for Node 14, 16, and 18, as they are out of LTS
57
+
58
+ - [#920](https://github.com/inngest/inngest-js/pull/920) [`0da1995`](https://github.com/inngest/inngest-js/commit/0da1995f9a194b6dd9708a6d8b451efba17c60fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - `inngest` no longer requires an earlier version of `zod@3.22.0` as a peer dependency
59
+
60
+ - [#920](https://github.com/inngest/inngest-js/pull/920) [`0da1995`](https://github.com/inngest/inngest-js/commit/0da1995f9a194b6dd9708a6d8b451efba17c60fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Now builds separate EJS and CSM packages, which should alleviate some issues attempting to get the current single build to satisfy all conditions.
61
+
62
+ Most notably, pure ESM consumers should now have a significantly easier time using the library.
63
+
64
+ - [#920](https://github.com/inngest/inngest-js/pull/920) [`0da1995`](https://github.com/inngest/inngest-js/commit/0da1995f9a194b6dd9708a6d8b451efba17c60fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Use `Symbol.toStringTag` for `*.Like` types, making them much more reliable across versions.
65
+
66
+ This means you can check for the type of value against Inngset values much more easily:
67
+
68
+ ```ts
69
+ type IsInngest<T> = T extends Inngest.Like ? true : false;
70
+ type IsInngestFunction = T extends InngestFunction.Like ? true : false;
71
+ type IsInngestMiddleware = T extends InngestMiddleware.Like ? true : false;
72
+ ```
73
+
74
+ In addition, logged objects that are these types now show the type instead of just `[object Object]`, e.g. `[object Inngest.App]`.
75
+
76
+ - [#920](https://github.com/inngest/inngest-js/pull/920) [`0da1995`](https://github.com/inngest/inngest-js/commit/0da1995f9a194b6dd9708a6d8b451efba17c60fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Middleware now runs like onion layers. For example `{ middleware: [foo, bar] }` now runs:
77
+
78
+ - `foo.transformInput`
79
+ - `bar.transformInput`
80
+ - `foo.beforeMemoization`
81
+ - `bar.beforeMemoization`
82
+ - `bar.afterMemoization`
83
+ - `foo.afterMemoization`
84
+ - `foo.beforeExecution`
85
+ - `bar.beforeExecution`
86
+ - `bar.afterExecution`
87
+ - `foo.afterExecution`
88
+ - `bar.transformOutput`
89
+ - `foo.transformOutput`
90
+ - `foo finished`
91
+ - `bar finished`
92
+ - `foo beforeResponse`
93
+ - `bar beforeResponse`
94
+
95
+ This should enable middleware to behave correctly when it has to wrap other middleware.
96
+
97
+ - [#920](https://github.com/inngest/inngest-js/pull/920) [`0da1995`](https://github.com/inngest/inngest-js/commit/0da1995f9a194b6dd9708a6d8b451efba17c60fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Drop support for TypeScript 4.7, 4.8, 4.9, 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6 and 5.7
98
+
99
+ ## 3.41.0
100
+
101
+ ### Minor Changes
102
+
103
+ - [#1078](https://github.com/inngest/inngest-js/pull/1078) [`3e5bf652`](https://github.com/inngest/inngest-js/commit/3e5bf652a7a769cc27202fd241da5bc6b9bcc331) Thanks [@tonyhb](https://github.com/tonyhb)! - Allow passing `publish` options to `step.ai.infer()`, automatically publishing to realtime channel/topics
104
+
105
+ ## 3.40.3
106
+
107
+ ### Patch Changes
108
+
109
+ - [#1040](https://github.com/inngest/inngest-js/pull/1040) [`8ba5486`](https://github.com/inngest/inngest-js/commit/8ba548647ab17b91b750eea997c016dedee9f1c2) Thanks [@jpwilliams](https://github.com/jpwilliams)! - SDK appropriately sets `"inngest.traceref"` for userland otel spans
110
+
111
+ ## 3.40.2
112
+
113
+ ### Patch Changes
114
+
115
+ - [#1045](https://github.com/inngest/inngest-js/pull/1045) [`ec2320a`](https://github.com/inngest/inngest-js/commit/ec2320a2dbbfacf22d2399c0eb28f3280507b49f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `type` to `step.sendEvent()` to differentiate it from other `step.run()`-based steps
116
+
117
+ - [#1050](https://github.com/inngest/inngest-js/pull/1050) [`ac9748f`](https://github.com/inngest/inngest-js/commit/ac9748f506f34f3f9329c73d55d39aeecd76499b) Thanks [@lkasinathan](https://github.com/lkasinathan)! - Introduces support for the `if` expression on the batchEvents configuration. This can be used to determine which events are eligible for batching. For more details, check out the [batching documentation](https://innge.st/batching)!
118
+
119
+ ## 3.40.1
120
+
121
+ ### Patch Changes
122
+
123
+ - [#1028](https://github.com/inngest/inngest-js/pull/1028) [`abb0e8e`](https://github.com/inngest/inngest-js/commit/abb0e8ec97a9fbe33db9b93d7eb8355be2c72464) Thanks [@charlypoly](https://github.com/charlypoly)! - Revert "obscure "node:async_hooks" import from bundlers"
124
+
125
+ ## 3.40.0
126
+
127
+ ### Minor Changes
128
+
129
+ - [#1011](https://github.com/inngest/inngest-js/pull/1011) [`126a984`](https://github.com/inngest/inngest-js/commit/126a984524968854763eb4ed428dc6ca6127236c) Thanks [@KiKoS0](https://github.com/KiKoS0)! - Add support for cancel mode in function singletons
130
+
131
+ ### Patch Changes
132
+
133
+ - [#1020](https://github.com/inngest/inngest-js/pull/1020) [`bff90cc`](https://github.com/inngest/inngest-js/commit/bff90cc580cb68b3d9959adadfe6cd73cf1da252) Thanks [@thomasballinger](https://github.com/thomasballinger)! - The optional import of Node.js module "node:async_hooks" is more likely to by dynamic, even after bundling this library. This change makes this feature-detecting dynamic import work correctly when bundled for the Convex JS runtime.
134
+
135
+ - Updated dependencies [[`bf8ab80`](https://github.com/inngest/inngest-js/commit/bf8ab80fd4601fae6a71188821df1e40e89d541b), [`6f478be`](https://github.com/inngest/inngest-js/commit/6f478bee07bb96eea6e0153f04d4f9060b6b570d)]:
136
+ - @inngest/ai@0.1.5
137
+
138
+ ## 3.39.2
139
+
140
+ ### Patch Changes
141
+
142
+ - [#1001](https://github.com/inngest/inngest-js/pull/1001) [`fbbb498`](https://github.com/inngest/inngest-js/commit/fbbb49854e9599850231c76ad0cc108a6de31696) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add streaming support for `"inngest/express"`
143
+
144
+ - [#1013](https://github.com/inngest/inngest-js/pull/1013) [`2ac3a71`](https://github.com/inngest/inngest-js/commit/2ac3a718e7eea2662f646627141eecdffece6318) Thanks [@jacobheric](https://github.com/jacobheric)! - Fix errors serialized in the `cause` field not being deserialized correctly
145
+
146
+ ## 3.39.1
147
+
148
+ ### Patch Changes
149
+
150
+ - [#999](https://github.com/inngest/inngest-js/pull/999) [`c5d3b6e`](https://github.com/inngest/inngest-js/commit/c5d3b6ecceee0cde61dc3f920e548ce52895c03a) Thanks [@amh4r](https://github.com/amh4r)! - Allow arbitrary field/method access to underlying logger
151
+
152
+ ## 3.39.0
153
+
154
+ ### Minor Changes
155
+
156
+ - [#994](https://github.com/inngest/inngest-js/pull/994) [`a1e8adb`](https://github.com/inngest/inngest-js/commit/a1e8adba73eff9df9bf9b067a0115c9089d8e1c6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add support for function singletons
157
+
158
+ ## 3.38.1
159
+
160
+ ### Patch Changes
161
+
162
+ - [#989](https://github.com/inngest/inngest-js/pull/989) [`5e3ec3b`](https://github.com/inngest/inngest-js/commit/5e3ec3b59730b83ecccae2569812cd3ced5794d9) Thanks [@jpwilliams](https://github.com/jpwilliams)! - When executing, use the `serve()` call's client instead of the function's
163
+
164
+ - [#997](https://github.com/inngest/inngest-js/pull/997) [`4120413`](https://github.com/inngest/inngest-js/commit/41204139dab6ce3767cc3692eb3eeee52db8a6bb) Thanks [@djfarrelly](https://github.com/djfarrelly)! - Add connect types for convenience and discoverability
165
+
166
+ ## 3.38.0
167
+
168
+ ### Minor Changes
169
+
170
+ - [#985](https://github.com/inngest/inngest-js/pull/985) [`4616919`](https://github.com/inngest/inngest-js/commit/46169199801719727da8d5e44f9505a06e21055c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add ability for signal waits to supersede others
171
+
172
+ ```ts
173
+ await step.waitForSignal("step-id", {
174
+ signal: "my-signal",
175
+ timeout: "5m",
176
+ onConflict: "replace",
177
+ });
178
+ ```
179
+
180
+ ## 3.37.0
181
+
182
+ ### Minor Changes
183
+
184
+ - [#979](https://github.com/inngest/inngest-js/pull/979) [`3e6a3e5`](https://github.com/inngest/inngest-js/commit/3e6a3e52c69af47ccc4baf014d5a67f21cd80235) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `step.waitForSignal()`, `step.sendSignal()`, and `inngest.sendSignal()` as experimental new tooling
185
+
186
+ ## 3.36.0
187
+
188
+ ### Minor Changes
189
+
190
+ - [#909](https://github.com/inngest/inngest-js/pull/909) [`35cf326`](https://github.com/inngest/inngest-js/commit/35cf326fe3877f2688a73322a481df0e2b2fc064) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Added experimental otel for capturing userland spans
191
+
192
+ ## 3.35.1
193
+
194
+ ### Patch Changes
195
+
196
+ - [#950](https://github.com/inngest/inngest-js/pull/950) [`0099c56`](https://github.com/inngest/inngest-js/commit/0099c562c54d44d476800af74c7cae775aaa1cdc) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - Connect: Reliability improvements
197
+
198
+ ## 3.35.0
199
+
200
+ ### Minor Changes
201
+
202
+ - [#912](https://github.com/inngest/inngest-js/pull/912) [`a641cc2`](https://github.com/inngest/inngest-js/commit/a641cc219846a2c6ef66ad62fb371725555e7caa) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Adds a `fetch` export from `"inngest"` to allow any library that accepts a Fetch API-compatible function to automatically turn any call into a durable step if used within the context of an Inngest Function.
203
+
204
+ By default, if called outside of the context of an Inngest Function (or within an existing step), it will fall back to using the global `fetch`, or a fallback of the user's choice.
205
+
206
+ ```ts
207
+ // Basic use
208
+ import { fetch } from "inngest";
209
+
210
+ const api = new MyProductApi({ fetch });
211
+ ```
212
+
213
+ ```ts
214
+ // With a fallback
215
+ import { fetch } from "inngest";
216
+
217
+ const api = new MyProductApi({
218
+ fetch: fetch.config({
219
+ fallback: myCustomFetchFallback,
220
+ }),
221
+ });
222
+ ```
223
+
224
+ ```ts
225
+ // Remove the default fallback and error if called outside an Inngest Function
226
+ import { fetch } from "inngest";
227
+
228
+ const api = new MyProductApi({
229
+ fetch: fetch.config({
230
+ fallback: undefined,
231
+ }),
232
+ });
233
+ ```
234
+
235
+ It's also available within a function as `step.fetch`.
236
+
237
+ ```ts
238
+ inngest.createFunction(
239
+ {
240
+ id: "my-fn",
241
+ },
242
+ {
243
+ event: "my-event",
244
+ },
245
+ async ({ step }) => {
246
+ const api = new MyProductApi({ fetch: step.fetch });
247
+ },
248
+ );
249
+ ```
250
+
251
+ ## 3.34.5
252
+
253
+ ### Patch Changes
254
+
255
+ - [#944](https://github.com/inngest/inngest-js/pull/944) [`54b860a`](https://github.com/inngest/inngest-js/commit/54b860a88dc84511390e73993d77511b9b323635) Thanks [@amh4r](https://github.com/amh4r)! - Use x-inngest-event-id-seed header instead of event idempotency ID
256
+
257
+ - [#937](https://github.com/inngest/inngest-js/pull/937) [`c6e9131`](https://github.com/inngest/inngest-js/commit/c6e9131900fcea3184661dd9573e0e2669224fd4) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Normalize headers in `"inngest/lambda"` - mocked requests with non-lowercase headers are now handled
258
+
259
+ - [#945](https://github.com/inngest/inngest-js/pull/945) [`4506581`](https://github.com/inngest/inngest-js/commit/4506581520fe55270b78a23ade2f61b7b7107ce8) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Bump `resolveAfterPending()` microtask shim count to `100`, reducing parallel index warnings
260
+
261
+ ## 3.34.4
262
+
263
+ ### Patch Changes
264
+
265
+ - [#942](https://github.com/inngest/inngest-js/pull/942) [`3903aa7`](https://github.com/inngest/inngest-js/commit/3903aa7e1db4c2335f8e1bf1d0a570577440e1d4) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `inngest/function.cancelled` event to known internal schemas
266
+
267
+ ## 3.34.3
268
+
269
+ ### Patch Changes
270
+
271
+ - [#938](https://github.com/inngest/inngest-js/pull/938) [`efd658c`](https://github.com/inngest/inngest-js/commit/efd658cd0293b58aeea14db32c73bcf49483b35e) Thanks [@anafilipadealmeida](https://github.com/anafilipadealmeida)! - Update description for `batchSize`; pricing plans decide on max limits
272
+
273
+ ## 3.34.2
274
+
275
+ ### Patch Changes
276
+
277
+ - [#934](https://github.com/inngest/inngest-js/pull/934) [`abae7fc`](https://github.com/inngest/inngest-js/commit/abae7fce16f4b3171705d23bed9bfdda3b70bdec) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Require `runId` when publishing realtime messages
278
+
279
+ ## 3.34.1
280
+
281
+ ### Patch Changes
282
+
283
+ - [#925](https://github.com/inngest/inngest-js/pull/925) [`11fd15b`](https://github.com/inngest/inngest-js/commit/11fd15be198d20a73bf95e93d863d8150ec4fdb6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Export `fastifyPlugin` as a named export to resolve CJS<->ESM interop issues
284
+
285
+ ## 3.34.0
286
+
287
+ ### Minor Changes
288
+
289
+ - [#919](https://github.com/inngest/inngest-js/pull/919) [`ebeaaff`](https://github.com/inngest/inngest-js/commit/ebeaaffa2fde4f6cec0f0554cc9f5f033da07f40) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `dependencyInjectionMiddleware()`, allowing you to easily add data to function input
290
+
291
+ ```ts
292
+ import { dependencyInjectionMiddleware } from "inngest";
293
+
294
+ const prisma = new Prisma();
295
+
296
+ const inngest = new Inngest({
297
+ id: "my-app",
298
+ middleware: [dependencyInjectionMiddleware({ prisma })],
299
+ });
300
+ ```
301
+
302
+ ### Patch Changes
303
+
304
+ - [#922](https://github.com/inngest/inngest-js/pull/922) [`3374187`](https://github.com/inngest/inngest-js/commit/3374187eca44bbbc83daaaea511d7bbe84112a9d) Thanks [@jpwilliams](https://github.com/jpwilliams)! - `Error.cause` can now be any `unknown` value, though we still attempt to recursively expand causes until we hit an `unknown` value
305
+
306
+ ## 3.33.0
307
+
308
+ ### Minor Changes
309
+
310
+ - [#918](https://github.com/inngest/inngest-js/pull/918) [`a305a15`](https://github.com/inngest/inngest-js/commit/a305a154eb73c54a0d90a437130ab32f7e388c90) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add support for [Temporal](https://tc39.es/proposal-temporal/) APIs.
311
+
312
+ ```ts
313
+ inngest.createFunction(
314
+ {
315
+ id: "my-fn",
316
+ },
317
+ {
318
+ event: "test/hello.world",
319
+ },
320
+ async ({ event, step }) => {
321
+ // sleep with a `Temporal.Duration`
322
+ await step.sleep("😴", Temporal.Duration.from({ seconds: 10 }));
323
+ await step.sleep("😴", Temporal.Duration.from({ minutes: 5 }));
324
+ await step.sleep("😴", Temporal.Duration.from({ hours: 1 }));
325
+
326
+ // sleepUntil using a `Temporal.Instant` or `Temporal.ZonedDateTime`
327
+ await step.sleepUntil(
328
+ "😴",
329
+ Temporal.Instant.from("2025-03-19T12:00:00Z"),
330
+ );
331
+ await step.sleepUntil(
332
+ "😴",
333
+ Temporal.ZonedDateTime.from("2025-03-19T12:00[Europe/London]"),
334
+ );
335
+
336
+ // sleepUntil also works with relative time
337
+ const now = Temporal.Instant.from(event.user.createdAtISO);
338
+ await step.sleepUntil(
339
+ "😴",
340
+ now.add(Temporal.Duration.from({ minutes: 30 })),
341
+ );
342
+ },
343
+ );
344
+ ```
345
+
346
+ ### Patch Changes
347
+
348
+ - [#745](https://github.com/inngest/inngest-js/pull/745) [`ff01cd2`](https://github.com/inngest/inngest-js/commit/ff01cd29a4b93f268c3eefb81d44100c2a4c1919) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix rare body reuse when parsing failure returns from `inngest.send()` and `step.sendEvent()`
349
+
350
+ - [#916](https://github.com/inngest/inngest-js/pull/916) [`ab835ee`](https://github.com/inngest/inngest-js/commit/ab835eeb891be45302c8bbe07d781d6a3de9f2a0) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - - Connect: Allow supplying Inngest env as environment variable
351
+
352
+ - [#913](https://github.com/inngest/inngest-js/pull/913) [`b090e27`](https://github.com/inngest/inngest-js/commit/b090e278d471f425c8a216836c8109bd5086fd56) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Export the `version` of the package
353
+
354
+ - [#921](https://github.com/inngest/inngest-js/pull/921) [`374727f`](https://github.com/inngest/inngest-js/commit/374727f316bb9e71eee64328d0cb1afe95574126) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - connect: Include RunID in acks / sdk response
355
+
356
+ ## 3.32.9
357
+
358
+ ### Patch Changes
359
+
360
+ - [#914](https://github.com/inngest/inngest-js/pull/914) [`9a5dd61`](https://github.com/inngest/inngest-js/commit/9a5dd61abb03936bf2df6196ee48e626508b70bf) Thanks [@tonyhb](https://github.com/tonyhb)! - Allow customization of the dev server URL in realtime
361
+
362
+ ## 3.32.8
363
+
364
+ ### Patch Changes
365
+
366
+ - [#910](https://github.com/inngest/inngest-js/pull/910) [`d184913`](https://github.com/inngest/inngest-js/commit/d184913eaa09f2be39354be6f66abdddefd6c3a8) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `shouldOptimizeParallelism()` error when attempting to serve functions using multiple versions of `inngest`
367
+
368
+ ## 3.32.7
369
+
370
+ ### Patch Changes
371
+
372
+ - [#889](https://github.com/inngest/inngest-js/pull/889) [`5d5bd10`](https://github.com/inngest/inngest-js/commit/5d5bd10169bd7c303dcf8adb93f25990b6cebcaa) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Automatically set all AI models exports in step tooling based on `@inngest/ai` version
373
+
374
+ ## 3.32.6
375
+
376
+ ### Patch Changes
377
+
378
+ - [#892](https://github.com/inngest/inngest-js/pull/892) [`cb165d1`](https://github.com/inngest/inngest-js/commit/cb165d1f88211e81f61ed6e16cdf7ce23e7f770c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add APIs in preparation for realtime calls
379
+
380
+ - [#892](https://github.com/inngest/inngest-js/pull/892) [`cb165d1`](https://github.com/inngest/inngest-js/commit/cb165d1f88211e81f61ed6e16cdf7ce23e7f770c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `executingStep` as an ALS property, allowing async contexts to ascertain whether we are in or out of a step
381
+
382
+ ## 3.32.5
383
+
384
+ ### Patch Changes
385
+
386
+ - [#885](https://github.com/inngest/inngest-js/pull/885) [`90f7c77`](https://github.com/inngest/inngest-js/commit/90f7c7788fee1f880d8daa9a8477fa9a46b00d3a) Thanks [@charlypoly](https://github.com/charlypoly)! - chore: bump `@inngest/ai`
387
+
388
+ ## 3.32.4
389
+
390
+ ### Patch Changes
391
+
392
+ - [#879](https://github.com/inngest/inngest-js/pull/879) [`94ce222`](https://github.com/inngest/inngest-js/commit/94ce2222c28e57b2b4d3bcad2d15e441faeb5c23) Thanks [@charlypoly](https://github.com/charlypoly)! - chore(inngest): bump `@inngest/ai`
393
+
394
+ ## 3.32.3
395
+
396
+ ### Patch Changes
397
+
398
+ - [#877](https://github.com/inngest/inngest-js/pull/877) [`b9a6e89`](https://github.com/inngest/inngest-js/commit/b9a6e89e38990144271dc5c867d0c72944d032cd) Thanks [@jpwilliams](https://github.com/jpwilliams)! - `getAsyncCtx()` now correctly finds context when called within:
399
+ - `step.run()` calls
400
+ - Middleware hooks
401
+
402
+ ## 3.32.2
403
+
404
+ ### Patch Changes
405
+
406
+ - [#875](https://github.com/inngest/inngest-js/pull/875) [`80837fd`](https://github.com/inngest/inngest-js/commit/80837fdbe3b461834a0ac5f1613e85f068ff9e00) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Connect now sets the connection state to `CLOSING` while handling and flushing any pending messages instead of immediately going to `CLOSED`
407
+
408
+ - Updated dependencies [[`6e8b258`](https://github.com/inngest/inngest-js/commit/6e8b258abe7eb48b8a46c6f15fdbc45f1441cbd3)]:
409
+ - @inngest/ai@0.1.0
410
+
411
+ ## 3.32.1
412
+
413
+ ### Patch Changes
414
+
415
+ - [#872](https://github.com/inngest/inngest-js/pull/872) [`5c87495`](https://github.com/inngest/inngest-js/commit/5c87495592eb804b150318c6c38712da63f64e5b) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Upgrade to `@inngest/ai@0.0.5` for better cross-package compatibility
416
+
417
+ ## 3.32.0
418
+
419
+ ### Minor Changes
420
+
421
+ - [#862](https://github.com/inngest/inngest-js/pull/862) [`4330563`](https://github.com/inngest/inngest-js/commit/43305631575d0bdfcd3209441463d3384655005d) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow opting in to optimized parallelism
422
+
423
+ ### Patch Changes
424
+
425
+ - [#862](https://github.com/inngest/inngest-js/pull/862) [`4330563`](https://github.com/inngest/inngest-js/commit/43305631575d0bdfcd3209441463d3384655005d) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Optimize step data that's been promisified using `@inngest/test` or middleware
426
+
427
+ - Updated dependencies [[`58684e1`](https://github.com/inngest/inngest-js/commit/58684e19cd35271e5b5b8460443e363165155fe1), [`62e6a85`](https://github.com/inngest/inngest-js/commit/62e6a85d37e12e5772fcec1a26adaf77dbe4d837), [`f446052`](https://github.com/inngest/inngest-js/commit/f4460528585f7f67c066fd7b8b7bdd87562014a0)]:
428
+ - @inngest/ai@0.0.5
429
+
430
+ ## 3.31.13
431
+
432
+ ### Patch Changes
433
+
434
+ - [#865](https://github.com/inngest/inngest-js/pull/865) [`b2ff76d`](https://github.com/inngest/inngest-js/commit/b2ff76d21dded71b97b3ef698bc2495136544aa6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Ensure support for `typescript@~5.8.0`
435
+
436
+ No notable changes have been made, though minor TypeScript versions often affect transpiled outputs.
437
+
438
+ ## 3.31.12
439
+
440
+ ### Patch Changes
441
+
442
+ - [#864](https://github.com/inngest/inngest-js/pull/864) [`e47965e`](https://github.com/inngest/inngest-js/commit/e47965eb1c5f4f577f96f95dd5fb2a3afb3a19d0) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix event sending failing in some edge environments due to not finding `global.crypto` or `globalThis.crypto` when creating idempotency IDs
443
+
444
+ - [#856](https://github.com/inngest/inngest-js/pull/856) [`cd63ce3`](https://github.com/inngest/inngest-js/commit/cd63ce32f327b47a980dd64db220b7e53b69df6b) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - - Connect: Prefer functions passed through `apps` but fall back to functions registered on the client
445
+
446
+ - [#858](https://github.com/inngest/inngest-js/pull/858) [`ce0c5a8`](https://github.com/inngest/inngest-js/commit/ce0c5a81781ef287a3fb2a2c5500c6a058d657ae) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Optimize function memoization
447
+
448
+ ## 3.31.11
449
+
450
+ ### Patch Changes
451
+
452
+ - [#851](https://github.com/inngest/inngest-js/pull/851) [`7f96793`](https://github.com/inngest/inngest-js/commit/7f967936dfdb1a332f3370135279ebf7782fb1fc) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - Connect: Allow multi-app connections
453
+
454
+ ## 3.31.10
455
+
456
+ ### Patch Changes
457
+
458
+ - [#852](https://github.com/inngest/inngest-js/pull/852) [`518a5b8`](https://github.com/inngest/inngest-js/commit/518a5b8602a358a78957e0e970d9ba85ef9f4d35) Thanks [@charlypoly](https://github.com/charlypoly)! - chore: bump `@inngest/ai` to `0.0.4`
459
+
460
+ ## 3.31.9
461
+
462
+ ### Patch Changes
463
+
464
+ - [#848](https://github.com/inngest/inngest-js/pull/848) [`dd1bef8`](https://github.com/inngest/inngest-js/commit/dd1bef893f6e1e90a03643d0c2773af2be8dc5dc) Thanks [@amh4r](https://github.com/amh4r)! - Fix serve ID not considered for in-band syncs
465
+
466
+ ## 3.31.8
467
+
468
+ ### Patch Changes
469
+
470
+ - [#845](https://github.com/inngest/inngest-js/pull/845) [`a2aadb1`](https://github.com/inngest/inngest-js/commit/a2aadb1baed2b295d9542206db9f5bd887645755) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - - Connect: Forward tracing and parse user tracing headers
471
+
472
+ ## 3.31.7
473
+
474
+ ### Patch Changes
475
+
476
+ - [#842](https://github.com/inngest/inngest-js/pull/842) [`4237efd`](https://github.com/inngest/inngest-js/commit/4237efd04aebbca55c027f5fed249a77decf3b1c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow for use of `exactOptionalPropertyTypes: true` when serving
477
+
478
+ ## 3.31.6
479
+
480
+ ### Patch Changes
481
+
482
+ - [#840](https://github.com/inngest/inngest-js/pull/840) [`b24fd30`](https://github.com/inngest/inngest-js/commit/b24fd304b339d7d216018ebe203c8b53895f5f38) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - Sync: Provide app version in register request
483
+
484
+ ## 3.31.5
485
+
486
+ ### Patch Changes
487
+
488
+ - [#837](https://github.com/inngest/inngest-js/pull/837) [`cb00a46`](https://github.com/inngest/inngest-js/commit/cb00a46c1a1fa4c71a9b76175e9bffd94f27fa0f) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - Connect: Rename buildId -> appVersion
489
+
490
+ - [#838](https://github.com/inngest/inngest-js/pull/838) [`ece27d7`](https://github.com/inngest/inngest-js/commit/ece27d79ccd91fe35f2ff9de09cefafb5745893b) Thanks [@amh4r](https://github.com/amh4r)! - Fix missing env for introspection and in-band sync
491
+
492
+ ## 3.31.4
493
+
494
+ ### Patch Changes
495
+
496
+ - [#834](https://github.com/inngest/inngest-js/pull/834) [`b304e1c`](https://github.com/inngest/inngest-js/commit/b304e1c41f18ed940885409596ebf8af42050cbe) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - - Remove connect from inngest client, split out into `inngest/connect`
497
+
498
+ ## 3.31.3
499
+
500
+ ### Patch Changes
501
+
502
+ - [#831](https://github.com/inngest/inngest-js/pull/831) [`c331190`](https://github.com/inngest/inngest-js/commit/c331190f20055c9609c5daa91d9efa5ac3eeae27) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - - Read signing key from env var for connect
503
+
504
+ ## 3.31.2
505
+
506
+ ### Patch Changes
507
+
508
+ - [#824](https://github.com/inngest/inngest-js/pull/824) [`1d72eae`](https://github.com/inngest/inngest-js/commit/1d72eae5029517ae81bdc401ec440fe183f266c1) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - - Handle immediate WebSocket failure when connecting to gateway
509
+
510
+ - [#822](https://github.com/inngest/inngest-js/pull/822) [`1136087`](https://github.com/inngest/inngest-js/commit/11360879aebb8cc70e0d8a6cf37ac34f8b294014) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Sending events now has retries, backing off over 5 attempts
511
+
512
+ ## 3.31.1
513
+
514
+ ### Patch Changes
515
+
516
+ - [#817](https://github.com/inngest/inngest-js/pull/817) [`446be1b`](https://github.com/inngest/inngest-js/commit/446be1b5f1aa5c30328e95d0aa23260b586f04d0) Thanks [@jpwilliams](https://github.com/jpwilliams)! - `serve()` and `connect()` now have looser typing for `client` and `functions`, resulting in easier use of multiple `inngest` packages in a single process
517
+
518
+ - [#823](https://github.com/inngest/inngest-js/pull/823) [`f1d2385`](https://github.com/inngest/inngest-js/commit/f1d23855bc412c0c255dc108e4edefffb203af04) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow wildcard event typing with `.fromRecord()`
519
+
520
+ The following schema is now valid:
521
+
522
+ ```ts
523
+ export const schemas = new EventSchemas().fromRecord<{
524
+ "app/blog.post.*":
525
+ | {
526
+ name: "app/blog.post.created";
527
+ data: {
528
+ postId: string;
529
+ authorId: string;
530
+ createdAt: string;
531
+ };
532
+ }
533
+ | {
534
+ name: "app/blog.post.published";
535
+ data: {
536
+ postId: string;
537
+ authorId: string;
538
+ publishedAt: string;
539
+ };
540
+ };
541
+ }>();
542
+ ```
543
+
544
+ When creating a function, this allows you to appropriately type narrow the event to pull out the correct data:
545
+
546
+ ```ts
547
+ inngest.createFunction(
548
+ { id: "my-fn" },
549
+ { event: "app/blog.post.*" },
550
+ async ({ event }) => {
551
+ if (event.name === "app/blog.post.created") {
552
+ console.log("Blog post created at:", event.data.createdAt);
553
+ } else if (event.name === "app/blog.post.published") {
554
+ console.log("Blog post published at:", event.data.publishedAt);
555
+ }
556
+ },
557
+ );
558
+ ```
559
+
560
+ - [#825](https://github.com/inngest/inngest-js/pull/825) [`661ed7b`](https://github.com/inngest/inngest-js/commit/661ed7b278b017958b38e9add6987e35d1a8c616) Thanks [@jpwilliams](https://github.com/jpwilliams)! - If no `functions` are provided to `inngest.connect()`, it will now use any functions that have been created with the client instead
561
+
562
+ - Updated dependencies [[`fadd94a`](https://github.com/inngest/inngest-js/commit/fadd94a998ae1e996941e88830d0f468fc649a85)]:
563
+ - @inngest/ai@0.0.3
564
+
565
+ ## 3.31.0
566
+
567
+ ### Minor Changes
568
+
569
+ - [#820](https://github.com/inngest/inngest-js/pull/820) [`cb02190`](https://github.com/inngest/inngest-js/commit/cb021901ebd996392b345d2a443da72b61d97f9d) Thanks [@amh4r](https://github.com/amh4r)! - Make INNGEST_ALLOW_IN_BAND_SYNC opt out
570
+
571
+ - [#813](https://github.com/inngest/inngest-js/pull/813) [`f42ab05`](https://github.com/inngest/inngest-js/commit/f42ab05a64f747ffc7042724d68c022a4057a2ac) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - Add initial `connect()` support
572
+
573
+ ### Patch Changes
574
+
575
+ - [#818](https://github.com/inngest/inngest-js/pull/818) [`c99b05f`](https://github.com/inngest/inngest-js/commit/c99b05fe1fb3cfdf2c644608634f02f5acadbbd4) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - Add reconnection support to `connect()`
576
+
577
+ - [#819](https://github.com/inngest/inngest-js/pull/819) [`7a5f4a5`](https://github.com/inngest/inngest-js/commit/7a5f4a56ff60f80366809a5a104a2ff9b65eaed1) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Set `inngest`'s ALS in global state to be able access it across versions and package boundaries
578
+
579
+ ## 3.30.0
580
+
581
+ ### Minor Changes
582
+
583
+ - [#805](https://github.com/inngest/inngest-js/pull/805) [`9f4244f`](https://github.com/inngest/inngest-js/commit/9f4244f6f62f30624121e66a656a7a23ac4e5f9a) Thanks [@jpwilliams](https://github.com/jpwilliams)! - You can now add a `description` when creating an Inngest function
584
+
585
+ - [#804](https://github.com/inngest/inngest-js/pull/804) [`7459239`](https://github.com/inngest/inngest-js/commit/74592390bd120ecd82cb686a4bf5f7b82bc5cbbb) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `InngestFunction#absoluteId()` to get the absolute ID of an `InngestFunction`
586
+
587
+ ### Patch Changes
588
+
589
+ - [#803](https://github.com/inngest/inngest-js/pull/803) [`008d971`](https://github.com/inngest/inngest-js/commit/008d9719024cf0f31e04f1160296052023dc55fa) Thanks [@jpwilliams](https://github.com/jpwilliams)! - `myFn["client"]` is now typed
590
+
591
+ - [#802](https://github.com/inngest/inngest-js/pull/802) [`32518bf`](https://github.com/inngest/inngest-js/commit/32518bf6558090379b367c1b8c1540c05755b657) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Use `@inngest/ai` to expose AI models, adapters, and types
592
+
593
+ - Updated dependencies [[`32518bf`](https://github.com/inngest/inngest-js/commit/32518bf6558090379b367c1b8c1540c05755b657)]:
594
+ - @inngest/ai@0.0.1
595
+
596
+ ## 3.29.3
597
+
598
+ ### Patch Changes
599
+
600
+ - [#798](https://github.com/inngest/inngest-js/pull/798) [`f426ba6`](https://github.com/inngest/inngest-js/commit/f426ba69f5b6ac40b77a837868cbec06f5846dfc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix named functions returning `never[]` for their parameters when passed to `step.run()`
601
+
602
+ ```ts
603
+ // This now works
604
+ step.run("", function named() {});
605
+ ```
606
+
607
+ ## 3.29.2
608
+
609
+ ### Patch Changes
610
+
611
+ - [#789](https://github.com/inngest/inngest-js/pull/789) [`56067cd`](https://github.com/inngest/inngest-js/commit/56067cd66fa691c398b4a02d2fbfd64d8335ccd1) Thanks [@amh4r](https://github.com/amh4r)! - Better handle missing request body
612
+
613
+ ## 3.29.1
614
+
615
+ ### Patch Changes
616
+
617
+ - [#794](https://github.com/inngest/inngest-js/pull/794) [`6ffe983`](https://github.com/inngest/inngest-js/commit/6ffe98342cb1b2749047a84a188d287e91fd2307) Thanks [@djfarrelly](https://github.com/djfarrelly)! - Fix inline example to match v3
618
+
619
+ ## 3.29.0
620
+
621
+ ### Minor Changes
622
+
623
+ - [#788](https://github.com/inngest/inngest-js/pull/788) [`bf1c0d1`](https://github.com/inngest/inngest-js/commit/bf1c0d1fb260bcc1846d2188748227243ce8cb6a) Thanks [@djfarrelly](https://github.com/djfarrelly)! - Add vanilla Node.js serve handler
624
+
625
+ ## 3.28.0
626
+
627
+ ### Minor Changes
628
+
629
+ - [#776](https://github.com/inngest/inngest-js/pull/776) [`0dbcc87`](https://github.com/inngest/inngest-js/commit/0dbcc874206d8d87c2c1da1773e5390968dfa527) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add experimental `getAsyncCtx()`, allowing the retrieval of a run's input (`event`, `step`, `runId`, etc) from the relevant async chain.
630
+
631
+ ```ts
632
+ import { getAsyncCtx } from "inngest/experimental";
633
+
634
+ const ctx = await getAsyncCtx();
635
+ ```
636
+
637
+ ### Patch Changes
638
+
639
+ - [#776](https://github.com/inngest/inngest-js/pull/776) [`0dbcc87`](https://github.com/inngest/inngest-js/commit/0dbcc874206d8d87c2c1da1773e5390968dfa527) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Use `@inngest/test@workspace:^` internally for testing
640
+
641
+ ## 3.27.5
642
+
643
+ ### Patch Changes
644
+
645
+ - [#773](https://github.com/inngest/inngest-js/pull/773) [`fb745ef`](https://github.com/inngest/inngest-js/commit/fb745ef749d851031c494f602ff8611a6b1dab14) Thanks [@amh4r](https://github.com/amh4r)! - Fix Nuxt and H3 uses https in dev
646
+
647
+ ## 3.27.4
648
+
649
+ ### Patch Changes
650
+
651
+ - [#770](https://github.com/inngest/inngest-js/pull/770) [`3aab141`](https://github.com/inngest/inngest-js/commit/3aab1410e5d45d71404694bef0067a978b1fceae) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Widen the `AiAdapter` types to allow for easy overrides
652
+
653
+ ## 3.27.3
654
+
655
+ ### Patch Changes
656
+
657
+ - [#768](https://github.com/inngest/inngest-js/pull/768) [`af66ad5`](https://github.com/inngest/inngest-js/commit/af66ad5552dc93d41756ab3b913ceafb72739f77) Thanks [@charlypoly](https://github.com/charlypoly)! - Add `o1-preview` and `o1-mini` to possible OpenAI models
658
+
659
+ ## 3.27.2
660
+
661
+ ### Patch Changes
662
+
663
+ - [#766](https://github.com/inngest/inngest-js/pull/766) [`fa74c6a`](https://github.com/inngest/inngest-js/commit/fa74c6aefdd3c129ad0e5000e1b869f3507980f1) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add missing `finish_reason` to OpenAI output types
664
+
665
+ ## 3.27.1
666
+
667
+ ### Patch Changes
668
+
669
+ - [#764](https://github.com/inngest/inngest-js/pull/764) [`1358b80`](https://github.com/inngest/inngest-js/commit/1358b80c758e85bc61e3f9aaa38e72af4bd1b44e) Thanks [@tonyhb](https://github.com/tonyhb)! - Add max_tokens as a param for anthropic model providers
670
+
671
+ ## 3.27.0
672
+
673
+ ### Minor Changes
674
+
675
+ - [#762](https://github.com/inngest/inngest-js/pull/762) [`255416c`](https://github.com/inngest/inngest-js/commit/255416c4478ac367381da0c166b6762056d94e1d) Thanks [@tonyhb](https://github.com/tonyhb)! - Add `anthropic()` model for `step.ai.*()`
676
+
677
+ ### Patch Changes
678
+
679
+ - [#760](https://github.com/inngest/inngest-js/pull/760) [`efc6c79`](https://github.com/inngest/inngest-js/commit/efc6c79d5a1baf7a011396b8406aea4982f03778) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Ensure support for `typescript@~5.7.0`
680
+
681
+ No notable changes have been made, though minor TypeScript versions often affect transpiled outputs.
682
+
683
+ ## 3.26.3
684
+
685
+ ### Patch Changes
686
+
687
+ - [#758](https://github.com/inngest/inngest-js/pull/758) [`8af4c25`](https://github.com/inngest/inngest-js/commit/8af4c25f96c30a7617774e7d117d7435fe2723f3) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix OpenAI `tools` types - not properly scoped
688
+
689
+ - [#757](https://github.com/inngest/inngest-js/pull/757) [`36b61f0`](https://github.com/inngest/inngest-js/commit/36b61f0f4af477196482eee6a0c86061c481e2b2) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix false indeterminate function warning
690
+
691
+ - [#756](https://github.com/inngest/inngest-js/pull/756) [`7916c06`](https://github.com/inngest/inngest-js/commit/7916c066296a858e3b65cfddd0af4ba51689a3ef) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Expose a type that lists the `AiAdapter` for each format
692
+
693
+ ## 3.26.2
694
+
695
+ ### Patch Changes
696
+
697
+ - [#754](https://github.com/inngest/inngest-js/pull/754) [`2e42438`](https://github.com/inngest/inngest-js/commit/2e42438e42954286e81080a7c6870dbe9882353c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Move AI providers to instead be adapters and models
698
+
699
+ ## 3.26.1
700
+
701
+ ### Patch Changes
702
+
703
+ - [#752](https://github.com/inngest/inngest-js/pull/752) [`290ad29`](https://github.com/inngest/inngest-js/commit/290ad29d26696c9dac8cb5ab50ca75e0b3d903fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow editing `step.ai.infer()`
704
+
705
+ ## 3.26.0
706
+
707
+ ### Minor Changes
708
+
709
+ - [#747](https://github.com/inngest/inngest-js/pull/747) [`871a958`](https://github.com/inngest/inngest-js/commit/871a958bc990216d974b30adc3512672514af912) Thanks [@jacobheric](https://github.com/jacobheric)! - Add `step.ai.*()` tooling, allowing users to leverage AI workflows within Inngest functions
710
+
711
+ ## 3.25.1
712
+
713
+ ### Patch Changes
714
+
715
+ - [#737](https://github.com/inngest/inngest-js/pull/737) [`aff2a3c`](https://github.com/inngest/inngest-js/commit/aff2a3c96e1037184c5daa7aae2714b2ac5ab0c0) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix response signing being able to fail silently
716
+
717
+ - [#739](https://github.com/inngest/inngest-js/pull/739) [`9a2043d`](https://github.com/inngest/inngest-js/commit/9a2043de3e4b6589590a55c757b126c0c170676b) Thanks [@amh4r](https://github.com/amh4r)! - Fix in-band sync URL
718
+
719
+ ## 3.25.0
720
+
721
+ ### Minor Changes
722
+
723
+ - [#733](https://github.com/inngest/inngest-js/pull/733) [`96f5965`](https://github.com/inngest/inngest-js/commit/96f59653decff658bbd8c604767ed20e3c0a4c4f) Thanks [@tonyhb](https://github.com/tonyhb)! - Add timeouts as function config
724
+
725
+ ## 3.24.0
726
+
727
+ ### Minor Changes
728
+
729
+ - [#685](https://github.com/inngest/inngest-js/pull/685) [`801946b`](https://github.com/inngest/inngest-js/commit/801946b349f20cdb9d0b5e77539ba253aab8348a) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `"inngest/nitro"` serve handler
730
+
731
+ ### Patch Changes
732
+
733
+ - [#729](https://github.com/inngest/inngest-js/pull/729) [`511c2a1`](https://github.com/inngest/inngest-js/commit/511c2a1e37db88b62f236247849199c1701fecfb) Thanks [@amh4r](https://github.com/amh4r)! - Fix crash when receiving a PUT without a body
734
+
735
+ - [#685](https://github.com/inngest/inngest-js/pull/685) [`801946b`](https://github.com/inngest/inngest-js/commit/801946b349f20cdb9d0b5e77539ba253aab8348a) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix imports requiring internal extensions when being consumed by true ESM
736
+
737
+ ## 3.23.1
738
+
739
+ ### Patch Changes
740
+
741
+ - [#657](https://github.com/inngest/inngest-js/pull/657) [`7ca9537`](https://github.com/inngest/inngest-js/commit/7ca9537e11a370b2b8b37ce57ec7d9892c911eac) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Expose `EventSchemas` in `Inngest` instances
742
+
743
+ - [#311](https://github.com/inngest/inngest-js/pull/311) [`a53356a`](https://github.com/inngest/inngest-js/commit/a53356a68ecfff19a14652186c5840b3a3ed7d89) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add streaming capabilities to `"inngest/cloudflare"` handler
744
+
745
+ ## 3.23.0
746
+
747
+ ### Minor Changes
748
+
749
+ - [#702](https://github.com/inngest/inngest-js/pull/702) [`4df5a01`](https://github.com/inngest/inngest-js/commit/4df5a010fab833af254615098433a61846e878bc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add support for in-band syncing
750
+
751
+ ### Patch Changes
752
+
753
+ - [#721](https://github.com/inngest/inngest-js/pull/721) [`59fa466`](https://github.com/inngest/inngest-js/commit/59fa466211dfe146ce2755601a5a32c49ad0fc88) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Support Next.js 15 in serve handler typing
754
+
755
+ ## 3.22.13
756
+
757
+ ### Patch Changes
758
+
759
+ - [#709](https://github.com/inngest/inngest-js/pull/709) [`3041afe`](https://github.com/inngest/inngest-js/commit/3041afe290c07a680f94918b4b00072847fd017d) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Ensure support for TypeScript 5.6
760
+
761
+ No changes to any runtime/user-facing code has been made, but TS upgrades often alter emitted files, so the package will be bumped for folks to take advantage of any performance/compatibility improvments there.
762
+
763
+ ## 3.22.12
764
+
765
+ ### Patch Changes
766
+
767
+ - [#710](https://github.com/inngest/inngest-js/pull/710) [`fc3f1e5`](https://github.com/inngest/inngest-js/commit/fc3f1e5fb457853c4eea7b6c88bab658e47b4fc8) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow access to userland promises when executing for `@inngest/test`
768
+
769
+ ## 3.22.11
770
+
771
+ ### Patch Changes
772
+
773
+ - [#707](https://github.com/inngest/inngest-js/pull/707) [`8c4b9ce`](https://github.com/inngest/inngest-js/commit/8c4b9ceb70646afc585d3eabfb63fdbf8a7a9d1c) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Fix probe response sig with streaming
774
+
775
+ ## 3.22.10
776
+
777
+ ### Patch Changes
778
+
779
+ - [#705](https://github.com/inngest/inngest-js/pull/705) [`f229dea`](https://github.com/inngest/inngest-js/commit/f229dea99e63b94c3d7225936ae92ac1396ecb63) Thanks [@goszczynskip](https://github.com/goszczynskip)! - Fix required type annotation typescript errors; `inngest/types` is now exported with a warning within the module covering its usage
780
+
781
+ ## 3.22.9
782
+
783
+ ### Patch Changes
784
+
785
+ - [#688](https://github.com/inngest/inngest-js/pull/688) [`58549f3`](https://github.com/inngest/inngest-js/commit/58549f3ccb7dbe72d846b32ebde54928974a61d8) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Expose some internal execution logic to make way for a new `@inngest/test` package
786
+
787
+ ## 3.22.8
788
+
789
+ ### Patch Changes
790
+
791
+ - [#697](https://github.com/inngest/inngest-js/pull/697) [`56ed5c1`](https://github.com/inngest/inngest-js/commit/56ed5c11081517db2a72ae27c83cbf4263d9b6ed) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Merge given env vars with `process.env` to support partial env shims like Hono in AWS Lambda
792
+
793
+ - [#696](https://github.com/inngest/inngest-js/pull/696) [`9169d0e`](https://github.com/inngest/inngest-js/commit/9169d0ea246ef880fb60c7058b237fb72ef64efa) Thanks [@albertchae](https://github.com/albertchae)! - Fix typos in debounce documentation
794
+
795
+ ## 3.22.7
796
+
797
+ ### Patch Changes
798
+
799
+ - [#687](https://github.com/inngest/inngest-js/pull/687) [`9f0bdc6`](https://github.com/inngest/inngest-js/commit/9f0bdc60c920d222962e1305e62107ce6fd4c885) Thanks [@MonsterDeveloper](https://github.com/MonsterDeveloper)! - Add exports for `JsonError` type to fix a TypeScript error when using Inngest in projects with `composite` setting in `tsconfig`.
800
+
801
+ ## 3.22.6
802
+
803
+ ### Patch Changes
804
+
805
+ - [#690](https://github.com/inngest/inngest-js/pull/690) [`6a97e1c`](https://github.com/inngest/inngest-js/commit/6a97e1c0d92920fb14392c7005a565d2557eabe2) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Fix 401 on missing sig header during inspection
806
+
807
+ ## 3.22.5
808
+
809
+ ### Patch Changes
810
+
811
+ - [#682](https://github.com/inngest/inngest-js/pull/682) [`2019fe2`](https://github.com/inngest/inngest-js/commit/2019fe218bba7e82c85622d9b90b7eebaa305488) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Fix empty response body when streaming
812
+
813
+ - [#684](https://github.com/inngest/inngest-js/pull/684) [`ae7ea5c`](https://github.com/inngest/inngest-js/commit/ae7ea5c66fc7a6829a7d843a5f7f90ab9936e8cd) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow passing `error` when transforming outputs in middleware
814
+
815
+ ## 3.22.4
816
+
817
+ ### Patch Changes
818
+
819
+ - [#674](https://github.com/inngest/inngest-js/pull/674) [`4100172`](https://github.com/inngest/inngest-js/commit/410017219045c29c0155ecefaf1a1e157b413a41) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add trust probes and response signing for syncing validation
820
+
821
+ ## 3.22.3
822
+
823
+ ### Patch Changes
824
+
825
+ - [#677](https://github.com/inngest/inngest-js/pull/677) [`f4c3dc4`](https://github.com/inngest/inngest-js/commit/f4c3dc4664ce0727769e7a284e5b1c22ef9c4018) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Fix wrong URL when INNGEST_DEV=1
826
+
827
+ ## 3.22.2
828
+
829
+ ### Patch Changes
830
+
831
+ - [#671](https://github.com/inngest/inngest-js/pull/671) [`4f91d9c`](https://github.com/inngest/inngest-js/commit/4f91d9c302592ecc2228914469dd057ae148005b) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add de(serialization) of `Error.cause`, meaning nested errors can now be correctly used with `StepError`
832
+
833
+ ## 3.22.1
834
+
835
+ ### Patch Changes
836
+
837
+ - [#667](https://github.com/inngest/inngest-js/pull/667) [`7e0fd10`](https://github.com/inngest/inngest-js/commit/7e0fd10d742839fc3521cc46b33560be8f3d8dd9) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Fix event key hash exists when event key is not set
838
+
839
+ ## 3.22.0
840
+
841
+ ### Minor Changes
842
+
843
+ - [#665](https://github.com/inngest/inngest-js/pull/665) [`1a4962d`](https://github.com/inngest/inngest-js/commit/1a4962dd1d1ba26f41fa8477f3099ad716c57f66) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `inngest.setEnvVars(env)` to set env vars late on the client
844
+
845
+ ## 3.21.2
846
+
847
+ ### Patch Changes
848
+
849
+ - [#660](https://github.com/inngest/inngest-js/pull/660) [`4ba0ccb`](https://github.com/inngest/inngest-js/commit/4ba0ccb7c616655abffae21aa2aff4932421f285) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Revert not allowing objectish (`[]`) values in `event.data`
850
+
851
+ ## 3.21.1
852
+
853
+ ### Patch Changes
854
+
855
+ - [#655](https://github.com/inngest/inngest-js/pull/655) [`12df420`](https://github.com/inngest/inngest-js/commit/12df4209a972123e2a46ec2aaef3f5df8f3881b5) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Do not allow objectish `[]` for an event's `data` when providing schemas
856
+
857
+ This helps solve an issue whereby types would be happy but sending an event fails at runtime.
858
+
859
+ ## 3.21.0
860
+
861
+ ### Minor Changes
862
+
863
+ - [#651](https://github.com/inngest/inngest-js/pull/651) [`a527cd3`](https://github.com/inngest/inngest-js/commit/a527cd33c89d409c7d51022517ee579dedd71b7f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add a new `onFunctionRun.finished` middleware hook, allowing you to hook into a run finishing successfully or failing
864
+
865
+ ```ts
866
+ new InngestMiddleware({
867
+ name: "My Middleware",
868
+ init() {
869
+ return {
870
+ onFunctionRun() {
871
+ finished({ result }) {
872
+ // ...
873
+ },
874
+ },
875
+ };
876
+ },
877
+ });
878
+ ```
879
+
880
+ - [#650](https://github.com/inngest/inngest-js/pull/650) [`db9ed0e`](https://github.com/inngest/inngest-js/commit/db9ed0e24e02254cf1c49a510fb97e61f898899a) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow specifying an `env` when sending events via the client
881
+
882
+ ```ts
883
+ await inngest.send({ name: "my.event" }, { env: "my-custom-env" });
884
+ ```
885
+
886
+ ### Patch Changes
887
+
888
+ - [#646](https://github.com/inngest/inngest-js/pull/646) [`0c5865c`](https://github.com/inngest/inngest-js/commit/0c5865c17279b1ccad08ffc3fb85771bb9f207d1) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix circular `ctx` type in middleware for TS <5.1
889
+
890
+ - [#651](https://github.com/inngest/inngest-js/pull/651) [`a527cd3`](https://github.com/inngest/inngest-js/commit/a527cd33c89d409c7d51022517ee579dedd71b7f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `beforeExecution()` hook order when all state has been used running before `afterMemoization()`
891
+
892
+ ## 3.20.0
893
+
894
+ ### Minor Changes
895
+
896
+ - [#645](https://github.com/inngest/inngest-js/pull/645) [`809b4ef`](https://github.com/inngest/inngest-js/commit/809b4efec259a608ce77a004d98fbc2f36d2bc3a) Thanks [@BrunoScheufler](https://github.com/BrunoScheufler)! - Introduces support for the `key` expression on the batchEvents configuration. This can be used to batch events by customer. For more details, check out the [batching documentation](https://innge.st/batching)!
897
+
898
+ ## 3.19.22
899
+
900
+ ### Patch Changes
901
+
902
+ - [#644](https://github.com/inngest/inngest-js/pull/644) [`7eb27e4`](https://github.com/inngest/inngest-js/commit/7eb27e4683153a700319f820a0605c89d21c0d93) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Loosen typing on `match` options and mark as deprecated to remove performance concerns in codebases with a very large number of event types; all `match` fields are now simply typed as `string`
903
+
904
+ - [#641](https://github.com/inngest/inngest-js/pull/641) [`99f196a`](https://github.com/inngest/inngest-js/commit/99f196a26b9b346c69739989b1aa38aa4b1ff7a8) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Remove incorrect type showing internal events in `step.waitForEvent()`
905
+
906
+ ## 3.19.21
907
+
908
+ ### Patch Changes
909
+
910
+ - [#622](https://github.com/inngest/inngest-js/pull/622) [`c041d6f`](https://github.com/inngest/inngest-js/commit/c041d6f08ba1039f73b62435a113128eb2435641) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix rare theoretical checkpoint hang
911
+
912
+ ## 3.19.20
913
+
914
+ ### Patch Changes
915
+
916
+ - [#636](https://github.com/inngest/inngest-js/pull/636) [`b0e6237`](https://github.com/inngest/inngest-js/commit/b0e6237b427d6b8a9e2333d8198798f4c8e61339) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Fix inferred dev mode resulting in contacting the production API when fetching large state
917
+
918
+ - [#634](https://github.com/inngest/inngest-js/pull/634) [`ac402ef`](https://github.com/inngest/inngest-js/commit/ac402ef743dbe99261a7728701df70ddd9beaf5d) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Change an error when function configuration is invalid to a warning instead
919
+
920
+ ## 3.19.19
921
+
922
+ ### Patch Changes
923
+
924
+ - [#631](https://github.com/inngest/inngest-js/pull/631) [`ac6796c`](https://github.com/inngest/inngest-js/commit/ac6796c4c8b381c7d8c66e5247afbb40632d0417) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix exception being thrown from `debug` when used with Nitro running on Cloudflare Pages
925
+
926
+ - [`191fe36`](https://github.com/inngest/inngest-js/commit/191fe360b14d74fde73245a6acc3423ea07b7bf6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix failure handlers incorrectly inheriting config options such as `batchEvents` and `concurrency` from their parent function
927
+
928
+ - [#630](https://github.com/inngest/inngest-js/pull/630) [`d4de6d7`](https://github.com/inngest/inngest-js/commit/d4de6d7db0e03f8ca896d1216d38d0b0e9f954e8) Thanks [@stefanosala](https://github.com/stefanosala)! - Fix missing config fields such as `concurrency` when validating
929
+
930
+ ## 3.19.18
931
+
932
+ ### Patch Changes
933
+
934
+ - [#625](https://github.com/inngest/inngest-js/pull/625) [`3ae2c9b`](https://github.com/inngest/inngest-js/commit/3ae2c9b186613f0a441d98f5d020755b34acaa4f) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Clearly log invalid function configurations for users, circumventing non-exhaustive typing for extraneous properties in client and function config
935
+
936
+ - [#628](https://github.com/inngest/inngest-js/pull/628) [`996c0c5`](https://github.com/inngest/inngest-js/commit/996c0c503bec6f0ac2fc2897c87a6a416c88c3eb) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Removed inspect message
937
+
938
+ ## 3.19.17
939
+
940
+ ### Patch Changes
941
+
942
+ - [#623](https://github.com/inngest/inngest-js/pull/623) [`cc96657`](https://github.com/inngest/inngest-js/commit/cc966578fce01d65a0916ae56c4a47037e2b548f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Upgraded TypeScript to 5.5.
943
+
944
+ No change in behaviour or downstream compatibility is expected, but emitted declaration files will still change, so the patch version will bump for all affected packages.
945
+
946
+ - [#626](https://github.com/inngest/inngest-js/pull/626) [`6e41c90`](https://github.com/inngest/inngest-js/commit/6e41c9080e599a43c078ef8c88bbb593183d7d4d) Thanks [@cohlar](https://github.com/cohlar)! - Export `ScheduledTimerEventPayload` for ESM
947
+
948
+ ## 3.19.16
949
+
950
+ ### Patch Changes
951
+
952
+ - [#618](https://github.com/inngest/inngest-js/pull/618) [`1f0cb29`](https://github.com/inngest/inngest-js/commit/1f0cb2910776184c1444c709f6c7c8ad1fddf2e4) Thanks [@MonsterDeveloper](https://github.com/MonsterDeveloper)! - Expose `InngestFunction#createExecution()` as a `protected` method to allow custom unit testing.
953
+
954
+ Note that this is an internal API and can change at any time; first-party testing tools will be adde at a later date.
955
+
956
+ ## 3.19.15
957
+
958
+ ### Patch Changes
959
+
960
+ - [#619](https://github.com/inngest/inngest-js/pull/619) [`7542fc2`](https://github.com/inngest/inngest-js/commit/7542fc2512677e566ef1ba7b3ddc3dd5994069df) Thanks [@jpwilliams](https://github.com/jpwilliams)! - `"inngest/cloudflare"` serve handler now supports both Cloudflare Pages Functions and Cloudflare Workers
961
+
962
+ ## 3.19.14
963
+
964
+ ### Patch Changes
965
+
966
+ - [#611](https://github.com/inngest/inngest-js/pull/611) [`f36c442`](https://github.com/inngest/inngest-js/commit/f36c4420e066b5733e848a36d05f2cd866167a34) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add support for global `Netlify.env` objects when accessing environment variables
967
+
968
+ - [#614](https://github.com/inngest/inngest-js/pull/614) [`7970faa`](https://github.com/inngest/inngest-js/commit/7970faa409a67ba492ac161dcc7eccb1ab814149) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Fix attempting to register without a path when using a URL from `INNGEST_DEV`
969
+
970
+ - [#615](https://github.com/inngest/inngest-js/pull/615) [`baa9e5e`](https://github.com/inngest/inngest-js/commit/baa9e5e63397943cd3c65896d7e908bf451e3c20) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add maximum recursion depth for object path typing for `step.waitForEvent()`'s `match` and `cancelOn`
971
+
972
+ ## 3.19.13
973
+
974
+ ### Patch Changes
975
+
976
+ - [#612](https://github.com/inngest/inngest-js/pull/612) [`2d6e4e1`](https://github.com/inngest/inngest-js/commit/2d6e4e1fb423c889db9c75d7e22996b1eb7864dd) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Fix event key appearing invalid when securely introspected via the dashboard
977
+
978
+ ## 3.19.12
979
+
980
+ ### Patch Changes
981
+
982
+ - [#604](https://github.com/inngest/inngest-js/pull/604) [`8b41f6b`](https://github.com/inngest/inngest-js/commit/8b41f6b7c7a89d62e851920970de52ba5a3b2734) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Give all `serve()`-related peer dependencies a wider range and make them optional, silencing warnings when installing `inngest`
983
+
984
+ ## 3.19.11
985
+
986
+ ### Patch Changes
987
+
988
+ - [#597](https://github.com/inngest/inngest-js/pull/597) [`cf22183`](https://github.com/inngest/inngest-js/commit/cf22183668f64e1a3824b1e5a3f1239c39bc7ee6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix serve handler's `fetch` implementation incorrectly being marked as custom if no custom `fetch` is given to `new Inngest()`
989
+
990
+ - [#597](https://github.com/inngest/inngest-js/pull/597) [`cf22183`](https://github.com/inngest/inngest-js/commit/cf22183668f64e1a3824b1e5a3f1239c39bc7ee6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Reduce incorrect occurences of the following log when a call with `fetch` fails
991
+
992
+ ```
993
+ A request failed when using a custom fetch implementation; this may be a misconfiguration. Make sure that your fetch client is correctly bound to the global scope.
994
+ ```
995
+
996
+ ## 3.19.10
997
+
998
+ ### Patch Changes
999
+
1000
+ - [#599](https://github.com/inngest/inngest-js/pull/599) [`a2e7bd7`](https://github.com/inngest/inngest-js/commit/a2e7bd7e33b61b7ed866725f1354d60d7ee65a6c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Widen `@sveltejs/kit` peer dep range to `>=1.27.3` from `^1.27.3`
1001
+
1002
+ ## 3.19.9
1003
+
1004
+ ### Patch Changes
1005
+
1006
+ - [#595](https://github.com/inngest/inngest-js/pull/595) [`dd7f5ac`](https://github.com/inngest/inngest-js/commit/dd7f5aca48d7644713357cf64035f0238cbf7e0a) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Set explicit return types for `"inngest/fastify"` for JSR publishing
1007
+
1008
+ - [`519d66b`](https://github.com/inngest/inngest-js/commit/519d66b413e5f5494f3d75bf4a768900533ff010) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allowed secure introspection of the Inngest endpoint for improved debugging and observability
1009
+
1010
+ - [#594](https://github.com/inngest/inngest-js/pull/594) [`41b02b2`](https://github.com/inngest/inngest-js/commit/41b02b228c51ce70c2be3a67f058483b3519abf0) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix typing for `"inngest/lambda"` handler being incorrect Proxy type
1011
+
1012
+ ## 3.19.8
1013
+
1014
+ ### Patch Changes
1015
+
1016
+ - [#584](https://github.com/inngest/inngest-js/pull/584) [`ab21a6e`](https://github.com/inngest/inngest-js/commit/ab21a6e1e5f527f97bd5972a41c2cd9339e75fc4) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add JSR badge to `README.md`
1017
+
1018
+ - [#587](https://github.com/inngest/inngest-js/pull/587) [`c51c3df`](https://github.com/inngest/inngest-js/commit/c51c3df373c2f6fbc3cf0276807bc7bb83db8f3f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Documented all entrypoints with `@module` comments
1019
+
1020
+ ## 3.19.7
1021
+
1022
+ ### Patch Changes
1023
+
1024
+ - [#582](https://github.com/inngest/inngest-js/pull/582) [`5d1ad4a`](https://github.com/inngest/inngest-js/commit/5d1ad4af8532416d41491d0e6a9c6a9f10ce0bb4) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow in-CI changes when publishing to JSR; mostly a vanity bump
1025
+
1026
+ ## 3.19.6
1027
+
1028
+ ### Patch Changes
1029
+
1030
+ - [#580](https://github.com/inngest/inngest-js/pull/580) [`d8a2de0`](https://github.com/inngest/inngest-js/commit/d8a2de0dcefd4b50b6b8216158566d77bb6ee405) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Vanity bump for JSR deploy
1031
+
1032
+ ## 3.19.5
1033
+
1034
+ ### Patch Changes
1035
+
1036
+ - [#576](https://github.com/inngest/inngest-js/pull/576) [`f1be005`](https://github.com/inngest/inngest-js/commit/f1be0051154590bda51fe20c9bbcba8c20148d65) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix function-level middleware typing being missing; only client-level was providing types
1037
+
1038
+ ## 3.19.4
1039
+
1040
+ ### Patch Changes
1041
+
1042
+ - [#571](https://github.com/inngest/inngest-js/pull/571) [`67ca3aa`](https://github.com/inngest/inngest-js/commit/67ca3aab1912f2a409364988e9a029acbab2aa61) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `"inngest/hono"` serve handler not handling relative and absolute `req.url`
1043
+
1044
+ - [#571](https://github.com/inngest/inngest-js/pull/571) [`67ca3aa`](https://github.com/inngest/inngest-js/commit/67ca3aab1912f2a409364988e9a029acbab2aa61) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `"inngest/hono"` serve handler not parsing environment variables
1045
+
1046
+ ## 3.19.3
1047
+
1048
+ ### Patch Changes
1049
+
1050
+ - [#573](https://github.com/inngest/inngest-js/pull/573) [`2b208af`](https://github.com/inngest/inngest-js/commit/2b208af066d503e9d237848b4924dae5260b3d1c) Thanks [@goodoldneon](https://github.com/goodoldneon)! - More gracefully handle non-JSON sync responses.
1051
+
1052
+ ## 3.19.2
1053
+
1054
+ ### Patch Changes
1055
+
1056
+ - [#569](https://github.com/inngest/inngest-js/pull/569) [`f79e3e2`](https://github.com/inngest/inngest-js/commit/f79e3e26fe3063a1811722e8569e2507d41dc6d4) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Omit `id` when specifying an event for `step.invoke()`; idempotency IDs are not used here
1057
+
1058
+ ## 3.19.1
1059
+
1060
+ ### Patch Changes
1061
+
1062
+ - [#561](https://github.com/inngest/inngest-js/pull/561) [`405733f`](https://github.com/inngest/inngest-js/commit/405733f2acd6a1619f32ec5627a7b99637a3b531) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Optimize memoization of steps, providing a performance improvement of up 48x for very high step counts
1063
+
1064
+ ## 3.19.0
1065
+
1066
+ ### Minor Changes
1067
+
1068
+ - [#539](https://github.com/inngest/inngest-js/pull/539) [`24f1e7d`](https://github.com/inngest/inngest-js/commit/24f1e7de92d609e0a9ee9df1e3dfa0d2f7c8f682) Thanks [@prettyirrelevant](https://github.com/prettyirrelevant)! - Added framework support for Hono
1069
+
1070
+ ## 3.18.1
1071
+
1072
+ ### Patch Changes
1073
+
1074
+ - [#520](https://github.com/inngest/inngest-js/pull/520) [`0703740`](https://github.com/inngest/inngest-js/commit/0703740fbc3225be752328bd8bc078db8a1419c5) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add selective header forwarding when sending events, allowing context propagation when tracing fanouts 👀
1075
+
1076
+ - [#549](https://github.com/inngest/inngest-js/pull/549) [`f759de1`](https://github.com/inngest/inngest-js/commit/f759de1839d3337eb46e0fe51a41730a6864636c) Thanks [@maktouch](https://github.com/maktouch)! - Add step name or ID when there’s a NESTING_STEPS error
1077
+
1078
+ ## 3.18.0
1079
+
1080
+ ### Minor Changes
1081
+
1082
+ - [#541](https://github.com/inngest/inngest-js/pull/541) [`52431a6`](https://github.com/inngest/inngest-js/commit/52431a6beef4f8d94c4c0d7c2c3c3023c0020e4d) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Add signing key rotation support
1083
+
1084
+ ## 3.17.0
1085
+
1086
+ ### Minor Changes
1087
+
1088
+ - [#540](https://github.com/inngest/inngest-js/pull/540) [`91e07dc`](https://github.com/inngest/inngest-js/commit/91e07dc79a27bf32d45f1b56b235421d8cc6b5c4) Thanks [@tonyhb](https://github.com/tonyhb)! - Add throttling to function configurations
1089
+
1090
+ ## 3.16.2
1091
+
1092
+ ### Patch Changes
1093
+
1094
+ - [#538](https://github.com/inngest/inngest-js/pull/538) [`d9d57c4`](https://github.com/inngest/inngest-js/commit/d9d57c43c6ad9600e3b184bba777a36d1ffa99e6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `{ name: string; }` objects being filtered out of `step.run()` responses when nullable or a union
1095
+
1096
+ - [#536](https://github.com/inngest/inngest-js/pull/536) [`73e04a5`](https://github.com/inngest/inngest-js/commit/73e04a576eab9ea48a18738c3037f8e9436d7a91) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Do not swallow JSON parsing errors when syncing
1097
+
1098
+ - [#535](https://github.com/inngest/inngest-js/pull/535) [`09ef143`](https://github.com/inngest/inngest-js/commit/09ef14362bc11573d7ab8bfb8e4286ef06c6cda9) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix sending events sometimes returning generic errors when we can be more specific
1099
+
1100
+ ## 3.16.1
1101
+
1102
+ ### Patch Changes
1103
+
1104
+ - [#518](https://github.com/inngest/inngest-js/pull/518) [`bc494da`](https://github.com/inngest/inngest-js/commit/bc494da7477c44fc4cfb1ff983a92abbc31cfd23) Thanks [@jpwilliams](https://github.com/jpwilliams)! - INN-2861 No longer execute `step.sendEvent()` inline
1105
+
1106
+ To send an event in a function without making it a step function, use `inngest.send()` instead.
1107
+
1108
+ - [#519](https://github.com/inngest/inngest-js/pull/519) [`775fee7`](https://github.com/inngest/inngest-js/commit/775fee71794d32058d4188c079915fbf54e07660) Thanks [@jpwilliams](https://github.com/jpwilliams)! - When timing out during parallel recovery, will now prefer logging the step's name instead of its internal hashed ID
1109
+
1110
+ - [#517](https://github.com/inngest/inngest-js/pull/517) [`f8a8f7b`](https://github.com/inngest/inngest-js/commit/f8a8f7b24a55b46c2d70749702babfc8ebda5428) Thanks [@wtachau](https://github.com/wtachau)! - Fix `RetryAfterError` comments; it accepts milliseconds as a `number`, not seconds
1111
+
1112
+ - [#521](https://github.com/inngest/inngest-js/pull/521) [`9aa3979`](https://github.com/inngest/inngest-js/commit/9aa397927ec40530a67c10d3040ca250193b4d3f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - INN-2880 Add warning if `fetch` fails and is a custom implementation
1113
+
1114
+ ## 3.16.0
1115
+
1116
+ ### Minor Changes
1117
+
1118
+ - [#497](https://github.com/inngest/inngest-js/pull/497) [`e12c8a6`](https://github.com/inngest/inngest-js/commit/e12c8a6850bdf0b40d064951f25fcb8e69df3262) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add the ability to define multiple triggers when creating a function
1119
+
1120
+ ## 3.15.5
1121
+
1122
+ ### Patch Changes
1123
+
1124
+ - [#512](https://github.com/inngest/inngest-js/pull/512) [`8f03159`](https://github.com/inngest/inngest-js/commit/8f03159f0ff0b0631707fc3224b597150d4226ef) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix union step outputs sometimes being typed as `any`
1125
+
1126
+ - [#512](https://github.com/inngest/inngest-js/pull/512) [`8f03159`](https://github.com/inngest/inngest-js/commit/8f03159f0ff0b0631707fc3224b597150d4226ef) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix step output typing (`Jsonify`) removing detail from mapped object types with overrides
1127
+
1128
+ - [#512](https://github.com/inngest/inngest-js/pull/512) [`8f03159`](https://github.com/inngest/inngest-js/commit/8f03159f0ff0b0631707fc3224b597150d4226ef) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix step output typing (`Jsonify`) omitting `unknown` and literals
1129
+
1130
+ ## 3.15.4
1131
+
1132
+ ### Patch Changes
1133
+
1134
+ - [#507](https://github.com/inngest/inngest-js/pull/507) [`882ace7`](https://github.com/inngest/inngest-js/commit/882ace7795dbcd0563e567231abb495e46f4caef) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `GetFunctionOutput` and `step.invoke()` typing sometimes resulting in `{}`
1135
+
1136
+ ## 3.15.3
1137
+
1138
+ ### Patch Changes
1139
+
1140
+ - [#500](https://github.com/inngest/inngest-js/pull/500) [`f21ebed`](https://github.com/inngest/inngest-js/commit/f21ebed86ab937e4faad133bd696ed8567b82d1e) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add support for `typescript@5.4`
1141
+
1142
+ ## 3.15.2
1143
+
1144
+ ### Patch Changes
1145
+
1146
+ - [#503](https://github.com/inngest/inngest-js/pull/503) [`f6088e0`](https://github.com/inngest/inngest-js/commit/f6088e0c04b5732c3b5e95c79f75c423625ba15d) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `onSendEvent.transformInput()` middleware hooks not running for `step.invoke()` payloads
1147
+
1148
+ ## 3.15.1
1149
+
1150
+ ### Patch Changes
1151
+
1152
+ - [#501](https://github.com/inngest/inngest-js/pull/501) [`0048c94`](https://github.com/inngest/inngest-js/commit/0048c94c7ccdcfa5e62687446376ce8341c002b5) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix failures for `composite: true` errors
1153
+
1154
+ ## 3.15.0
1155
+
1156
+ ### Minor Changes
1157
+
1158
+ - [#488](https://github.com/inngest/inngest-js/pull/488) [`3d2429d`](https://github.com/inngest/inngest-js/commit/3d2429d02e18b46b79aab3f17fcf7441c13d3331) Thanks [@jpwilliams](https://github.com/jpwilliams)! - INN-2754 Add support for `INNGEST_DEV` and the `isDev` option, allowing a devleoper to explicitly set either Cloud or Dev mode
1159
+
1160
+ ### Patch Changes
1161
+
1162
+ - [#498](https://github.com/inngest/inngest-js/pull/498) [`7c5b92e`](https://github.com/inngest/inngest-js/commit/7c5b92e2e77ea1eb8fa204f76e34cc6a3f10a775) Thanks [@sylwiavargas](https://github.com/sylwiavargas)! - Add keywords to the npm package
1163
+
1164
+ ## 3.14.2
1165
+
1166
+ ### Patch Changes
1167
+
1168
+ - [#492](https://github.com/inngest/inngest-js/pull/492) [`ad67476`](https://github.com/inngest/inngest-js/commit/ad674769b190eda59d99fbbb905d3b95b7c3138e) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix delayed environment variables not using event key in `"inngest/cloudflare"`
1169
+
1170
+ - [#489](https://github.com/inngest/inngest-js/pull/489) [`244b6bd`](https://github.com/inngest/inngest-js/commit/244b6bd483543d6923d56e11fb52de2a1dbb1de3) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add generic function invocation event to all event schemas
1171
+
1172
+ ## 3.14.1
1173
+
1174
+ ### Patch Changes
1175
+
1176
+ - [#493](https://github.com/inngest/inngest-js/pull/493) [`adaa948`](https://github.com/inngest/inngest-js/commit/adaa948e04760cebd8e62d83be27e177f9fc41d6) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Fix registration reusing deployment IDs when reusing connections in serverless or serverful
1177
+
1178
+ ## 3.14.0
1179
+
1180
+ ### Minor Changes
1181
+
1182
+ - [#484](https://github.com/inngest/inngest-js/pull/484) [`c2b6ec5`](https://github.com/inngest/inngest-js/commit/c2b6ec5336081dc11f94dece0d3b7b54c2c3d419) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `timeout` to `step.invoke()` options
1183
+
1184
+ ### Patch Changes
1185
+
1186
+ - [#480](https://github.com/inngest/inngest-js/pull/480) [`e1940e4`](https://github.com/inngest/inngest-js/commit/e1940e434192d33b9444106353775063d258a660) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `GetEvents<>` helper returning internal events by default
1187
+
1188
+ - [#479](https://github.com/inngest/inngest-js/pull/479) [`1b2eaed`](https://github.com/inngest/inngest-js/commit/1b2eaed03300a841f6b7c02eaf7baa225d59a049) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix requiring enum value when using an internal event as a trigger
1189
+
1190
+ - [#485](https://github.com/inngest/inngest-js/pull/485) [`16973c0`](https://github.com/inngest/inngest-js/commit/16973c05b7505b1368a370c402cde8c0b3b51a3f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix API failures being masked at runtime when fetching large step data or event batches fails
1191
+
1192
+ ## 3.13.0
1193
+
1194
+ ### Minor Changes
1195
+
1196
+ - [#475](https://github.com/inngest/inngest-js/pull/475) [`16f02e9`](https://github.com/inngest/inngest-js/commit/16f02e9af43065bb37490c350f2c4040293e0dff) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `"inngest/bun"` serve handler for use with `Bun.serve()`
1197
+
1198
+ ### Patch Changes
1199
+
1200
+ - [#476](https://github.com/inngest/inngest-js/pull/476) [`4d52f01`](https://github.com/inngest/inngest-js/commit/4d52f01897412db6113eda9d1ebe6bd929b57a79) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Make `data.error` parsing for `inngest/function.failed` more resilient
1201
+
1202
+ - [#478](https://github.com/inngest/inngest-js/pull/478) [`9887ac4`](https://github.com/inngest/inngest-js/commit/9887ac474c993f4db9a570bea7986406d05de685) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Remove sending `hash` when syncing
1203
+
1204
+ - [#474](https://github.com/inngest/inngest-js/pull/474) [`b3a7b39`](https://github.com/inngest/inngest-js/commit/b3a7b395066f86a7c6227d94b9b007b350f33a7c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Improve UI when showing an unhandled `StepError`
1205
+
1206
+ ## 3.12.0
1207
+
1208
+ ### Minor Changes
1209
+
1210
+ - [#411](https://github.com/inngest/inngest-js/pull/411) [`3b35c1c`](https://github.com/inngest/inngest-js/commit/3b35c1c9cfa9d96d88346e874089dc9d3aa9a5de) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add handling of per-step errors and returning step names during error cases to better display issues in the UI
1211
+
1212
+ ### Patch Changes
1213
+
1214
+ - [#469](https://github.com/inngest/inngest-js/pull/469) [`2f01a27`](https://github.com/inngest/inngest-js/commit/2f01a27ab9af871af25349d9be899ae314949485) Thanks [@dependabot](https://github.com/apps/dependabot)! - Bump vite from 4.5.1 to 4.5.2 for a security fix
1215
+
1216
+ ## 3.11.0
1217
+
1218
+ ### Minor Changes
1219
+
1220
+ - [#467](https://github.com/inngest/inngest-js/pull/467) [`ca93ef8`](https://github.com/inngest/inngest-js/commit/ca93ef87384146c5b852fd74c57b23fecd75685c) Thanks [@tonyhb](https://github.com/tonyhb)! - Add timeouts to debounce configuration
1221
+
1222
+ ### Patch Changes
1223
+
1224
+ - [#463](https://github.com/inngest/inngest-js/pull/463) [`61562bd`](https://github.com/inngest/inngest-js/commit/61562bdaadb2f5a07b8c9e354a3c910e5bf586fe) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `data` not being required during invocation with a schema+reference
1225
+
1226
+ - [#462](https://github.com/inngest/inngest-js/pull/462) [`c449efe`](https://github.com/inngest/inngest-js/commit/c449efef4709ab3aa8c76f4a078e1a793599f717) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix not allowing a single-element `concurrency` option in function definitions
1227
+
1228
+ - [#466](https://github.com/inngest/inngest-js/pull/466) [`ecde5b6`](https://github.com/inngest/inngest-js/commit/ecde5b64d17cdc01d3416ca3a6b45b4d21dac234) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix some out-of-date comments and examples
1229
+
1230
+ ## 3.10.0
1231
+
1232
+ ### Minor Changes
1233
+
1234
+ - [#449](https://github.com/inngest/inngest-js/pull/449) [`a452cf1`](https://github.com/inngest/inngest-js/commit/a452cf1b80e9e2346c21cffdd046d558b0cf4d8b) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `referenceFunction()`, allowing easier, typed invocation of functions across apps and languages
1235
+
1236
+ - [#459](https://github.com/inngest/inngest-js/pull/459) [`eec41d2`](https://github.com/inngest/inngest-js/commit/eec41d23de01f4c977cbcc8bfd986660e0ccbb96) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add new `Inngest.Any` and `InngestFunction.Any` type helpers
1237
+
1238
+ ### Patch Changes
1239
+
1240
+ - [#460](https://github.com/inngest/inngest-js/pull/460) [`a225206`](https://github.com/inngest/inngest-js/commit/a225206e3040463c3f4fd558ec71f3ae21e2f56d) Thanks [@MonsterDeveloper](https://github.com/MonsterDeveloper)! - Add exports for `FinishedEventPayload` and `Context` types to fix a TypeScript error when using Inngest in projects with `composite` setting in `tsconfig`.
1241
+
1242
+ ## 3.9.0
1243
+
1244
+ ### Minor Changes
1245
+
1246
+ - [#453](https://github.com/inngest/inngest-js/pull/453) [`be6eb2a`](https://github.com/inngest/inngest-js/commit/be6eb2a6abb83578f96fbb17591c7549fbc343e9) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Pass `reqArgs` to `onFunctionRun` middleware hook to be able to use request values within an Inngest function
1247
+
1248
+ ## 3.8.0
1249
+
1250
+ ### Minor Changes
1251
+
1252
+ - [#441](https://github.com/inngest/inngest-js/pull/441) [`cb0496a`](https://github.com/inngest/inngest-js/commit/cb0496a830662a2f90002feb705f5976a15ab4d3) Thanks [@djfarrelly](https://github.com/djfarrelly)! - Add new `"inngest/astro"` serve handler
1253
+
1254
+ ## 3.7.4
1255
+
1256
+ ### Patch Changes
1257
+
1258
+ - [#434](https://github.com/inngest/inngest-js/pull/434) [`cb953ee`](https://github.com/inngest/inngest-js/commit/cb953eed62230f6dbf6a689ca24fc9440fc09855) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix bad wildcard export `inngest/components/*` for ESM/CJS compatibility
1259
+
1260
+ - [#440](https://github.com/inngest/inngest-js/pull/440) [`0fc642d`](https://github.com/inngest/inngest-js/commit/0fc642de152b7abc19633537ae742cea8a41d958) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix an issue where Sentry's wrapping of `inngest/express` caused Sentry to throw a runtime error during instantiation
1261
+
1262
+ ## 3.7.3
1263
+
1264
+ ### Patch Changes
1265
+
1266
+ - [#432](https://github.com/inngest/inngest-js/pull/432) [`ce354f3`](https://github.com/inngest/inngest-js/commit/ce354f33f46c97e37ed3794996058cd64a84b678) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add ability to use `z.discriminatedUnion` and `z.union` in schemas
1267
+
1268
+ ## 3.7.2
1269
+
1270
+ ### Patch Changes
1271
+
1272
+ - [#426](https://github.com/inngest/inngest-js/pull/426) [`49a58d1`](https://github.com/inngest/inngest-js/commit/49a58d1d5fe407202774dfbbd29bbb40f29504ed) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix internal `inngest/*` events not being present when using `new EventSchemas()`
1273
+
1274
+ - [#427](https://github.com/inngest/inngest-js/pull/427) [`5cf349c`](https://github.com/inngest/inngest-js/commit/5cf349ccece147f4c6f69ad5389b483e2b7c5d91) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `EventPayload.id` missing from typing when attempting to send events with `inngest.send()` or `step.sendEvent()`
1275
+
1276
+ ## 3.7.1
1277
+
1278
+ ### Patch Changes
1279
+
1280
+ - [#421](https://github.com/inngest/inngest-js/pull/421) [`471d11f`](https://github.com/inngest/inngest-js/commit/471d11fce1cee246c017bc6c089f0f5fb5f85d1c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix serverless use of `inngest/next` with `next@>=13.0.0 <13.5.0` failing to return a response, as well as `next@>=13.5.0` logging the same error
1281
+
1282
+ ## 3.7.0
1283
+
1284
+ ### Minor Changes
1285
+
1286
+ - [#368](https://github.com/inngest/inngest-js/pull/368) [`e7e845e`](https://github.com/inngest/inngest-js/commit/e7e845e82d426b7017afeb0021f003f78edfaa5a) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `step.invoke()`, providing the ability to directly invoke a function as a step
1287
+
1288
+ ### Patch Changes
1289
+
1290
+ - [#415](https://github.com/inngest/inngest-js/pull/415) [`ea8dc6f`](https://github.com/inngest/inngest-js/commit/ea8dc6f539942d713bafd4e85aec367e4e23f21d) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Move to Apache License 2.0
1291
+
1292
+ ## 3.6.2
1293
+
1294
+ ### Patch Changes
1295
+
1296
+ - [#409](https://github.com/inngest/inngest-js/pull/409) [`b56a33e`](https://github.com/inngest/inngest-js/commit/b56a33e17c67d97f838dd557f1412a8f6f9582bb) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Support Remix env vars on Cloudflare Pages via `context.env`
1297
+
1298
+ - [#400](https://github.com/inngest/inngest-js/pull/400) [`428a591`](https://github.com/inngest/inngest-js/commit/428a591fd390538f2202868aa6c6a0810e525191) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix Next.js 13 host being stubborn when relying on `req.url` for hosts such as `host.docker.internal`
1299
+
1300
+ - [#408](https://github.com/inngest/inngest-js/pull/408) [`4066217`](https://github.com/inngest/inngest-js/commit/4066217b279b7baddc70819ce53233f0fc90d929) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Forward `X-Inngest-Server-Kind` headers to assist in preventing some issues with registration handshakes
1301
+
1302
+ - [#406](https://github.com/inngest/inngest-js/pull/406) [`be5544b`](https://github.com/inngest/inngest-js/commit/be5544bf58286dbb7dbf01eb11605f10d612eb4a) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix correctness issues in generated `*.d.ts` files, causing errors for some versions/configurations of TypeScript with `skipLibCheck: false`
1303
+
1304
+ ## 3.6.1
1305
+
1306
+ ### Patch Changes
1307
+
1308
+ - [#401](https://github.com/inngest/inngest-js/pull/401) [`c77f6d7`](https://github.com/inngest/inngest-js/commit/c77f6d7ec90442221cf9fe2d155b5aa9e540795e) Thanks [@tonyhb](https://github.com/tonyhb)! - Remove "Step already exists; automatically indexing" log
1309
+
1310
+ - [#395](https://github.com/inngest/inngest-js/pull/395) [`aebc2c4`](https://github.com/inngest/inngest-js/commit/aebc2c4ba4ca50975437fbbcaed324ac0f34db0b) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `hasEventKey` in `GET` request always returning `true`
1311
+
1312
+ ## 3.6.0
1313
+
1314
+ ### Minor Changes
1315
+
1316
+ - [#393](https://github.com/inngest/inngest-js/pull/393) [`f9fca66`](https://github.com/inngest/inngest-js/commit/f9fca668b84a37c831f77949d7f1a714d5cd9040) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Added a new `"inngest/koa"` serve handler. See the [Framework: Koa](https://www.inngest.com/docs/sdk/serve#framework-koa) docs and the [`framework-koa`](/examples/framework-koa) example to get started.
1317
+
1318
+ ## 3.5.0
1319
+
1320
+ ### Minor Changes
1321
+
1322
+ - [#299](https://github.com/inngest/inngest-js/pull/299) [`ac61617`](https://github.com/inngest/inngest-js/commit/ac61617e77f9f3373cc1c9e32adbe1eace0e8504) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Added a new `"inngest/sveltekit"` serve handler. See the [Framework: Sveltekit](https://www.inngest.com/docs/sdk/serve#framework-sveltekit) docs and the [`framework-sveltekit`](/examples/framework-sveltekit) example to get started.
1323
+
1324
+ ## 3.4.4
1325
+
1326
+ ### Patch Changes
1327
+
1328
+ - [#388](https://github.com/inngest/inngest-js/pull/388) [`b4432d8`](https://github.com/inngest/inngest-js/commit/b4432d8d98a2e1970dec5a4737cf718fbf184ee1) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Removed "No signing key provided" warning during local development
1329
+
1330
+ ## 3.4.3
1331
+
1332
+ ### Patch Changes
1333
+
1334
+ - [#385](https://github.com/inngest/inngest-js/pull/385) [`cdf02a3`](https://github.com/inngest/inngest-js/commit/cdf02a310bcf9ef0bb64103f050323c6590bda2b) Thanks [@MonsterDeveloper](https://github.com/MonsterDeveloper)! - Add exports for `InngestFunction`, `FunctionTrigger`, and `Handler` types to fix a TypeScript error when using Inngest in projects with `composite` setting in `tsconfig`.
1335
+
1336
+ ## 3.4.2
1337
+
1338
+ ### Patch Changes
1339
+
1340
+ - [#378](https://github.com/inngest/inngest-js/pull/378) [`b83f925`](https://github.com/inngest/inngest-js/commit/b83f925099f6c2ecd43fd80a7e4ed9af1ec314a6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `INNGEST_API_BASE_URL` and `INNGEST_EVENT_API_BASE_URL`, used for internal testing
1341
+
1342
+ - [#382](https://github.com/inngest/inngest-js/pull/382) [`0002afa`](https://github.com/inngest/inngest-js/commit/0002afa7c23ca9c1507fbb40cbc1c806de84fc6f) Thanks [@tonyhb](https://github.com/tonyhb)! - Remove verbose event keys warning
1343
+
1344
+ ## 3.4.1
1345
+
1346
+ ### Patch Changes
1347
+
1348
+ - [#371](https://github.com/inngest/inngest-js/pull/371) [`d45bfbd`](https://github.com/inngest/inngest-js/commit/d45bfbd42b16170a44c65a09ac650a9d16211de7) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Remove `JsonifyObject<>` wrapper from step output - it's now clearer to see the actual type of a step's result
1349
+
1350
+ - [#375](https://github.com/inngest/inngest-js/pull/375) [`e19f9b4`](https://github.com/inngest/inngest-js/commit/e19f9b463add0fbafc6368af7d4b82621d4a03c0) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix failing to parse `BigInt` during step/function result serialization; it is now correctly typed and returned as `never`
1351
+
1352
+ - [#374](https://github.com/inngest/inngest-js/pull/374) [`dcafc2b`](https://github.com/inngest/inngest-js/commit/dcafc2b202b2bd2c3a7dfe5d917d635c48f24260) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fixed an issue where an error log wasn't shown if execution result parsing failed, such as in the case of serialization failures
1353
+
1354
+ ## 3.4.0
1355
+
1356
+ ### Minor Changes
1357
+
1358
+ - [#370](https://github.com/inngest/inngest-js/pull/370) [`48b201a`](https://github.com/inngest/inngest-js/commit/48b201a90f343a1927f38118b732615f77f9ca7f) Thanks [@tonyhb](https://github.com/tonyhb)! - Update concurrency with new scopes and multiple keys
1359
+
1360
+ ### Patch Changes
1361
+
1362
+ - [#369](https://github.com/inngest/inngest-js/pull/369) [`e1046cd`](https://github.com/inngest/inngest-js/commit/e1046cd62430b5599512eb697ebf5ac3fbfd6bb6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Change `No request version` log from warn to debug
1363
+
1364
+ ## 3.3.0
1365
+
1366
+ ### Minor Changes
1367
+
1368
+ - [#329](https://github.com/inngest/inngest-js/pull/329) [`2837296`](https://github.com/inngest/inngest-js/commit/2837296fbb938816db7f4b18193ee834fdb13785) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Added `GetStepTools<typeof inngest>` and `GetFunctionInput<typeof inngest>` helper types to aid in building function factories. See [TypeScript Helpers - Inngest Documentation](https://www.inngest.com/docs/typescript#helpers) for more information.
1369
+
1370
+ ## 3.2.1
1371
+
1372
+ ### Patch Changes
1373
+
1374
+ - [#360](https://github.com/inngest/inngest-js/pull/360) [`260dd75`](https://github.com/inngest/inngest-js/commit/260dd75461bf27188c21614f33d9b1c798fa96bf) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Inngest errors now appear more succintly in UIs, free of ANSI codes and verbose information
1375
+
1376
+ ## 3.2.0
1377
+
1378
+ ### Minor Changes
1379
+
1380
+ - [#362](https://github.com/inngest/inngest-js/pull/362) [`6bc91d0`](https://github.com/inngest/inngest-js/commit/6bc91d0c60c02ef59dbe18a3f88e31db7854af3c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add ability to manage function run priorities using a new `priority.run` config option - see the [Priority documentation](https://innge.st/priority) for more information.
1381
+
1382
+ ### Patch Changes
1383
+
1384
+ - [#357](https://github.com/inngest/inngest-js/pull/357) [`9140b66`](https://github.com/inngest/inngest-js/commit/9140b66fb841ea527ca388182b175cb3d86e3493) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Stop "_Failed to send event_" errors occuring in local development when missing an event key
1385
+
1386
+ - [#359](https://github.com/inngest/inngest-js/pull/359) [`7f70546`](https://github.com/inngest/inngest-js/commit/7f705464cf18ce44efe0042d05dac9d632b4a010) Thanks [@goodoldneon](https://github.com/goodoldneon)! - Internally, steps now return a `displayName` to be used within Inngest's UIs
1387
+
1388
+ ## 3.1.1
1389
+
1390
+ ### Patch Changes
1391
+
1392
+ - [#354](https://github.com/inngest/inngest-js/pull/354) [`e2f68d6`](https://github.com/inngest/inngest-js/commit/e2f68d6dba7cc3e6f821d76abdb660793eb6a42f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix path matching types getting lost in certain recursive event types
1393
+
1394
+ - [#350](https://github.com/inngest/inngest-js/pull/350) [`933b998`](https://github.com/inngest/inngest-js/commit/933b99816a1b47a6e4d6ef66db9d557a85407c2e) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Separate Zod typing from library, enabling minor-agnostic versioning support
1395
+
1396
+ ## 3.1.0
1397
+
1398
+ ### Minor Changes
1399
+
1400
+ - [#338](https://github.com/inngest/inngest-js/pull/338) [`ef35fea`](https://github.com/inngest/inngest-js/commit/ef35feacd35d626b89aea4d35ddfd8c33318d6fc) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `debounce` configuration option. See [Debounce documentation](https://innge.st/debounce) for more information.
1401
+
1402
+ ### Patch Changes
1403
+
1404
+ - [#337](https://github.com/inngest/inngest-js/pull/337) [`672c428`](https://github.com/inngest/inngest-js/commit/672c428f7ad89b06947b5dc8e81eab1d20ba2039) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Ensure `fromRecord<>()` doesn't accept clashing names
1405
+
1406
+ ## 3.0.2
1407
+
1408
+ ### Patch Changes
1409
+
1410
+ - [#348](https://github.com/inngest/inngest-js/pull/348) [`ebb245f`](https://github.com/inngest/inngest-js/commit/ebb245f9a6ae40a07173e2645f7614b54cd69c53) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `"inngest/next"` types not inferring from `defineProperties`
1411
+
1412
+ - [#346](https://github.com/inngest/inngest-js/pull/346) [`c14bbb3`](https://github.com/inngest/inngest-js/commit/c14bbb3b0c078ec372b93dfcd39bfd5382d46e93) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `waitForEvent` potentially dropping some fields when being parsed
1413
+
1414
+ ## 3.0.1
1415
+
1416
+ ### Patch Changes
1417
+
1418
+ - [#339](https://github.com/inngest/inngest-js/pull/339) [`bf8b004`](https://github.com/inngest/inngest-js/commit/bf8b0042787892a459e6fea24d31331cb58fd5f6) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Bump `next` to `13`; keep up-to-date with their only supported major to support typing
1419
+
1420
+ - [#343](https://github.com/inngest/inngest-js/pull/343) [`77c7f66`](https://github.com/inngest/inngest-js/commit/77c7f66c0617a0ad4acf6d07f22f13cafa337c87) Thanks [@tonyhb](https://github.com/tonyhb)! - Allow steps to execute with null data
1421
+
1422
+ ## 3.0.0
1423
+
1424
+ ### Major Changes
1425
+
1426
+ - [#294](https://github.com/inngest/inngest-js/pull/294) [`f2f4856`](https://github.com/inngest/inngest-js/commit/f2f4856ab97d4191587ea1f41e9fe18b5ef45c95) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Clients and functions now require IDs
1427
+
1428
+ When instantiating a client using `new Inngest()` or creating a function via `inngest.createFunction()`, it's now required to pass an `id` instead of a `name`.
1429
+
1430
+ Previously only `name` was required, but this implied that the value was safe to change. Internally, we used this name to _produce_ an ID which was used during deployments and executions.
1431
+
1432
+ See the [v3 migration guide](https://www.inngest.com/docs/sdk/migration).
1433
+
1434
+ - [#294](https://github.com/inngest/inngest-js/pull/294) [`f2f4856`](https://github.com/inngest/inngest-js/commit/f2f4856ab97d4191587ea1f41e9fe18b5ef45c95) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Refactored available environment variables and configuration
1435
+
1436
+ The arrangement of environment variables available has shifted a lot over the course of v2, so in v3 we've streamlined what's available and how they're used.
1437
+
1438
+ See the [v3 migration guide](https://www.inngest.com/docs/sdk/migration).
1439
+
1440
+ - [#294](https://github.com/inngest/inngest-js/pull/294) [`f2f4856`](https://github.com/inngest/inngest-js/commit/f2f4856ab97d4191587ea1f41e9fe18b5ef45c95) Thanks [@jpwilliams](https://github.com/jpwilliams)! - In v2, providing a `fns` option when creating a function -- an object of functions -- would wrap those passed functions in `step.run()`, meaning you can run code inside your function without the `step.run()` boilerplate.
1441
+
1442
+ This wasn't a very well advertised feature and had some drawbacks, so we're instead replacing it with some optional middleware.
1443
+
1444
+ See the [v3 migration guide](https://www.inngest.com/docs/sdk/migration).
1445
+
1446
+ - [#294](https://github.com/inngest/inngest-js/pull/294) [`f2f4856`](https://github.com/inngest/inngest-js/commit/f2f4856ab97d4191587ea1f41e9fe18b5ef45c95) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Serving functions could become a bit unwieldy with the format we had, so we've slightly altered how you serve your functions to ensure proper discoverability of options and aid in readability when revisiting the code.
1447
+
1448
+ See the [v3 migration guide](https://www.inngest.com/docs/sdk/migration).
1449
+
1450
+ - [#294](https://github.com/inngest/inngest-js/pull/294) [`f2f4856`](https://github.com/inngest/inngest-js/commit/f2f4856ab97d4191587ea1f41e9fe18b5ef45c95) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Shorthand function creation removed
1451
+
1452
+ `inngest.createFunction()` can no longer take a string as the first or second arguments; an object is now required to aid in the discoverability of options and configuration.
1453
+
1454
+ See the [v3 migration guide](https://www.inngest.com/docs/sdk/migration).
1455
+
1456
+ - [#294](https://github.com/inngest/inngest-js/pull/294) [`f2f4856`](https://github.com/inngest/inngest-js/commit/f2f4856ab97d4191587ea1f41e9fe18b5ef45c95) Thanks [@jpwilliams](https://github.com/jpwilliams)! - All steps require IDs
1457
+
1458
+ When using any step.\* tool, an ID is now required to ensure that determinism across changes to a function is easier to reason about for the user and the underlying engine.
1459
+
1460
+ The addition of these IDs allows you to deploy hotfixes and logic changes to long-running functions without fear of errors, failures, or panics. Beforehand, any changes to a function resulted in an irrecoverable error if step definitions changed. With this, changes to a function are smartly applied by default.
1461
+
1462
+ See the [v3 migration guide](https://www.inngest.com/docs/sdk/migration).
1463
+
1464
+ ### Patch Changes
1465
+
1466
+ - [#333](https://github.com/inngest/inngest-js/pull/333) [`67bda66`](https://github.com/inngest/inngest-js/commit/67bda668fa53afeeb3708e3f245843e9612ccd22) Thanks [@goodoldneon](https://github.com/goodoldneon)! - (Internal) Fix missing name on `NonRetriableError`, ensuring it's correctly (de)serialized
1467
+
1468
+ ## 2.7.2
1469
+
1470
+ ### Patch Changes
1471
+
1472
+ - [#323](https://github.com/inngest/inngest-js/pull/323) [`3b2efa6`](https://github.com/inngest/inngest-js/commit/3b2efa6e3e12eca45f05d5187c7978bf2e9da23f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Better error handling for `.sendEvent()` errors from Inngest API, ensuring easier debugging when failing to send events - partial of #256
1473
+
1474
+ ## 2.7.1
1475
+
1476
+ ### Patch Changes
1477
+
1478
+ - [#325](https://github.com/inngest/inngest-js/pull/325) [`b8858c9`](https://github.com/inngest/inngest-js/commit/b8858c9be1cab32d4e781cf3588047181bfed6a7) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Hotfix: Ensure `ProxyLogger` (and some other used classes/types) is correctly exported from `"inngest"`
1479
+
1480
+ ## 2.7.0
1481
+
1482
+ ### Minor Changes
1483
+
1484
+ - [#313](https://github.com/inngest/inngest-js/pull/313) [`32c34b3`](https://github.com/inngest/inngest-js/commit/32c34b3a006fe4ea3d482588f6101c969254532e) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add ability to declare and send events without payloads, e.g. `inngest.send({ name: "my.event" });`
1485
+
1486
+ - [#310](https://github.com/inngest/inngest-js/pull/310) [`696c411`](https://github.com/inngest/inngest-js/commit/696c411c46dc8255cdfa5480073a417a93b58e63) Thanks [@michealroberts](https://github.com/michealroberts)! - Added h3 framework server handler
1487
+
1488
+ ### Patch Changes
1489
+
1490
+ - [#319](https://github.com/inngest/inngest-js/pull/319) [`71b7d26`](https://github.com/inngest/inngest-js/commit/71b7d268a815cfc3133b0a4cd1cf1a1a599b5d05) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add ESM exports to `inngest` package to avoid extension imports
1491
+
1492
+ ## 2.6.1
1493
+
1494
+ ### Patch Changes
1495
+
1496
+ - [#312](https://github.com/inngest/inngest-js/pull/312) [`ca6d6aa`](https://github.com/inngest/inngest-js/commit/ca6d6aa31512468de0d662e770d622a069adb65e) Thanks [@mmachatschek](https://github.com/mmachatschek)! - chore: update cross-fetch to ^4.0.0 package
1497
+
1498
+ ## 2.6.0
1499
+
1500
+ ### Minor Changes
1501
+
1502
+ - [#202](https://github.com/inngest/inngest-js/pull/202) [`21053ed`](https://github.com/inngest/inngest-js/commit/21053edeb5a11f2eaa0242d56d36b0aee6ae994f) Thanks [@djfarrelly](https://github.com/djfarrelly)! - Add support for Fastify, either via a custom `.route()` or using a Fastify plugin
1503
+
1504
+ ```ts
1505
+ import Fastify from "fastify";
1506
+ import inngestFastify, { serve } from "inngest/fastify";
1507
+ import { functions, inngest } from "./inngest";
1508
+
1509
+ const fastify = Fastify({
1510
+ logger: true,
1511
+ });
1512
+
1513
+ // The lead maintainer of Fastify recommends using this as a plugin:
1514
+ fastify.register(inngestFastify, {
1515
+ client: inngest,
1516
+ functions,
1517
+ options: {},
1518
+ });
1519
+
1520
+ // We do also export `serve()` if you want to use it directly, though.
1521
+ fastify.route({
1522
+ method: ["GET", "POST", "PUT"],
1523
+ handler: serve(inngest, functions),
1524
+ url: "/api/inngest",
1525
+ });
1526
+
1527
+ fastify.listen({ port: 3000 }, function (err, address) {
1528
+ if (err) {
1529
+ fastify.log.error(err);
1530
+ process.exit(1);
1531
+ }
1532
+ });
1533
+ ```
1534
+
1535
+ - [#298](https://github.com/inngest/inngest-js/pull/298) [`4984aa8`](https://github.com/inngest/inngest-js/commit/4984aa85b97fd7b3d38d4fdcb5559c0ecb4307a3) Thanks [@z.object({](https://github.com/z.object({), [@z.object({](https://github.com/z.object({)! - Add the ability to provide Zod schemas using `z.object()` instead of requiring a record format
1536
+
1537
+ ```ts
1538
+ // Previously we supported this
1539
+ new EventSchemas().fromZod({
1540
+ "test.event": {
1541
+ data: z.object({ a: z.string() }),
1542
+ b: z.number() }),
1543
+ },
1544
+ });
1545
+
1546
+ // Now we ALSO support this
1547
+ new EventSchemas().fromZod([
1548
+ z.object({
1549
+ name: z.literal("test.event"),
1550
+ data: z.object({ a: z.string() }),
1551
+ b: z.number() }),
1552
+ }),
1553
+ ]);
1554
+ ```
1555
+
1556
+ This should help if you wish to declare your events piece-by-piece instead of in a single object.
1557
+
1558
+ ```ts
1559
+ const firstEvent = z.object({
1560
+ name: z.literal("app/user.created"),
1561
+ data: z.object({ id: z.string() }),
1562
+ });
1563
+
1564
+ const secondEvent = z.object({
1565
+ name: z.literal("shop/product.deleted"),
1566
+ data: z.object({ id: z.string() }),
1567
+ });
1568
+
1569
+ new EventSchemas().fromZod([firstEvent, secondEvent]);
1570
+ ```
1571
+
1572
+ You can use the exported `LiteralZodEventSchema` type to provide some autocomplete when writing your events, too.
1573
+
1574
+ ```ts
1575
+ const ShopProductOrdered = z.object({
1576
+ name: z.literal("shop/product.ordered"),
1577
+ data: z.object({ productId: z.string() }),
1578
+ }) satisfies LiteralZodEventSchema;
1579
+ ```
1580
+
1581
+ ## 2.5.2
1582
+
1583
+ ### Patch Changes
1584
+
1585
+ - [#305](https://github.com/inngest/inngest-js/pull/305) [`10220af`](https://github.com/inngest/inngest-js/commit/10220af5b666eb1f09cbb47d252edde8c78b5a48) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Always attempt accessing the dev server if the `INNGEST_DEVSERVER_URL` environment variable is specified
1586
+
1587
+ This helps some situations where a user may want to run integration tests against a deployed or otherwise production build, using the Inngest Dev Server to do so.
1588
+
1589
+ ## 2.5.1
1590
+
1591
+ ### Patch Changes
1592
+
1593
+ - [#302](https://github.com/inngest/inngest-js/pull/302) [`5b2bfac`](https://github.com/inngest/inngest-js/commit/5b2bfac61f3b3f4ecbfdedca3e3c18be1393eb88) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Remove `preinstall` script from `inngest` package causing errors when consuming the package
1594
+
1595
+ ## 2.5.0
1596
+
1597
+ ### Minor Changes
1598
+
1599
+ - [#289](https://github.com/inngest/inngest-js/pull/289) [`b04d904`](https://github.com/inngest/inngest-js/commit/b04d9045bc5fe289834f756cda2bfd5eb631f18c) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `attempt` number to SDK function context
1600
+
1601
+ ```ts
1602
+ inngest.createFunction(
1603
+ { name: "Example Function" },
1604
+ { event: "app/user.created" },
1605
+ async ({ attempt }) => {
1606
+ // ...
1607
+ },
1608
+ );
1609
+ ```
1610
+
1611
+ ### Patch Changes
1612
+
1613
+ - [#293](https://github.com/inngest/inngest-js/pull/293) [`424bfb2`](https://github.com/inngest/inngest-js/commit/424bfb2e5e711837c07d002424c1681839d470f8) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add `key` to `concurrency` types
1614
+
1615
+ - [#290](https://github.com/inngest/inngest-js/pull/290) [`b62c88b`](https://github.com/inngest/inngest-js/commit/b62c88ba6045ebaae02ce176a2ab9de4e9b63c78) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Support Vercel's Express (`@vercel/node`) in `"inngest/express"` serve handler
1616
+
1617
+ - [#286](https://github.com/inngest/inngest-js/pull/286) [`5587a15`](https://github.com/inngest/inngest-js/commit/5587a15861fe3ca3b8713cc56b9f00141537f6f7) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Updated contribution guidelines
1618
+
1619
+ ## 2.4.1
1620
+
1621
+ ### Patch Changes
1622
+
1623
+ - f2ffc8b: Fix `cross-fetch` import issue in testing environemtnst. API package also uses custom `fetch` passed via arguments.
1624
+ - acfa07c: Throw error when using `inngest/express` and not using a body parser
1625
+ - b535e1e: Ensure users are not allowed to configure batching with cancellation or rate limiting, as these features do not yet function together
1626
+ - c271eb1: Add `x-inngest-no-retry: true` header when non-retriable for internal executor changes
1627
+ - 2a93f0b: Fix `onFailure` functions missing types applied by middleware
1628
+
1629
+ ## 2.4.0
1630
+
1631
+ ### Minor Changes
1632
+
1633
+ - 6cb6719: Allow filtering of events within triggers
1634
+
1635
+ ### Patch Changes
1636
+
1637
+ - 55c889c: Expose raw error message if status is unknown
1638
+
1639
+ ## 2.3.0
1640
+
1641
+ ### Minor Changes
1642
+
1643
+ - 7792a62: Add support for streaming to `inngest/remix`
1644
+
1645
+ ## 2.2.1
1646
+
1647
+ ### Patch Changes
1648
+
1649
+ - 1120e29: Genercize mixed async error; the same symptom can be caused by a few different errors
1650
+
1651
+ ## 2.2.0
1652
+
1653
+ ### Minor Changes
1654
+
1655
+ - d0a8976: Add support for batching events.
1656
+
1657
+ Introduces a new configuration to function configurations.
1658
+
1659
+ ```ts
1660
+ batchEvents?: { maxSize: 100, timeout: "5s" }
1661
+ ```
1662
+
1663
+ This will take Inngest start execution when one of the following conditions are met.
1664
+
1665
+ 1. The batch is full
1666
+ 2. Time is up
1667
+
1668
+ When the SDK gets invoked, the list of events will be available via a newly exported field `events`.
1669
+
1670
+ ```ts
1671
+ createFunction(
1672
+ { name: "my func", batchEvents: { maxSize: 100, timeout: "5s" } },
1673
+ { event: "my/event" },
1674
+ async ({ event, events, step }) => {
1675
+ // events is accessible with the list of events
1676
+ // event will still be a single event object, which will be the
1677
+ // 1st event of the list.
1678
+
1679
+ const result = step.run("do something with events", () => {
1680
+ return events.map(() => doSomething());
1681
+ });
1682
+
1683
+ return { success: true, result };
1684
+ },
1685
+ );
1686
+ ```
1687
+
1688
+ ### Patch Changes
1689
+
1690
+ - 591f73d: Set `ts` field on sent events if undefined
1691
+ - 1cbf65e: Alter registration response to include `modified` for deployment deduplication
1692
+
1693
+ ## 2.1.0
1694
+
1695
+ ### Minor Changes
1696
+
1697
+ - b74477f: Add optional `id` property to all step tooling, allowing users to override state recovery
1698
+
1699
+ ## 2.0.2
1700
+
1701
+ ### Patch Changes
1702
+
1703
+ - 023d761: Harden error serialization to ensure uncaught exceptions don't slip through during function runs
1704
+
1705
+ ## 2.0.1
1706
+
1707
+ ### Patch Changes
1708
+
1709
+ - 3ef0b36: Add better visibility into serve handlers issues
1710
+ - 4226b85: Fix middleware `transformOutput` hook not running if an asynchronous, non-step function's body threw
1711
+ - cc3929d: Fix a very rare bug in which `step.sleep()` hashing could produce different IDs across different executions
1712
+
1713
+ ## 2.0.0
1714
+
1715
+ ### Major Changes
1716
+
1717
+ - 4f29f5c: Removed `tools` parameter (breaking). This was marked as `@deprecated` in v1, but is being fully removed in v2. Use `step` instead.
1718
+ See the [v2 migration guide](https://www.inngest.com/docs/sdk/migration#clearer-event-sending).
1719
+ - 4f29f5c: Renamed `throttle` to `rateLimit`.
1720
+ See the [v2 migration guide](https://www.inngest.com/docs/sdk/migration#clearer-event-sending).
1721
+ - 4f29f5c: Added the ability to provide middleware when defining Inngest clients and functions, hooking into a client's lifecycle to add custom functionality like error monitoring, data transformations, and more.
1722
+ See [Advanced: Middleware - Inngest Documentation](https://www.inngest.com/docs/reference/middleware/overview).
1723
+ - 4f29f5c: Removed ability to `serve()` without a client (breaking).
1724
+ See the [v2 migration guide](https://www.inngest.com/docs/sdk/migration#clearer-event-sending).
1725
+ - 4f29f5c: Better event schema definitions (breaking), providing an extensible metho of creating and maintaining event payloads with a variety of native tools and third-party libraries.
1726
+ See [Defining Event Payload Types - Inngest Documentation](https://www.inngest.com/docs/reference/client/create#defining-event-payload-types).
1727
+ - 4f29f5c: Removed some overloads of `inngest.send()` to provide a better TS experience when sending events (breaking).
1728
+ See the [v2 migration guide](https://www.inngest.com/docs/sdk/migration#clearer-event-sending).
1729
+
1730
+ ### Minor Changes
1731
+
1732
+ - 4f29f5c: Added a `logger` to Inngest functions in addition to allowing users to provide a custom logger to reliably push logs to external services and handle flushing on serverless environments.
1733
+ See [Logging in Inngest - Inngest Documentation](https://www.inngest.com/docs/guides/logging).
1734
+ - 4f29f5c: Add `GetEvents<>` export which can be used to pull final event types from an Inngest client.
1735
+ See [Defining Event Payload Types](https://www.inngest.com/docs/reference/client/create#defining-event-payload-types).
1736
+ - 4f29f5c: Add ability to provide `concurrency: { limit: number }` in function config, ready for more config options.
1737
+
1738
+ ### Patch Changes
1739
+
1740
+ - b62cd6d: Update landing page vite dependency to v3.2.7
1741
+
1742
+ ## 1.9.4
1743
+
1744
+ ### Patch Changes
1745
+
1746
+ - 7d025d6: Fix `NonRetriableError` not working when thrown from within a step
1747
+
1748
+ ## 1.9.3
1749
+
1750
+ ### Patch Changes
1751
+
1752
+ - 64c397e: Handle circular JSON errors while stringifying across the SDK
1753
+
1754
+ ## 1.9.2
1755
+
1756
+ ### Patch Changes
1757
+
1758
+ - 71b1a17: Fix Vercel platform check to support local dev while using `vercel env pull`
1759
+
1760
+ ## 1.9.1
1761
+
1762
+ ### Patch Changes
1763
+
1764
+ - 49ddbb5: Add platform deploy checks
1765
+
1766
+ ## 1.9.0
1767
+
1768
+ ### Minor Changes
1769
+
1770
+ - 48d94a2: Allow user provided logger to be used within functions (experimental)
1771
+
1772
+ ## 1.8.5
1773
+
1774
+ ### Patch Changes
1775
+
1776
+ - 34f9ee8: INN-1253 Show actionable error when steps are nested
1777
+
1778
+ ## 1.8.4
1779
+
1780
+ ### Patch Changes
1781
+
1782
+ - aaac9e5: When recommending event key fixes, recommend setting env vars first
1783
+
1784
+ ## 1.8.3
1785
+
1786
+ ### Patch Changes
1787
+
1788
+ - c09261b: INN-1348 Throw an actionable error when we detect mixed async logic
1789
+ - 98c15b3: INN-1347 Fix deadlock when an async function finds a step
1790
+
1791
+ ## 1.8.2
1792
+
1793
+ ### Patch Changes
1794
+
1795
+ - 5462bdd: Ensure Inngest client's env object is used within serve()
1796
+ - 0b0c0ad: Add consistent type imports for slightly better tree-shaking
1797
+
1798
+ ## 1.8.1
1799
+
1800
+ ### Patch Changes
1801
+
1802
+ - 5573be3: INN-1270 Create an internal handler to enforce more actionable user-facing errors
1803
+
1804
+ ## 1.8.0
1805
+
1806
+ ### Minor Changes
1807
+
1808
+ - 65966f5: INN-1087 Add edge streaming support to `"inngest/next"` serve handler
1809
+
1810
+ ### Patch Changes
1811
+
1812
+ - 164fd5c: INN-1266 Fix bad link for fetching Inngest signing key on landing page
1813
+
1814
+ ## 1.7.1
1815
+
1816
+ ### Patch Changes
1817
+
1818
+ - 34b6d39: INN-1240 Add `queueMicrotask()` fallback for restrictive environments
1819
+
1820
+ ## 1.7.0
1821
+
1822
+ ### Minor Changes
1823
+
1824
+ - c999896: INN-1029 Add `env` option to `Inngest` client to explicitly push to a particular Inngest env
1825
+
1826
+ ### Patch Changes
1827
+
1828
+ - 131727a: Adjust README to have a slightly clearer intro
1829
+ - c999896: INN-1186 Send `x-inngest-platform` and `x-inngest-framework` headers during registration
1830
+ - 0728308: Expose run ID to function executions for user-managed logging and tracing
1831
+ - 3ac579f: Warn users when some functions appear undefined when serving
1832
+ - eb1ea34: Allow signing keys with multiple prefixes, as required for branch environment support
1833
+
1834
+ ## 1.6.1
1835
+
1836
+ ### Patch Changes
1837
+
1838
+ - a840e67: INN-1126 Execute a step early if it's the only pending item during a discovery
1839
+
1840
+ This reduces the number of "Function steps" used for simple step functions.
1841
+
1842
+ ## 1.6.0
1843
+
1844
+ ### Minor Changes
1845
+
1846
+ - c7d1bee: Add `onFailure` handler to `createFunction` options, allowing you to specify a new function to run when the initial handler fails
1847
+
1848
+ ## 1.5.4
1849
+
1850
+ ### Patch Changes
1851
+
1852
+ - 071fe89: INN-1054 Ensure serve handlers return `any` instead of `unknown` so that they don't needlessly conflict with user types
1853
+
1854
+ ## 1.5.3
1855
+
1856
+ ### Patch Changes
1857
+
1858
+ - 906aca5: INN-1009 Show warnings when using the package with TS versions `<4.7.2` and Node versions `<14`
1859
+
1860
+ This includes tests to assert we appropriately support these versions now and in the future.
1861
+
1862
+ - ca7d79e: Detect env vars from Node and Deno in serve handlers (INN-1012)
1863
+
1864
+ ## 1.5.2
1865
+
1866
+ ### Patch Changes
1867
+
1868
+ - 2d6e0b5: Fix infinite type instantiation using a looping type in serve handlers (thanks for the report, @grempe)
1869
+
1870
+ ## 1.5.1
1871
+
1872
+ ### Patch Changes
1873
+
1874
+ - 0836145: Refactor `InngestCommHandler` to better detect env and reduce duplication (INN-997)
1875
+
1876
+ ## 1.5.0
1877
+
1878
+ ### Minor Changes
1879
+
1880
+ - ac81320: Add `"inngest/lambda"` serve handler for AWS Lambda environments
1881
+ - f73a346: Add `"inngest/edge"` serve handler for use in v8 edge runtimes
1882
+
1883
+ ## 1.4.1
1884
+
1885
+ ### Patch Changes
1886
+
1887
+ - 43162d3: The "_Connected to `inngest dev`_" pill at the top of the SDK's landing page now links to the connected dev server.
1888
+
1889
+ _Thanks, [**@khill-fbmc**](https://github.com/khill-fbmc)!_
1890
+
1891
+ ![image](https://user-images.githubusercontent.com/1736957/225711717-fdc87dda-b8df-4aa4-a76b-233729f4d547.png)
1892
+
1893
+ - 56b8e9a: Removes many `any` types from the internal and public APIs.
1894
+
1895
+ Affects the public API, so will therefore be a package bump, but shouldn't affect any expected areas of use.
1896
+
1897
+ - a45601e: Update dependency typescript to v5
1898
+
1899
+ Including a bump for this as it does seem to fix some complex inference for future features.
1900
+
1901
+ ## 1.4.0
1902
+
1903
+ ### Minor Changes
1904
+
1905
+ - ebb8740: Add ability to control the concurrency of a specific function via the `concurrency` option when creating an Inngest function
1906
+ - e61cf0f: Add `cancelOn` option when creating a function, allowing you cancel execution of a function based on incoming events.
1907
+
1908
+ ## 1.3.5
1909
+
1910
+ ### Patch Changes
1911
+
1912
+ - a4f8ae8: Fixes a typing bug where both `event` and `cron` could be specified as a trigger at the same time.
1913
+
1914
+ Multiple event triggers will be coming in a later update, but not in this format.
1915
+
1916
+ - d6a8329: Ensure signatures are not validated during development
1917
+ - 950a2bc: Ensure `inngest.send()` and `step.sendEvent()` can be given an empty array without error