Skip to content

Commit 824a631

Browse files
authored
Move EIP-5792 hooks ro thirdweb/react export to match documentation (thirdweb-dev#3235)
1 parent e7b9b9f commit 824a631

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changeset/short-news-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Adds EIP-5792 hook exports to thirdweb/react

packages/thirdweb/src/exports/react.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,8 @@ export {
140140
useWalletDetailsModal,
141141
type UseWalletDetailsModalOptions,
142142
} from "../react/web/ui/ConnectWallet/Details.js";
143+
144+
// eip5792 hooks
145+
export { useSendCalls } from "../react/core/hooks/wallets/useSendCalls.js";
146+
export { useCallsStatus } from "../react/core/hooks/wallets/useCallsStatus.js";
147+
export { useCapabilities } from "../react/core/hooks/wallets/useCapabilities.js";

0 commit comments

Comments
 (0)