Beta Qwik-specific auth utilities for Supabase, version 0.0.3. Provides convenience helpers for implementing user authentication in Qwik applications, leveraging resumability and the Qwik framework's unique architecture. Requires peer dependency @supabase/supabase-js ^2.0.4. As a beta package, it may have breaking changes without notice. It is part of the broader supabase/auth-helpers ecosystem, targeting Qwik specifically. Differentiators include integration with Qwik's $() async patterns and server-side rendering capabilities.
npm install supabase-auth-helpers-qwikVerified import paths — ran on the pinned version, not inferred.
Shows basic usage: create a Supabase client via context, fetch session on mount, and conditionally display user info.
Pin to exact version and monitor releases.
Ensure your app wraps with a provider that calls createClient.
Use import statements and ensure your project is configured for ESM.
Wrap async operations in $() or use useAsync$ appropriately.
Install the package: npm install @supabase/auth-helpers-qwik and ensure tsconfig includes 'node' in types.
Ensure you use createClient from this package and not from @supabase/supabase-js directly.