Skip to content

fix: allow streamable session id generator#153

Open
EfeDurmaz16 wants to merge 1 commit intovercel:mainfrom
EfeDurmaz16:efe/session-id-generator-function
Open

fix: allow streamable session id generator#153
EfeDurmaz16 wants to merge 1 commit intovercel:mainfrom
EfeDurmaz16:efe/session-id-generator-function

Conversation

@EfeDurmaz16
Copy link
Copy Markdown

Summary

  • Updates the config type so sessionIdGenerator accepts a function for Streamable HTTP sessions
  • Adds a regression test that constructs a handler with a custom session ID generator

Fixes #149.

Verification

  • pnpm test tests/config.test.ts
  • pnpm build

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.

Change sessionIdGenerator's type to accept function

1 participant