Skip to content

Improve Node undefined signer implementation #789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

bestbeforetoday
Copy link
Member

A signer returns a Promise so an undefined signer implementation that returns a rejected Promise is more consistent with the typing than one that directly throws an Error. This should be functionally equivalent but better match the expectations of the API.

A signer returns a Promise so an undefined signer implementation that
returns a rejected Promise is more consistent with the typing than one
that directly throws an Error. This should be functionally equivalent
but better match the expectations of the API.

Signed-off-by: Mark S. Lewis <[email protected]>
@bestbeforetoday bestbeforetoday marked this pull request as ready for review April 21, 2025 21:02
@bestbeforetoday bestbeforetoday requested a review from a team as a code owner April 21, 2025 21:02
@bestbeforetoday bestbeforetoday enabled auto-merge (squash) April 21, 2025 21:02
@bestbeforetoday bestbeforetoday merged commit 17f1662 into hyperledger:main Apr 25, 2025
35 checks passed
@bestbeforetoday bestbeforetoday deleted the undefined-signer branch April 25, 2025 08:48
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