Skip to content

fix: share typed request state - #11

Merged
kauandotnet merged 1 commit into
mainfrom
agent/request-state-release
Aug 2, 2026
Merged

fix: share typed request state#11
kauandotnet merged 1 commit into
mainfrom
agent/request-state-release

Conversation

@kauandotnet

Copy link
Copy Markdown
Contributor

What changed

  • export a plugin-aware BetterAuthRequestState contract
  • use a global resolved-session symbol across duplicated package copies
  • add strict type and runtime interoperability coverage
  • document alpha-tag installation

Why

Composite guards and downstream resolvers need one stable typed request-state boundary even when package managers install duplicate copies.

Impact

@nestm/better-auth is projected to release as 0.1.0-alpha.4.

Validation

  • Express and Fastify suites
  • TypeScript build and packed type consumer
  • integration API linked and nine-package packed matrices
  • release preflight: lint, formatting, TypeScript, diff hygiene, and Changesets status

@kauandotnet
kauandotnet merged commit 90fed84 into main Aug 2, 2026
8 checks passed
@kauandotnet
kauandotnet deleted the agent/request-state-release branch August 2, 2026 23:58
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.

1 participant