From a5593ef8ee73001434ff717b39fe1298cba196d3 Mon Sep 17 00:00:00 2001 From: Garvit Khatri Date: Sat, 12 Oct 2024 21:25:01 +0100 Subject: [PATCH] Add exports (#301) * add more exports * Add chageset --- .changeset/lemon-houses-pretend.md | 5 +++++ packages/wagmi/index.ts | 12 ++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .changeset/lemon-houses-pretend.md diff --git a/.changeset/lemon-houses-pretend.md b/.changeset/lemon-houses-pretend.md new file mode 100644 index 00000000..11ea48e1 --- /dev/null +++ b/.changeset/lemon-houses-pretend.md @@ -0,0 +1,5 @@ +--- +"@permissionless/wagmi": patch +--- + +Added exports for parameters and return types diff --git a/packages/wagmi/index.ts b/packages/wagmi/index.ts index ad0a2eb4..4b8dd695 100644 --- a/packages/wagmi/index.ts +++ b/packages/wagmi/index.ts @@ -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"