The Privy JS Core SDK is a low-level library and not intended for general consumption. Please do
not attempt to use this library without first reaching out to the Privy team to discuss your
project and which Privy SDK options may be better suited to it.
Added
Added a chain option so external Solana wallets on devnet and testnet can log in.
Fixed
Fixed Tempo nonces above 2^53 being rejected due to safe-integer conversion.
Improvements
Preserve the HTTP status of API error responses whose bodies are empty or not JSON; PrivyApiError now falls back to a default message for the status and exposes an optional retryAfterSeconds from the Retry-After header.
Fixed
Fixed MFA submit failing with a timeout error due to a timer left over from an earlier MFA flow.
Fixed timed-out embedded wallet operations still sending requests and waiting on MFA codes.
Fixed
Fixed failures when adding embedded wallets due to incorrect HD index assumptions.
Fixed
Fixed a login or logout being undone by a session refresh still in flight.
Fixed
Fixed bugs in useDepositFunds.
Fixed stale user state after accepting terms and creating refund wallets.
Fixed viem peer dependency conflicts by accepting compatible versions with ^2.57.8.
Fixed type 1 transaction rejection and EIP-7702 authorization forwarding in embedded wallet transactions.
Fixed cross-app linking caching tokens from unrelated OAuth flows.
Improvements
Improved initial load size by loading Tempo chain support on demand.
Fixed
Fixed logout rejecting when MFA state cannot be cleared without an embedded wallet proxy.
Fixed wallet providers timing out after setMessagePoster due to a stale proxy.
Fixed TEE wallet creation failing before the embedded wallet iframe or WebView mounts.
Added
Added wallet updates with user authorization and support for wallet metadata, signers, and policies.
Fixed
Fixed embedded wallet cache reuse across authenticated users.
Improvements
Internal improvements.
Improvements
Internal improvements.
Improvements
Internal improvements.
Improvements
Internal improvements.
Added
Added Solana v1 transaction support by accepting serialized bytes in the embedded Solana provider.
Fixed
Fixed automatic embedded wallet creation during Expo cross-app login.
Dependencies
Update viem to v2.56.5.
Added
Added support for Solana v1 transactions.
Improvements
API updates.
Fixed
Fixed embedded wallets becoming unusable after archiving the index-0 wallet.
Improvements
API updates.
Added
Exported the getWalletAction and listWalletActions wallet action functions.
Added
Added the wallet transfer action function export.
Added
Added a shared data suffix plugin for EVM transaction attribution.
Improvements
API updates.
Added
Add importWallet to the embedded wallet API for importing Ethereum and Solana wallets by private key.
Improvements
Improved auth.logout() to clear local state before revoking the session without awaiting it.
Dependencies
Update viem to v2.56.0.
Added
Added Privy.fetchPrivyRouteRaw to fetch endpoints whose response body is not JSON (e.g. PDFs), reusing the SDK’s auth headers, token refresh, and timeout.
Added a privy-retry-attempt header to every request, replacing the fetch-retry dependency with an internal retry implementation.
Added a refreshUser() method to refresh user data and identity token via GET /api/v1/users/me without rotating the session or refresh token.
Fixed
Fixed incorrect request/response types on the underlying RefreshUser route definition due to swapped generic parameters.
Add support for updating the email address and phone number on a user
Improve debug logs for token refresh
Bug Fixes
Fix issue where certain client-set cookies weren’t cleared on logout
Remove session forking logic
Improvements
Update public-api to 2.18.10
Update api-base to 1.4.4
Improvements
Update public-api to 2.18.9
Improvements
Update public-api to 2.18.8
Improvements
Add sign in with Solana (SIWS)
Improvements
Adds support for accepting the Terms of Service and Privacy Policy set by the app
Improvements
Add support for HD ethereum wallets
Improve debug logging
Update public-api to 2.18.6
Improvements
Add support for ThirdWeb smart accounts
Improvements
Internal improvements
Improvements
Update public-api to 2.18.4
Improvements
Internal improvements
Update public-api to 2.18.3
Update api-base to 1.4.3
Improvements
Adds removeForLogin option for Passkey MFA unenrollment
Update public-api to 2.18.2
Improvements
Adds support for cross-app signatures and transactions
Fix typo in createOnLogin value users-without-wallets to match docs
Update public-api to 2.18.0
Improvements
Add signAndSendTransaction and signTransaction requests to Solana provider
Improvements
Add support for automatic embedded wallet creation on EVM and Solana
Update public-api to 2.17.0
Breaking Changes
Other changes
client.embeddedWallet.create: Update to take an object input with named arguments, remove provider from the response
client.embeddedWallet.createSolana: Update to take an object input with named arguments, remove provider from the response
Remove deprecated methods from client.embeddedWallet: setPassword, createAdditionalSolana, getMessageHandler
hasEmbeddedWallet and isPasswordRequired have been removed as well, these values can be derived from the user object directly
Improvements
Adds support for login and linking against a cross-app account provider
Update public-api to 2.16.0
Improvements
Update public-api to 2.15.11
Improvements
Update public-api to 2.15.10
Improvements
Add support for signing up with passkey
Update public-api to 2.15.9
Improvements
Build improvements
Improvements
Adds support for delegated actions
Remove race condition for storage access check
Update public-api to 2.15.8
Improvements
Update public-api to 2.15.7
Improvements
Update public-api to 2.15.6
Improvements
Update public-api to 2.15.5
Improvements
Exports types required for the populate transaction API
Update public-api to 2.15.4
Improvements
Internal improvements
Update public-api to 2.15.3
Improvements
Update nativeAppIdentifier to not rely on document being set
Bug Fixes
Fix coinbase bundler/paymaster gas estimation issues
Improvements
Add support for funding experiences
Bug Fixes
Fix undefined is not a function error on login when Promise.allSettled is not available
Improvements
Internal improvements
Improvements
Add support for user-managed recovery (password and cloud) for Solana embedded wallets
Add support for native account abstraction (smart wallets)
Improvements
Internal improvements
Update public-api to 2.13.0
Improvements
Add support for Bitcoin embedded wallets
Improvements
Add support for signing replayable user operations for the Coinbase smart wallet
Internal dependency updates.
Update public-api to 2.12.1
Improvements
Update public-api dependency to 2.12.0
Improvements
Update public-api dependency to 2.11.6
Improvements
Update public-api dependency to 2.11.5
Breaking Changes
Other changes
Deprecate getUserEmbeddedWallet in favor of getUserEmbeddedEthereumWallet
Improvements
Update public-api dependency to 2.11.4
Improvements
Add support for wallet MFA
Export EIP1193Provider type
Improve error handling around when storage access fails
Improvements
Improve observability of Solana RPC requests
Improvements
Update internal dependencies
Breaking Changes
Other changes
Update Privy.embeddedWallet.createSolana to return the updated user object as well as the provider
Improvements
Add support for HD Solana embedded wallets
Improvements
Add client-side error for when native app ID cannot be determined
Improvements
Update public-api dependency to 2.10.5
Improvements
Allow an Ethereum embedded wallet to be created for a user with a Solana embedded wallet
Improvements
Update public-api dependency to 2.10.4
Improvements
Trigger OAuth token granted callbacks on OAuth linking
Update public-api dependency to 2.10.3
Improvements
Update public-api dependency to 2.10.2
Improvements
Update public-api dependency to 2.10.1
Improvements
Update build output and package exports
Update public-api dependency to 2.9.6
Improvements
Add support for creating guest accounts
Improvements
Add support for a 'no-signup' mode in authentication flows
Improvements
Add support for unlinking wallets
Improvements
Updated dependencies
Improvements
Updated dependencies
Bug Fixes
Fix chain definition for Base
Improvements
Updated dependencies
Bug Fixes
Fix transaction preparation bug where specifying value in a transaction with insufficient funds will throw
Improvements
Update chain ID during wallet login to always be a valid number
Add Solana mainnet chain ID to Solana embedded wallet in user.linkedAccounts
Bug Fixes
Ignore gasPrice during transaction preparation on EIP-1559 chains where that parameter is not supported (OP Stack, Polygon)
Improvements
Add new interface for handling messages from the embedded wallet, deprecates client.embeddedWallet.getMessageHandler in favor of client.embeddedWallet.onMessage
Improvements
Support native iCloud recovery when possible
Improvements
Add support for identity tokens and expose getIdentityToken
Improvements
Update public-api dependency to 2.8.1
Improvements
Update public-api dependency
Improvements
Improve error message from wallet RPC failures
Improvements
Increase duration before recovery timeout
Update public-api dependency
Breaking Changes
Implement
Update Privy.embeddedWallet.setRecovery to return the updated user object as well as the provider