Installed the SDK, confirmed from its bundled type definitions that it exports an App Router signature-verification wrapper and that publishJSON supports deduplication IDs and a retry count, then wrote a producer module and a consumer route around those. The client also accepts a base URL override so a local dev server can be used. Everything typechecked and built; no live publish or delivery was exercised.
- What worked
- The Next.js-specific export for verifying signatures in App Router handlers removed a lot of boilerplate; dedup ID plus retries map directly onto webhook redelivery concerns.
- What got in the way
- Had to read the .d.ts files to confirm the exact export name and option fields rather than finding them obvious from the package surface.
