SDK changelogs
JS Core SDK changelog
The release notes for @privy-io/js-sdk-core
.
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.
0.47.0
0.46.2
Improvements
- Consolidate chain definitions across Privy JavaScript SDKs
- Update
public-api
to2.20.2
- Update
chains
to0.0.1
0.46.1
Improvements
- Add
reload
to embedded wallet interface - Improve gas estimation logic for ZeroDev bundlers
- Update
public-api
to2.20.1
0.46.0
Breaking Changes
Improvements
-
Improve error message when token storage fails
-
Upgrade fetch-retry to v6, improve exponential backoff for failed requests
-
Dedupe
supportedChains
and use Privy RPC URLs unless an override is specified. -
Update
link
andunlink
methods to return{user, identity_token}
instead ofuser
:EmailApi.linkWithCode
,EmailApi.updateEmail
,EmailApi.unlink
,FarcasterApi.link
,FarcasterApi.unlink
,OAuthApi.linkWithCode
,OAuthApi.unlink
,PasskeyApi.linkWithPasskey
,PhoneApi.linkWithCode
,PhoneApi.updatePhone
,PhoneApi.unlink
,SiweApi.unlinkWallet
,SiweApi.linkWithSiwe
,SiwsApi.unlink
,SiwsApi.link
,SmartWalletApi.link
-
Update
public-api
to2.20.0
0.44.5
Improvements
- Add support for updating the email address and phone number on a user
- Improve debug logs for token refresh
0.44.3
0.43.0
Improvements
- Adds support for accepting the Terms of Service and Privacy Policy set by the app
0.42.0
Improvements
- Add support for HD ethereum wallets
- Improve debug logging
- Update
public-api
to2.18.6
0.41.1
Improvements
- Adds
removeForLogin
option for Passkey MFA unenrollment - Update
public-api
to2.18.2
0.41.0
Improvements
- Adds support for cross-app signatures and transactions
- Fix typo in
createOnLogin
valueusers-without-wallets
to match docs - Update
public-api
to2.18.0
0.39.0
Improvements
- Add support for automatic embedded wallet creation on EVM and Solana
- Update
public-api
to2.17.0
0.38.0
Breaking Changes
Other changes
client.embeddedWallet.create
: Update to take an object input with named arguments, removeprovider
from the responseclient.embeddedWallet.createSolana
: Update to take an object input with named arguments, removeprovider
from the response- Remove deprecated methods from
client.embeddedWallet
:setPassword
,createAdditionalSolana
,getMessageHandler
hasEmbeddedWallet
andisPasswordRequired
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
to2.16.0
0.36.0
Improvements
- Adds support for delegated actions
- Remove race condition for storage access check
- Update
public-api
to2.15.8
0.35.3
Improvements
- Exports types required for the populate transaction API
- Update
public-api
to2.15.4
0.35.1
0.34.2
0.34.0
Improvements
- Add support for user-managed recovery (password and cloud) for Solana embedded wallets
- Add support for native account abstraction (smart wallets)
0.30.5
Improvements
- Add support for signing replayable user operations for the Coinbase smart wallet
- Minor internal improvements
- Update
public-api
to2.12.1
0.30.1
0.30.0
Improvements
- Add support for wallet MFA
- Export
EIP1193Provider
type - Improve error handling around when storage access fails
0.29.0
0.28.6
Improvements
- Allow an Ethereum embedded wallet to be created for a user with a Solana embedded wallet
0.28.4
Improvements
- Trigger OAuth token granted callbacks on OAuth linking
- Update
public-api
dependency to2.10.3
0.26.2
Bug Fixes
- Fix transaction preparation bug where specifying value in a transaction with insufficient funds will throw
0.26.1
0.26.0
Improvements
- Add new interface for handling messages from the embedded wallet, deprecates
client.embeddedWallet.getMessageHandler
in favor ofclient.embeddedWallet.onMessage
0.24.0
Breaking Changes
Implement
- Update
Privy.embeddedWallet.setRecovery
to return the updated user object as well as the provider
0.23.0
Improvements
- Add recovery upgrade flows:
client.embeddedWallet.setRecovery
- Deprecate
client.embeddedWallet.setPassword
, instead usesetRecovery({recoveryMethod: 'user-passcode'})
0.22.1
Improvements
- Add experimental
csw_signUserOperation
RPC to support signing user operations for the Coinbase Smart Wallet
0.22.0
Breaking Changes
- Deprecate goerli and polygon mumbai chains
Improvements
- Add support for app clients
- Update
public-api
dependency
0.20.0
Breaking Changes
- Update
Privy.embeddedWallet.create
to return the newly created account metadata as well as the provider object
0.19.0
Improvements
- Add support for
redirect_url
to Farcaster login methods - Use Privy RPC endpoints for Berachain Artio
- Update
public-api
dependency
0.18.1
0.13.6
0.13.2
0.13.0
Breaking Changes
- Remove text-encoding-polyfill and require apps to supply their own if necessary
0.12.0
Improvements
- Guard login/link hooks from being used at the wrong time
- Support enabled cookies on mobile runtimes
- Throw explicit api and client error classes
- Add new error messages for OAuth failures
- Updated dependencies
0.8.6
0.8.4
Improvements
- Debounce session refresh requests
- Clear logout flags when token is missing in session response
0.5.0
Improvements
- Export Storage interface
- Export error utility to determine if recovery is needed for the embedded wallet
0.4.0
0.3.0
Improvements
- Add
isPasswordRequired
helper to simplify recovery - Add
hasEmbeddedWallet
helper - Improved exporting of types