Appearance
Releases
The release notes for our @privy-io/server-auth
SDK.
1.18.1
- Fix error in server wallet interface where 400 errors were not properly exposed to the developer
1.18.0
- Deprecate
privy.walletApi.rpc(...)
in favor ofprivy.walletApi.ethereum.{signMessage, signTypedData, signTransaction, sendTransaction}
andprivy.walletApi.solana.{signMessage, signTransaction, signAndSendTransaction}
- Add
getWallet
andgetWallets
methods to fetch server wallets - Add
createViemAccount
method to create a viemAccount
from an Ethereum server wallet - Add
name
to Google OAuth entry in parsed identity token
1.17.2
- Fix issue where SDK would log
WARNING: Missing strong random number source
due to unrelated ethers type dependency
1.17.1
- Ensure that
walletApi.rpc
infers the response type correctly based on the input type
1.17.0
- Add cross-app accounts in user linked accounts
1.16.11
- Add support for server wallet authorization signatures and idemptoency keys
- Add support to get a user by smart wallet address
1.16.10
- Add latest account to
user
object when parsing it from the identity token
1.16.9
- Add support for adding
custom_metadata
on user import
1.16.8
- Add
createWallets
method for pregenerating embedded wallets for existing users
1.16.7
- Pin
@solana/web3.js
to^1.95.8
1.16.6
- Add support for eth_sendTransaction and Solana signAndSendTransaction RPCs to delegated actions interfaces
1.16.5
- Update wallet API authorization signature logic to use
@noble/curves
instead of node crypto - Handle hex inputs for chain id to
eth_signTransaction
- Fix Solana transaction deserialization and improve RPC function overloading
1.16.4
- Make svix package range more lenient
1.16.3
- Add support for delegated actions on EVM networks
1.16.2
- Lock version of
svix
dependency
1.16.1
- Removed
eslint-config-custom
dependency
1.16.0
- Add
walletApi
for Privy delegated actions
1.15.3
- Add
delegated
field toWalletWithMetadata
object
1.15.2
- Removed
eslint-config-custom
dependency
1.15.1
- Internal improvements
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 deprecategetUserById
on thegetUser(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 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