Skip to content

fix(realtime): revert vsn type to string - #2170

Merged
mandarini merged 1 commit into
supabase:masterfrom
software-mansion-labs:fix/type-revert
Mar 17, 2026
Merged

mandarini merged 1 commit into
supabase:masterfrom
software-mansion-labs:fix/type-revert

Conversation

@snickerdoodle2

Copy link
Copy Markdown
Contributor

🔍 Description

This PR loosens typing in RealtimeClientOptions.

What changed?

Revert vsn type back to string. Checks it's value later on, the same way previous implementation did.

Why was this change needed?

Fixes failing CI in supabase/supabase

🔄 Breaking changes

Changes RealtimeClientOptions.vsn type to string | undefined

📋 Checklist

  • I have read the Contributing Guidelines
  • My PR title follows the conventional commit format: <type>(<scope>): <description>
  • I have run npx nx format to ensure consistent code formatting
  • [ ] I have added tests for new functionality (if applicable)
  • [ ] I have updated documentation (if applicable)

@snickerdoodle2
snickerdoodle2 requested review from a team as code owners March 17, 2026 08:30
@pkg-pr-new

pkg-pr-new Bot commented Mar 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

@supabase/auth-js

npm i https://pkg.pr.new/@supabase/auth-js@2170

@supabase/functions-js

npm i https://pkg.pr.new/@supabase/functions-js@2170

@supabase/postgrest-js

npm i https://pkg.pr.new/@supabase/postgrest-js@2170

@supabase/realtime-js

npm i https://pkg.pr.new/@supabase/realtime-js@2170

@supabase/storage-js

npm i https://pkg.pr.new/@supabase/storage-js@2170

@supabase/supabase-js

npm i https://pkg.pr.new/@supabase/supabase-js@2170

commit: ad35dd7

@mandarini mandarini changed the title fix: revert vsn type to string fix(realtime): revert vsn type to string Mar 17, 2026
@mandarini
mandarini merged commit 65c7e41 into supabase:master Mar 17, 2026
22 checks passed
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