xchainjs / xchainjs-lib

Lightweight typescript library for cross-chain wallets. Connect with multiple blockchains via a common interface, with support for the minimum features necessary.
MIT License
113 stars 95 forks source link

Wrong Type for RejectedBalance #1310

Open cinnamoroll6130 opened 1 month ago

cinnamoroll6130 commented 1 month ago

I really enjoyed working with the latest xchain packages.

While working with @xchainjs/xchain-wallet package, I realized the RejectedBalance is incorrect.

From @xchainjs/xchain-wallet package

type RejectedBalance = {
    status: 'rejected';
    reason: string;
};

I attached the screenshot for actual result of RejectedBalance. image

Thanks,

github-actions[bot] commented 4 days ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.