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"