Skip to content

Conversation

@rekmarks
Copy link
Member

@rekmarks rekmarks commented Oct 28, 2025

Explanation

Adds v2/createScaffoldMiddleware.ts to match the equivalent legacy middleware.

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

Note

Introduce v2/createScaffoldMiddleware, export it, and update tests/changelog with minor type improvements.

  • v2:
    • Middleware: Add createScaffoldMiddleware to map RPC methods to handlers or primitive results.
    • Exports: Re-export createScaffoldMiddleware from v2/index.ts and update export snapshot.
    • Types: Default generics for MiddlewareParams in JsonRpcEngineV2 to improve ergonomics.
    • Tests:
      • Add createScaffoldMiddleware.test.ts.
      • Improve tests/utils.makeRequest typing; remove unnecessary @ts-ignore in parallel requests test.
  • Changelog: Append PR reference #6975 to JsonRpcEngineV2 entry.

Written by Cursor Bugbot for commit 7b4e1b6. This will update automatically on new commits. Configure here.

@rekmarks rekmarks requested review from a team as code owners October 28, 2025 05:04
cursor[bot]

This comment was marked as outdated.

@rekmarks rekmarks merged commit ef17622 into main Oct 28, 2025
255 checks passed
@rekmarks rekmarks deleted the rekm/jrpce-v2-scaffold branch October 28, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants