diff --git a/src/hooks/useUpdateOwners/index.ts b/src/hooks/useUpdateOwners/index.ts index 2db31ca..17483e9 100644 --- a/src/hooks/useUpdateOwners/index.ts +++ b/src/hooks/useUpdateOwners/index.ts @@ -11,8 +11,12 @@ export type UseUpdateOwnersReturnType = { swap: ReturnType } +export { type AddOwnerVariables } from './useAddOwner.js' +export { type RemoveOwnerVariables } from './useRemoveOwner.js' +export { type SwapOwnerVariables } from './useSwapOwner.js' + /** - * Hook to manage the owners of the Safe account. It provides methods to add a new owner, + * Hook to manage the owners of the Safe account. It provides methods to add a new owner, * remove an existing one, and to swap an existing owner in favor of a new one. * @returns Object wrapping the hooks to update, remove or swap owners. */ diff --git a/src/hooks/useUpdateOwners/useAddOwner.ts b/src/hooks/useUpdateOwners/useAddOwner.ts index 2404138..1c4ce8c 100644 --- a/src/hooks/useUpdateOwners/useAddOwner.ts +++ b/src/hooks/useUpdateOwners/useAddOwner.ts @@ -5,7 +5,7 @@ import { useSignerClientMutation } from '@/hooks/useSignerClientMutation.js' import { useSendTransaction } from '@/hooks/useSendTransaction.js' import { MutationKey } from '@/constants.js' -type AddOwnerVariables = Parameters[0] +export type AddOwnerVariables = Parameters[0] export type UseAddOwnerParams = ConfigParam export type UseAddOwnerReturnType = Omit< diff --git a/src/hooks/useUpdateOwners/useRemoveOwner.ts b/src/hooks/useUpdateOwners/useRemoveOwner.ts index d834b0a..a5ae292 100644 --- a/src/hooks/useUpdateOwners/useRemoveOwner.ts +++ b/src/hooks/useUpdateOwners/useRemoveOwner.ts @@ -5,7 +5,7 @@ import { useSendTransaction } from '@/hooks/useSendTransaction.js' import { useSignerClientMutation } from '@/hooks/useSignerClientMutation.js' import { MutationKey } from '@/constants.js' -type RemoveOwnerVariables = Parameters[0] +export type RemoveOwnerVariables = Parameters[0] export type UseRemoveOwnerParams = ConfigParam export type UseRemoveOwnerReturnType = Omit< diff --git a/src/hooks/useUpdateOwners/useSwapOwner.ts b/src/hooks/useUpdateOwners/useSwapOwner.ts index 0f077af..33d1521 100644 --- a/src/hooks/useUpdateOwners/useSwapOwner.ts +++ b/src/hooks/useUpdateOwners/useSwapOwner.ts @@ -5,7 +5,7 @@ import { useSignerClientMutation } from '@/hooks/useSignerClientMutation.js' import { useSendTransaction } from '@/hooks/useSendTransaction.js' import { MutationKey } from '@/constants.js' -type SwapOwnerVariables = Parameters[0] +export type SwapOwnerVariables = Parameters[0] export type UseSwapOwnerParams = ConfigParam export type UseSwapOwnerReturnType = Omit<