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

1.19.2

Improvements

  • Add new types for server wallet exportPrivateKey method
1.19.1

Improvements

  • Deprecate chainId in favor of chainType on Wallet type
1.19.0

Improvements

  • Add policy CRUD endpoints to WalletApi
1.18.12

Improvements

  • Add policy CRUD endpoints to WalletApi
  • Deprecate WalletApiCreateResponseType in favor of WalletApiWalletResponseType
1.18.12

Bug Fixes

  • Fix serialization of bigints in the signTypedData method for createViemAccount
1.18.11

Bug Fixes

  • Fix issue where @solana/web3.js would crash in Edge runtimes
1.18.10

Bug Fixes

  • Fix issue where hexadecimal strings were not signed correctly due to being passed with the wrong encoding
1.18.9

Improvements

  • Add id to embedded wallet account on user object for delegated actions
  • Add getTransaction
1.18.8

Improvements

  • Add exponential backoff to getUsers
  • Add transaction_id to /rpc endpoints response
1.18.7

Other Changes

  • Internal improvements
1.18.6

Improvements

  • Include passkey accounts in user object
1.18.5
Breaking Changes
  • Remove unused dev dependencies
1.18.4

Improvements

  • Add ability to search users by GitHub username
  • Update getTestAccessToken to accept a specific test phoneNumber or email if an app has multiple test accounts enabled

Bug Fixes

  • Fix issue where the chainType filter on privy.walletApi.getWallets wasn’t properly applied
1.18.3

Other Changes

  • Internal improvements
1.18.2

Improvements

  • Update types for privy.walletApi.ethereum.sendTransaction and privy.walletApi.solana.signAndSendTransaction to map correctly to successful API responses
1.18.1

Bug Fixes

  • Fix error in server wallet interface where 400 errors were not properly exposed to the developer
1.18.0
Breaking Changes
  • Deprecate privy.walletApi.rpc(...) in favor of privy.walletApi.ethereum.{signMessage, signTypedData, signTransaction, sendTransaction} and privy.walletApi.solana.{signMessage, signTransaction, signAndSendTransaction}

Improvements

  • Add getWallet and getWallets methods to fetch server wallets
  • Add createViemAccount method to create a viem Account from an Ethereum server wallet
  • Add name to Google OAuth entry in parsed identity token
1.17.2

Bug Fixes

  • Fix issue where SDK would log WARNING: Missing strong random number source due to unrelated ethers type dependency
1.17.1

Bug Fixes

  • Ensure that walletApi.rpc infers the response type correctly based on the input type
1.17.0

Improvements

  • Add cross-app accounts in user linked accounts
1.16.11

Improvements

  • Add support for server wallet authorization signatures and idemptoency keys
  • Add support to get a user by smart wallet address
1.16.10

Improvements

  • Add latest account to user object when parsing it from the identity token
1.16.9

Improvements

  • Add support for adding custom_metadata on user import
1.16.8

Improvements

  • Add createWallets method for pregenerating embedded wallets for existing users
1.16.7

Other Changes

  • Pin @solana/web3.js to ^1.95.8
1.16.6

Improvements

  • Add support for eth_sendTransaction and Solana signAndSendTransaction RPCs to delegated actions interfaces
1.16.5

Improvements

  • Update wallet API authorization signature logic to use @noble/curves instead of node crypto

Bug Fixes

  • Handle hex inputs for chain id to eth_signTransaction
  • Fix Solana transaction deserialization and improve RPC function overloading
1.16.4

Other Changes

  • Make svix package range more lenient
1.16.3

Improvements

  • Add support for delegated actions on EVM networks
1.16.2

Other Changes

  • Lock version of svix dependency
1.16.1
Breaking Changes
  • Removed eslint-config-custom dependency
1.16.0

Improvements

  • Add walletApi for Privy delegated actions
1.15.3

Improvements

  • Add delegated field to WalletWithMetadata object
1.15.2
Breaking Changes
  • Removed eslint-config-custom dependency
1.15.1

Other Changes

  • Internal improvements
1.14.5

Other Changes

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

Improvements

  • Add support for smart wallet pregeneration
1.14.3

Improvements

  • Improve docstrings for getUser
1.14.2

Improvements

  • Update docstrings

Other Changes

  • Return smart wallet information when fetching users
1.14.1

Other Changes

  • Internal improvements
1.14.0

Improvements

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

Improvements

  • Support integers and booleans in customMetadata

Other Changes

  • Discord username lookup
1.13.0

Improvements

  • Add setCustomMetadata as a client method
1.12.0
Breaking Changes
  • 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

Improvements

  • Add getUserByTelegramUsername and getUserByTelegramUserId to get users by telegram identifiers
1.11.1

Improvements

  • Update getUserByPhoneNumber to search by number

Other Changes

  • Mark getUsers by search term deprecated. Use the account specific search methods (e.g. getUserByEmailAddress) instead
1.11.0

Improvements

  • Add verifyWebhook method for verifying webhook requests from Privy
1.10.0

Improvements

  • Add getTestAccountAccessToken method to fetch a valid access token for a account if enabled
1.9.7

Improvements

  • Add isGuest to User to identify guest users
1.9.6

Improvements

  • Add getUserByCustomAuthId to get users by a custom auth identifier
  • Add getUserByTwitterUsername and getUserByTwitterSubject to get users by twitter identifiers
1.9.5
Breaking Changes
  • Remove null from importUser function return type

Bug Fixes

  • Fix type on getUserByFarcasterId to number rather than string

Other Changes

  • Use more optimized endpoints for getUserByEmail and getUserbyPhoneNumber
1.9.4

Improvements

  • Add Spotify, Instagram, Telegram, and Farcaster to exposed types
  • Enable Solana wallet pregeneration
1.9.3

Improvements

  • Add Spotify and Instagram linked accounts to user object
1.9.2

Bug Fixes

  • Fix issue where telegram accounts did not include a camel-cased verifiedAt / firstVerifiedAt field causing account formatting to error

Other Changes

  • Make firstName an optional field in telegram import type
1.9.1

Improvements

  • Update documentation
1.9.0

Improvements

  • Include firstVerifiedAt and latestVerifiedAt in user.linkedAccounts
  • 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

Bug Fixes

  • Fix importUser to not require firstVerifiedAt or latestVerifiedAt
1.8.0

Other Changes

  • 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

Bug Fixes

  • Fix Farcaster user import
1.7.3

Improvements

  • Add getUsersByFarcasterId
  • Improved support for edge/worker environments
1.7.2

Bug Fixes

  • Fix parsing and formatting of API errors
1.7.1

Improvements

  • Add profilePictureUrl to Twitter Account type
1.7.0

Improvements

  • Add Farcaster account types

Bug Fixes

  • Fix issue where client version wasn’t being sent with requests
1.6.1

Bug Fixes

  • Fix token verification bug in edge runtimes
1.6.0

Improvements

  • Support new social login methods (LinkedIn, TikTok)
1.5.3

Improvements

  • Support esm imports
1.5.2

Other Changes

  • Edge runtime compatibility
1.5.1

Other Changes

  • Rename LinkedAccountType value custom to custom_auth
1.5.0

Improvements

  • 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

Improvements

  • Add support for Apple OAuth
  • Support wallet pregeneration on importUser
1.3.1

Other Changes

  • Export LinkedAccountWithMetadata type
1.3.0

Improvements

  • Update getUsers to support paginated API and return all getUsers
  • Support GitHub account types
1.2.0

Improvements

  • Add allowlist, Github OAuth, and user import methods
1.1.2

Other Changes

  • Export phone types

Was this page helpful?