SDK changelogs
NodeJS changelog
The release notes for our @privy-io/server-auth
SDK.
1.21.0
Improvements
- Add SDK method
secp256k1Sign
for raw signatures from EVM wallets - New utility functions to sign API requests with authorization signatures
1.20.0
Improvements
- Add support for
secp256k1_sign
RPC method - Constrain the
Quantity
input to resolve potential number overflow issues - Update
@privy-io/public-api
to2.21.0
1.19.3
Improvements
- Fix module not found error when
viem
is not installed - Deprecate
walletApi.create
in favor ofwalletApi.createWallet
- Add support for specifying owner and additionalSigners when creating wallet
1.18.12
Improvements
- Add policy CRUD endpoints to WalletApi
- Deprecate
WalletApiCreateResponseType
in favor ofWalletApiWalletResponseType
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.5
Breaking Changes
- Remove unused dev dependencies
1.18.4
1.18.2
Improvements
- Update types for
privy.walletApi.ethereum.sendTransaction
andprivy.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 ofprivy.walletApi.ethereum.{signMessage, signTypedData, signTransaction, sendTransaction}
andprivy.walletApi.solana.{signMessage, signTransaction, signAndSendTransaction}
Improvements
- 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
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.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.6
Improvements
- Add support for eth_sendTransaction and Solana signAndSendTransaction RPCs to delegated actions interfaces
1.16.5
1.16.1
Breaking Changes
- Removed
eslint-config-custom
dependency
1.15.2
Breaking Changes
- Removed
eslint-config-custom
dependency
1.14.5
Other Changes
- Fetch setting for whether plus emails are disabled when fetching app configuration
1.14.2
1.14.0
Improvements
- Add more performant
getUser({idToken: string})
and deprecategetUserById
on thegetUser(id: string)
method
1.13.1
1.12.0
Breaking Changes
- 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
Improvements
- Add
getUserByTelegramUsername
andgetUserByTelegramUserId
to get users by telegram identifiers
1.11.1
1.10.0
Improvements
- Add
getTestAccountAccessToken
method to fetch a valid access token for a account if enabled
1.9.6
Improvements
- Add
getUserByCustomAuthId
to get users by a custom auth identifier - Add
getUserByTwitterUsername
andgetUserByTwitterSubject
to get users by twitter identifiers
1.9.5
1.9.4
Improvements
- Add
Spotify
,Instagram
,Telegram
, andFarcaster
to exposed types - Enable Solana wallet pregeneration
1.9.2
1.9.0
Improvements
- Include
firstVerifiedAt
andlatestVerifiedAt
inuser.linkedAccounts
- Include telegram accounts in
user.linkedAccounts
- Add
vanityName
to linkedin accounts - Add
hdWalletIndex
andimported
to wallet accounts - Add
telegram
,tiktok
, andlinkedin
to User
Bug Fixes
- Fix
importUser
to not requirefirstVerifiedAt
orlatestVerifiedAt
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.0
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.3.0
Improvements
- Update
getUsers
to support paginated API and return all getUsers - Support GitHub account types