File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed
packages/react/src/hooks/account/wallet Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change
1
+ export * from './use-claim-namespace'
1
2
export * from './use-create-remote-account'
2
3
export * from './use-create-sub-account'
3
4
export * from './use-deposit'
@@ -6,8 +7,9 @@ export * from './use-execute'
6
7
export * from './use-execute-on-remote'
7
8
export * from './use-execute-on-remote-module'
8
9
export * from './use-execute-remote'
9
- export * from './use-send-funds-to-remote '
10
+ export * from './use-install-modules '
10
11
export * from './use-request-remote-funds'
12
+ export * from './use-send-funds-to-remote'
11
13
export * from './use-update-info'
12
14
export * from './use-update-settings'
13
15
export * from './use-update-status'
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export type UseClaimNamespaceParameters = {
25
25
}
26
26
27
27
/**
28
- * Execute a msg as the account.
28
+ * Claim a namespace from version control on the account.
29
29
* @param accountId
30
30
* @param chainName
31
31
* @param mutation
Original file line number Diff line number Diff line change @@ -9,14 +9,18 @@ import {
9
9
UseMutationReturnType ,
10
10
} from '../../../types/queries'
11
11
12
- type ExecuteMutation = ExtractArgsFromParameters <
12
+ type InstallModulesMutation = ExtractArgsFromParameters <
13
13
Parameters < AccountWalletClient [ 'installModules' ] > [ 0 ]
14
14
>
15
15
16
- export type UseExecuteParameters = {
16
+ export type UseInstallModulesParameters = {
17
17
accountId : AccountId | undefined
18
18
chainName : string | undefined
19
- mutation ?: UseMutationParameters < ExecuteResult , unknown , ExecuteMutation >
19
+ mutation ?: UseMutationParameters <
20
+ ExecuteResult ,
21
+ unknown ,
22
+ InstallModulesMutation
23
+ >
20
24
}
21
25
22
26
/**
@@ -29,10 +33,10 @@ export function useInstallModules({
29
33
accountId,
30
34
chainName,
31
35
mutation,
32
- } : UseExecuteParameters ) : UseMutationReturnType <
36
+ } : UseInstallModulesParameters ) : UseMutationReturnType <
33
37
ExecuteResult ,
34
38
unknown ,
35
- ExecuteMutation
39
+ InstallModulesMutation
36
40
> {
37
41
const config = useConfig ( )
38
42
const accountClient = config . useAccountWalletClient ( {
You can’t perform that action at this time.
0 commit comments