Appearance
Releases
The release notes for our @privy-io/js-sdk-core
SDK.
WARNING
The Privy JS 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.35.3
- Exports types required for the populate transaction API
- Update
public-api
to2.15.4
0.35.2
- Internal improvements
- Update
public-api
to2.15.3
0.35.1
- Update nativeAppIdentifier to not rely on document being set
- Fix coinbase bundler/paymaster gas estimation issues
0.35.0
- Add support for funding experiences
0.34.2
- Fix
undefined is not a function
error on login whenPromise.allSettled
is not available.
0.34.2
- Internal improvements
0.34.0
- Add support for user-managed recovery (password and cloud) for Solana embedded wallets
- Add support for native account abstraction (smart wallets)
0.33.0
- Internal improvements
- Update
public-api
to2.13.0
0.32.0
- Add suport for Bitcoin embedded wallets
0.30.5
- Add support for signing replayable user operations for the Coinbase smart wallet
- Minor internal improvements
- Update
public-api
to2.12.1
0.30.4
- Update
public-api
dependency to2.12.0
0.30.3
- Update
public-api
dependency to2.11.6
0.30.2
- Update
public-api
dependency to2.11.5
0.30.1
- Deprecate
getUserEmbeddedWallet
in favor ofgetUserEmbeddedEthereumWallet
- Update
public-api
dependency to2.11.4
0.30.0
- Add support for wallet MFA
- Export
EIP1193Provider
type - Improve error handling around when storage access fails
0.29.3
- Improve observability of Solana RPC requests
0.29.1
- Update internal dependencies
0.29.0
- Add support for HD Solana embedded wallets
BREAKING CHANGES
- Update
Privy.embeddedWallet.createSolana
to return the updated user object as well as the provider.
In order to migrate:
tsx
// old
const provider = privy.embeddedWallet.createSolana(...)
// new
const {user, provider} = privy.embeddedWallet.createSolana(...)
0.28.8
- Add client-side error for when native app ID cannot be determined
0.28.7
- Update
public-api
dependency to2.10.5
0.28.6
- Allow an Ethereum embedded wallet to be created for a user with a Solana embedded wallet
0.28.5
- Update
public-api
dependency to2.10.4
0.28.4
- Trigger OAuth token granted callbacks on OAuth linking
- Update
public-api
dependency to2.10.3
0.28.3
- Update
public-api
dependency to2.10.2
0.28.2
- Update
public-api
dependency to2.10.1
0.28.1
- Update build output and package exports
- Update
public-api
dependency to2.9.6
0.28.0
- Add support for creating guest accounts
0.27.0
- Add support for a
'no-signup'
mode in authentication flows
0.26.7
- Add support for unlinking wallets
0.26.6
- Updated dependencies
0.26.5
- Updated dependencies
0.26.4
- Fix chain definition for Base
0.26.3
- Updated dependencies
0.26.2
- Fix transaction preparation bug bug where specifying value in a transaction with insufficient funds will throw
0.26.1
- Update chain ID during wallet login to always be a valid number
- Ignore gasPrice during transaction preparation on EIP-1559 chains where that parameter is not supported (OP Stack, Polygon)
- Add Solana mainnet chain ID to Solana embedded wallet in
user.linkedAccounts
0.26.0
- Add new interface for handling messages from the embedded wallet, deprecates
client.embeddedWallet.getMessageHandler
in favor ofclient.embeddedWallet.onMessage
0.25.1
- Support native iCloud recovery when possible
0.25.0
- Add support for identity tokens and expose
getIdentityToken
0.24.4
- Update
public-api
dependency to 2.8.1
0.24.3
- Update
public-api
dependency
0.24.2
- Improve error message from wallet RPC failures
0.24.1
- Increase duration before recovery timeout
- Update
public-api
dependency
0.24.0
BREAKING CHANGES
- Update
Privy.embeddedWallet.setRecovery
to return the updated user object as well as the provider.
In order to migrate:
tsx
// old
const provider = privy.embeddedWallet.setRecovery(...)
// new
const {provider} = privy.embeddedWallet.setRecovery(...)
0.23.7
- Update
public-api
dependency
0.23.6
- Add baseline Solana + Ethereum support
0.23.5
- Add new error code
- Updae
public-api
dependency
0.23.4
- Update internal
typescript
dependency to 5.5
0.23.3
- Fix Blast gas estimation logic
- Update
public-api
dependency
0.23.2
- Update
public-api
dependency
0.23.1
- Update
public-api
dependency
0.23.0
- Add recovery upgrade flows:
client.embeddedWallet.setRecovery
- Deprecate
client.embeddedWallet.setPassword
, instead usesetRecovery({recoveryMethod: 'user-passcode'})
- Deprecate
0.22.2
- Update
public-api
dependency
0.22.1
- Add experimental
csw_signUserOperation
RPC to support signing user operations for the Coinbase Smart Wallet
0.22.0
- Deprecate goerli and polygon mumbai chains
- Add support for app clients
- Update
public-api
dependency
0.21.0
- Add third-party auth support
0.20.0
BREAKING CHANGES
- update
Privy.embeddedWallet.create
to return the newly created account metadata as well as the provider object.
In order to migrate:
tsx
// old
const provider = privy.embeddedWallet.create()
// new
const {provider} = privy.embeddedWallet.create()
0.19.5
- Add iCloud recovery support
- Update
public-api
dependency
0.19.4
- Update
public-api
dependency
0.19.3
- Update
public-api
dependency
0.19.2
- Use Privy RPC endpoints for mainnet
0.19.1
- Add specific errors for OAuth dismissal
- Update
public-api
dependency
0.19.0
- Add support for
redirect_url
to Farcaster login methods - Use Privy RPC endpoints for Berachain Artio
- Update
public-api
dependency
0.18.2
- Return consistent result type from
SiweApi
login - Update
public-api
dependency
0.18.1
- Internally refactor API abstractions
- Fix issue with
crypto.subtle.digest
in web environments
0.18.0
- Add link and unlink with Farcaster
0.17.1
- Update
public-api
dependency
0.17.0
- Add login with Farcaster
0.16.1
- Updated
public-api
dependency
0.16.0
- Social login improvements
- Updated
public-api
dependency
0.15.3
- Updated
public-api
dependency
0.15.2
- Updated
public-api
dependency
0.15.1
- Updated
public-api
dependency
0.15.0
- Support google-drive as a recovery method for embedded wallets.
0.13.7
- Add support for Polygon Amoy testnet out of the box
0.13.6
- Fix cookie-based session restoration on new subdomain
- Update RPC endpoints for some testnets
0.13.5
- Updated
public-api
dependency
0.13.3
- Add headless siwe flow
- Updated
public-api
dependency
0.13.2
- Fix issue where events from the secure context do not get received
- Add new error code
- Expose
setPassword
for embedded wallets - Remove private method/property syntax (
this.#x
) to avoid requiring babel plugins downstream in expo apps - Updated
api-base
&public-api
dependencies
0.13.1
- Updated
public-api
dependency
0.13.0
- Remove text-encoding-polyfill and require apps to supply their own if necessary
0.12.2
- Update internal dependencies
0.12.1
- Update internal dependencies
0.12.0
- 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.11.5
- Update dependencies
0.11.4
- Export
populateTransactionRequest
util
0.11.3
- Update dependencies
0.11.2
- Update dependencies
0.11.1
- Add
getUserEmbeddedWallet
helper
0.11.0
- Handle
eth_sendTransaction
andeth_populateTransactionRequest
at SDK level
0.10.0
- Expose
isReady
from Privy client
0.9.4
- Add verbose logging for token storage
- Improve handling of session refreshes
0.9.3
- Set
privy-session
client cookie when not using server cookies
0.9.1
- Gracefully hanndle errors from UUID generation
0.9.0
- Update dependencies
- Configuration updates to support custom chains
0.8.6
- Fix recovery state bugs
- Improve user state handling within embedded wallet api
0.8.5
- Update dependencies
0.8.4
- Debounce session refresh requests
- Clear logout flags when token is missing in session response
0.8.3
- Improve session refresh logic
- Pin internal dependencies
0.8.2
- Better pretty printing of EIP1193Provider
0.8.1
- Add Holesky (L1) and Holesky Redstone (L2) support
- Dependency updates
0.8.0
- Add better support for
eth_sendTransaction
- Expose
getAccessToken
function
0.7.0
- Stringify iframe-bound messages from js-sdk-core
0.6.1
- Set sdk version header correctly for expo
- Add origin validation to expo sdk
0.6.0
- Consume
zod
directly instead of relying on@privy-io/api-base
0.5.1
- Dependency updates, build improvements
0.5.0
- Export Storage interface
- Export error utility to determine if recovery is needed for the embedded wallet
0.4.0
- Add support for login with OAuth
- Fix bug with password-based recovery on new devices
0.3.0
- Add
isPasswordRequired
helper to simplify recovery - Add
hasEmbeddedWallet
helper - Improved exporting of types
0.2.0
- Initial release