Releases: firebase/firebase-admin-node
Releases · firebase/firebase-admin-node
Firebase Admin Node.js SDK v5.1.0
- Added the method
getUserByPhoneNumber()
to theadmin.auth
interface. This method enables retrieving user profile information by a phone number. createUser()
andupdateUser()
methods now accept aphoneNumber
property, which can be used to create users with a phone number field and/or update the phone number associated with a user.- Added the
phoneNumber
field toadmin.auth.UserRecord
, which exposes the phone number associated with a user account. - Added the
phoneNumber
field toadmin.auth.UserInfo
, which exposes the phone number associated with a user account by a linked identity provider.
Firebase Admin Node.js SDK v5.0.1
Firebase Admin Node SDK v5.0.0
- The deprecated
serviceAccount
property in theadmin.App.Options
type has been removed in favor of thecredential
property. createdAt
andlastSignedInAt
properties inadmin.auth.UserMetadata
has been renamed tocreationTime
andlastSignInTime
. Also these properties now provide UTC formatted string values instead ofDate
values.- Initializing the SDK without setting a credential results in an exception.
- Initializing the SDK with a malformed private key string results in an exception.