Files
ui/pkg/auth-firebase/service/index.ts
zeekay ce8cf94ef8 feat(auth): make Firebase optional, add @hanzo/auth-firebase package
- Create @hanzo/auth-firebase v1.0.0 as optional Firebase provider
- Update @hanzo/auth v2.6.0 with pluggable auth provider system
- Update @hanzo/commerce v7.4.0 with optional Firebase peer dependency
- Add StubAuthService for graceful failures when no provider configured
- Add registerAuthProvider() for runtime provider registration

BREAKING CHANGE: Firebase is no longer bundled with @hanzo/auth.
Install @hanzo/auth-firebase and register it if you need Firebase auth:

  import { FirebaseAuthService } from '@hanzo/auth-firebase'
  import { registerAuthProvider } from '@hanzo/auth'
  registerAuthProvider('firebase', FirebaseAuthService)
2026-01-24 13:14:08 -08:00

21 lines
429 B
TypeScript

/**
* Firebase Auth Service exports
*/
export { default as FirebaseAuthService } from './firebase-auth-service'
export {
auth,
db,
isFirebaseConfigured,
firebaseConfig,
loginWithProvider,
signupWithEmailAndPassword,
loginWithEmailAndPassword,
loginWithCustomToken,
logoutBackend
} from './firebase-support'
export {
associateWalletAddressWithAccount,
getAssociatedWalletAddress
} from './wallet-support'