Skip to content

Comments

fix: more correct return type for getSigningClient#29

Merged
theothersideofgod merged 1 commit intohyperweb-io:mainfrom
2wheeh:fix/sign-client-type
Oct 11, 2025
Merged

fix: more correct return type for getSigningClient#29
theothersideofgod merged 1 commit intohyperweb-io:mainfrom
2wheeh:fix/sign-client-type

Conversation

@2wheeh
Copy link
Contributor

@2wheeh 2wheeh commented Oct 1, 2025

ISigningClient is too generic and lacks sufficient type information for consumers, leading to poor autocomplete and type checking.

Updated to return concrete DirectSigner | AminoSigner types instead of the overly broad ISigningClient.

These two are extended from ISigningClient so it is fully backward compatible as well.

@theothersideofgod theothersideofgod merged commit 04fe08a into hyperweb-io:main Oct 11, 2025
1 of 2 checks passed
@theothersideofgod
Copy link
Contributor

merged. 0.3.52 thanks.

@2wheeh 2wheeh deleted the fix/sign-client-type branch October 20, 2025 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants