mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-21 00:18:41 +00:00
- 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)
21 lines
429 B
TypeScript
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'
|