Appearance
Releases
The release notes for our @privy-io/server-auth
SDK.
1.12.0
- BREAKING CHANGE: update all
getUserByX
(e.g.getUserByEmail
) methods to consistently returnnull
if no user is found for the provided query, instead of throwing an error - Add
getUserByTelegramUsername
andgetUserByTelegramUserId
to get users by telegram identifiers
1.11.1
- Update
getUserByPhoneNumber
to search bynumber
- Mark
getUsers
by search term deprecated. Use the account specific search methods (e.g.getUserByEmailAddress
) instead
1.11.0
- Add
verifyWebhook
method for verifying webhook requests from Privy
1.10.0
- Add
getTestAccountAccessToken
method to fetch a valid access token for a account if enabled
1.9.7
- Add
isGuest
to User to identify guest users
1.9.6
- Add
getUserByCustomAuthId
to get users by a custom auth identifier - Add
getUserByTwitterUsername
andgetUserByTwitterSubject
to get users by twitter identifiers
1.9.5
- Use more optimized endpoints for
getUserByEmail
andgetUserbyPhoneNumber
- Fix type on
getUserByFarcasterId
to number rather than string - Remove
null
fromimportUser
function return type
1.9.4
- Add
Spotify
,Instagram
,Telegram
, andFarcaster
to exposed types - Enable Solana wallet pregeneration
1.9.3
- Add Spotify and Instagram linked accounts to
user
object
1.9.2
- Make
firstName
an optional field intelegram
import type - Fix issue where telegram accounts did not include a camel-cased verifiedAt / firstVerifiedAt field causing account formatting to error
1.9.1
- Update documentation
1.9.0
- Include
firstVerifiedAt
andlatestVerifiedAt
inuser.linkedAccounts
- Fix
importUser
to not requirefirstVerifiedAt
orlatestVerifiedAt
- Include telegram accounts in
user.linkedAccounts
- Add
vanityName
to linkedin accounts - Add
hdWalletIndex
andimported
to wallet accounts - Add
telegram
,tiktok
, andlinkedin
to User
1.8.0
- fix and update
getUserByWalletAddress
endpoint to be more performant - fix and update
getUsers
endpoint to be more performant for getting all users
1.7.4
- Fix Farcaster user import
1.7.3
- Add
getUsersByFarcasterId
- Improved support for edge/worker environments
1.7.2
- Fix parsing and formatting of API errors
1.7.1
- Add
profilePictureUrl
to Twitter Account type
1.7.0
- Add Farcaster account types
- Fix issue where client version wasn't being sent with requests
1.6.1
- Fix token verification bug in edge runtimes
1.6.0
- Support new social login methods (LinkedIn, TikTok)
1.5.3
- Support esm imports
1.5.2
- Edge runtime compatibility
1.5.1
- Rename
LinkedAccountType
valuecustom
tocustom_auth
1.5.0
- Add ability to query users by specific accounts (e.g. email, wallet address, phone number)
- Add ability to import users with custom auth accounts
1.4.0
- Add support for Apple OAuth
- Support wallet pregeneration on
importUser
1.3.1
- Export
LinkedAccountWithMetadata
type
1.3.0
- Update
getUsers
to support paginated API and return all getUsers - Support GitHub account types
1.2.0
- Add allowlist, Github OAuth, and user import methods
1.1.2
- Export phone types