Skip to content

Commit 04fe08a

Browse files
committed
fix: more correct return type for getSigningClient
1 parent 28a61f5 commit 04fe08a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/wallet-manager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { AssetList, Chain } from '@chain-registry/types';
22
import { getWalletByType } from '@interchain-kit/core';
33
import { AminoSigner, CosmosSignerConfig, createCosmosQueryClient, DirectSigner, OfflineSigner } from '@interchainjs/cosmos';
4-
import { ISigningClient } from '@interchainjs/cosmos/types/signing-client';
54
import { HttpEndpoint } from '@interchainjs/types';
65
import Bowser from 'bowser';
76
import { getSigner } from 'interchainjs';
@@ -247,7 +246,7 @@ export class WalletManager {
247246
return cosmosWallet.getOfflineSigner(chain.chainId, preferredSignType);
248247
}
249248

250-
async getSigningClient(walletName: string, chainName: ChainName): Promise<ISigningClient> {
249+
async getSigningClient(walletName: string, chainName: ChainName): Promise<DirectSigner | AminoSigner> {
251250
try {
252251
const chain = this.getChainByName(chainName);
253252
const rpcEndpoint = await this.getRpcEndpoint(walletName, chainName);

0 commit comments

Comments
 (0)