@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 +7 -2
- package/dist/index.browser.cjs +99 -414
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.mjs +96 -404
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.native.mjs +96 -404
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.node.cjs +99 -414
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.mjs +96 -404
- package/dist/index.node.mjs.map +1 -1
- package/dist/types/SolanaProvider.d.ts.map +1 -1
- package/dist/types/hooks.d.ts +4 -1
- package/dist/types/hooks.d.ts.map +1 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/ui.d.ts +4 -1
- package/dist/types/ui.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/types/walletStandardHooks.d.ts +0 -78
- package/dist/types/walletStandardHooks.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -393,8 +393,13 @@ function SimulationLogs({ transaction }) {
|
|
|
393
393
|
|
|
394
394
|
## Going further
|
|
395
395
|
|
|
396
|
-
-
|
|
397
|
-
|
|
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
|
|