Skip to content

v0.30.0

Latest

Choose a tag to compare

@ryanio ryanio released this 09 Sep 00:23

What's Changed

Picks up @opensea/wallet-adapters@1.0.0 and re-exports its Solana surface.

PrivySvmAdapter, SvmWalletAdapter, SvmTransactionRequest and WalletSelector are now available from the package root, alongside the existing WalletAdapter exports. createWalletFromEnv({ chainType: "svm" }) selects a Solana wallet, and with no argument it still returns the EVM one, so existing callers are unchanged.

Two flows that are EVM-only in substance now reject a Solana wallet with a message naming the reason rather than failing later on a missing method: x402 settlement, which is EIP-3009, and the viem bridge, since viem is an EVM client.

Nothing breaks. WalletAdapter became a union in wallet-adapters 1.0.0, and the only thing that requires is a chainType on an adapter you implement yourself.

Full Changelog: v0.29.0...v0.30.0