Skip to content

Releases

The release notes for our @privy-io/server-auth SDK.

1.14.5

  • Fetch setting for whether plus emails are disabled when fetching app configuration

1.14.4

  • Add support for smart wallet pregeneration

1.14.3

  • Improve docstrings for getUser

1.14.2

  • Return smart wallet information when fetching users
  • Update docstrings

1.14.1

  • Internal improvements

1.14.0

  • Add more performant getUser({idToken: string}) and deprecate getUserById on the getUser(id: string) method

1.13.1

  • Support integers and booleans in customMetadata
  • Discord username lookup

1.13.0

  • Add setCustomMetadata as a client method

1.12.0

  • BREAKING CHANGE: update all getUserByX (e.g. getUserByEmail) methods to consistently return null if no user is found for the provided query, instead of throwing an error
  • Add getUserByTelegramUsername and getUserByTelegramUserId to get users by telegram identifiers

1.11.1

  • Update getUserByPhoneNumber to search by number
  • 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 and getUserByTwitterSubject to get users by twitter identifiers

1.9.5

  • Use more optimized endpoints for getUserByEmail and getUserbyPhoneNumber
  • Fix type on getUserByFarcasterId to number rather than string
  • Remove null from importUser function return type

1.9.4

  • Add Spotify, Instagram, Telegram, and Farcaster 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 in telegram 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 and latestVerifiedAt in user.linkedAccounts
  • Fix importUser to not require firstVerifiedAt or latestVerifiedAt
  • Include telegram accounts in user.linkedAccounts
  • Add vanityName to linkedin accounts
  • Add hdWalletIndex and imported to wallet accounts
  • Add telegram, tiktok, and linkedin 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 value custom to custom_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