@solana/react-hooks 0.2.5 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -393,8 +393,13 @@ function SimulationLogs({ transaction }) {
393
393
 
394
394
  ## Going further
395
395
 
396
- - Need Wallet Standard buttons or sign/send helpers? Use `useSignIn`, `useSignMessage`,
397
- `useSignTransaction`, and friends from `walletStandardHooks.ts`.
396
+ - Wallet connection UI: `useWalletConnection` gives you the current wallet, connect/disconnect
397
+ helpers, and the connector list (from `client.connectors` when provided, with optional Wallet
398
+ Standard discovery fallback). Pair it with your preferred UI, or `WalletConnectionManager` for a
399
+ simple modal state helper.
400
+ - Signing helpers: the wallet session returned by `useWallet` exposes `signMessage`,
401
+ `signTransaction`, and `sendTransaction` when supported by the connector. These connector methods
402
+ replace the deprecated Wallet Standard shims.
398
403
  - Looking for examples? See `examples/react-hooks` for a ready-to-run, tabbed playground that wires
399
404
  the provider, hooks, and mock UIs together across wallet/state, transaction, and query demos.
400
405