Skip to content

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.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 use setRecovery({recoveryMethod: 'user-passcode'})

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 and eth_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 withing 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