File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ export class IdentitiesFacade {
5454 return w . getIdentityContractNonceWithProofInfo ( identityId , contractId ) ;
5555 }
5656
57- async balance ( identityId : wasm . IdentifierLike ) : Promise < wasm . IdentityBalance > {
57+ async balance ( identityId : wasm . IdentifierLike ) : Promise < wasm . IdentityBalanceInfo > {
5858 const w = await this . sdk . getWasmSdkConnected ( ) ;
5959 return w . getIdentityBalance ( identityId ) ;
6060 }
6161
62- async balanceWithProof ( identityId : wasm . IdentifierLike ) : Promise < wasm . ProofMetadataResponseTyped < wasm . IdentityBalance > > {
62+ async balanceWithProof ( identityId : wasm . IdentifierLike ) : Promise < wasm . ProofMetadataResponseTyped < wasm . IdentityBalanceInfo > > {
6363 const w = await this . sdk . getWasmSdkConnected ( ) ;
6464 return w . getIdentityBalanceWithProofInfo ( identityId ) ;
6565 }
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export class SystemFacade {
3535 return w . getPrefundedSpecializedBalanceWithProofInfo ( identityId ) ;
3636 }
3737
38- async waitForStateTransitionResult ( stateTransitionHash : string ) : Promise < wasm . StateTransitionStatus > {
38+ async waitForStateTransitionResult ( stateTransitionHash : string ) : Promise < wasm . StateTransitionResult > {
3939 const w = await this . sdk . getWasmSdkConnected ( ) ;
4040 return w . waitForStateTransitionResult ( stateTransitionHash ) ;
4141 }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export class TokensFacade {
2020 return w . getTokenPriceByContract ( contractId , tokenPosition ) ;
2121 }
2222
23- async totalSupply ( tokenId : wasm . IdentifierLike ) : Promise < wasm . TokenTotalSupply | null > {
23+ async totalSupply ( tokenId : wasm . IdentifierLike ) : Promise < wasm . TokenTotalSupply | undefined > {
2424 const w = await this . sdk . getWasmSdkConnected ( ) ;
2525 return w . getTokenTotalSupply ( tokenId ) ;
2626 }
You can’t perform that action at this time.
0 commit comments