Skip to content

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 22 Apr 17:58
· 14 commits to canary since this release
b2e6611

Patch Changes

  • cb1a144: Forward WebhookOptions through ResendAdapter.handleWebhook to chat.processMessage. processMessage is fire-and-forget, so on serverless platforms (e.g. Vercel Functions) the function would return 200 before the detached task finished — inbound emails were acknowledged but never processed. Callers can now pass waitUntil to keep the runtime alive until processing completes:

    import { after } from "next/server";
    
    adapter.handleWebhook(request, { waitUntil: (p) => after(() => p) });