Skip to content

Commit

Permalink
Add exports (#301)
Browse files Browse the repository at this point in the history
* add more exports

* Add chageset
  • Loading branch information
plusminushalf authored Oct 12, 2024
1 parent 1a2e617 commit a5593ef
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-houses-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@permissionless/wagmi": patch
---

Added exports for parameters and return types
12 changes: 10 additions & 2 deletions packages/wagmi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@ export {
type PermissionlessProviderProps
} from "./context"

export { useSendTransaction } from "./hooks/useSendTransaction"
export { useWaitForTransactionReceipt } from "./hooks/useWaitForTransactionReceipt"
export {
useSendTransaction,
type UseSendTransactionParameters,
type UseSendTransactionReturnType
} from "./hooks/useSendTransaction"
export {
useWaitForTransactionReceipt,
type UseWaitForTransactionReceiptParameters,
type UseWaitForTransactionReceiptReturnType
} from "./hooks/useWaitForTransactionReceipt"

0 comments on commit a5593ef

Please sign in to comment.