Skip to content

Releases: MeshJS/react

v2.0.0-beta.2 (February 12th, 2026)

12 Feb 06:12

Choose a tag to compare

@meshsdk/react v2.0.0-beta.2

Bug Fixes

  • Fix ESM browser build crash — Upgraded @meshsdk/wallet from 2.0.0-beta.4 to 2.0.0-beta.5. The ESM bundle was inlining @noble/hashes/cryptoNode.js which called require("crypto") via a tsup runtime shim, causing builds to break in webpack/Vite browser environments where require is undefined. The ESM bundle now correctly resolves to the browser-safe globalThis.crypto (Web Crypto API), while the CJS bundle continues using Node's native require("crypto").

Dependencies

Package From To
@meshsdk/wallet 2.0.0-beta.4 2.0.0-beta.5

v2.0.0-beta.1 (February 12th, 2026)

12 Feb 02:54

Choose a tag to compare

@meshsdk/react v2.0.0-beta.1

Complete rewrite migrating to Wallet v2 architecture.

Highlights

  • Wallet v2 integration — Built on @meshsdk/wallet@2.0.0-beta.4 with CIP-30 raw passthrough as base methods and new convenience methods (*Bech32(), *Mesh(), signTxReturnFullTx()) for human-friendly formats
  • React component libraryCardanoWallet connect modal with browser extension, burner, and WebAuthn wallet support; CardanoWalletDropdown for balance display and wallet switching; MeshBadge branding component
  • HooksuseWallet, useAddress, useAssets, useLovelace, useNetwork, useRewardAddress, useWalletList, useWalletSubmit
  • Context providerMeshProvider wrapping all wallet state management

Breaking Changes from v1

v1 method v2 behavior
wallet.getChangeAddress() Now returns hex (use getChangeAddressBech32() for bech32)
wallet.getUsedAddresses() Now returns hex (use getUsedAddressesBech32())
wallet.signTx() Now returns witness set CBOR only (use signTxReturnFullTx() for full signed tx)
wallet.getBalance() Now returns CBOR hex (use getBalanceMesh() for Asset[])
wallet.getUtxos() Now returns CBOR hex (use getUtxosMesh() for UTxO[])
wallet.signData(payload, addr?) Params swapped: now signData(addressHex, data) — address first, required

New Convenience Methods

  • getChangeAddressBech32(), getUsedAddressesBech32(), getUnusedAddressesBech32(), getRewardAddressesBech32()
  • signTxReturnFullTx(), getBalanceMesh(), getUtxosMesh(), getCollateralMesh()

Infrastructure

  • Dual ESM + CJS output via tsup with TypeScript declarations
  • Tailwind CSS for component styling (import @meshsdk/react/styles.css)
  • GitHub Actions workflow for automated npm publish on release
  • pnpm for dependency management

Dependencies

  • @meshsdk/common@1.9.0-beta.98, @meshsdk/wallet@2.0.0-beta.4, @utxos/sdk@0.1.5
  • Radix UI primitives (Dialog, Dropdown Menu, Tooltip, Label, Icons)
  • React >=16.0.0 (peer dependency)