File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/graz/src/actions/wallet Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { clearSession } from ".";
1919export interface InitiaWallet {
2020 getVersion : ( ) => Promise < string > ;
2121 getAddress : ( chainId ?: string ) => Promise < string > ;
22- getOfflineSigner : ( chainId : string ) => OfflineDirectSigner ;
22+ getOfflineSigner : ( chainId : string ) => OfflineDirectSigner & OfflineAminoSigner ;
2323 getOfflineSignerOnlyAmino : ( chainId : string ) => OfflineAminoSigner ;
2424 requestAddInitiaLayer : ( chain : Partial < Chain > ) => Promise < void > ;
2525 signAndBroadcastSync : ( chainId : string , txBody : Uint8Array , gas : number ) => Promise < string > ;
@@ -80,13 +80,12 @@ export const getInitia = (): Wallet => {
8080 pubKey : account . pubkey ,
8181 bech32Address : account . address ,
8282 address : rawAddress ,
83- ethereumHexAddress : "" ,
8483 isNanoLedger : false ,
8584 isKeystone : false ,
8685 } ;
8786 } ;
8887
89- const getOfflineSigner = ( chainId : string ) => {
88+ const getOfflineSigner = ( chainId : string ) : OfflineDirectSigner & OfflineAminoSigner => {
9089 const directSigner = initia . getOfflineSigner ( chainId ) ;
9190 const aminoSigner = initia . getOfflineSignerOnlyAmino ( chainId ) ;
9291
You can’t perform that action at this time.
0 commit comments