Skip to content

fix(jsr): resolve slow-type errors in elysia and h3 adapters#69

Merged
tomaspozo merged 2 commits into
mainfrom
fix/jsr-pipeline
May 19, 2026
Merged

fix(jsr): resolve slow-type errors in elysia and h3 adapters#69
tomaspozo merged 2 commits into
mainfrom
fix/jsr-pipeline

Conversation

@tomaspozo
Copy link
Copy Markdown
Member

@tomaspozo tomaspozo commented May 19, 2026

Summary

  • Adds explicit return type to the Elysia withSupabase plugin and exports SupabaseError so it's reachable from the public API (JSR missing-explicit-return-type).
  • Removes the declare module 'h3' ambient augmentation from src/adapters/h3/middleware.ts (JSR unsupported-ambient-module); the middleware now casts event.context locally. The augmentation moved into the test file (JSR-excluded) and the H3 docs gained a one-time snippet users add in their own project for typed event.context.supabaseContext.

@tomaspozo tomaspozo requested review from a team as code owners May 19, 2026 16:30
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 19, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@supabase/server@69

commit: 9cdc788

@tomaspozo tomaspozo merged commit 7c56b13 into main May 19, 2026
7 checks passed
@tomaspozo tomaspozo deleted the fix/jsr-pipeline branch May 19, 2026 16:36
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.

2 participants