Skip to content
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

fix: correct AuthenticatorInterface type #206

Merged
merged 1 commit into from
Jul 28, 2022
Merged

Conversation

dpopp07
Copy link
Member

@dpopp07 dpopp07 commented Jul 28, 2022

The interface incorrectly defined the data channel as "void or Error" when it
should only be "void", as Errors are sent in a different channel. This updates
the type to be correct. It should not constitute a breaking update as we
already defined authenticators with the new type in this project.

Resolves #176

Signed-off-by: Dustin Popp dpopp07@gmail.com

The interface incorrectly defined the data channel as "void or Error" when it
should only be "void", as Errors are sent in a different channel. This updates
the type to be correct. It should not constitute a breaking update as we
already defined authenticators with the new type in this project.

Signed-off-by: Dustin Popp <dpopp07@gmail.com>
@dpopp07 dpopp07 requested a review from padamstx July 28, 2022 15:55
Copy link
Member

@padamstx padamstx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dpopp07 dpopp07 merged commit 31dc7bd into main Jul 28, 2022
@dpopp07 dpopp07 deleted the dp/authenticator-type-change branch July 28, 2022 16:40
ibm-devx-sdk pushed a commit that referenced this pull request Jul 28, 2022
## [3.0.1](v3.0.0...v3.0.1) (2022-07-28)

### Bug Fixes

* correct AuthenticatorInterface type ([#206](#206)) ([31dc7bd](31dc7bd)), closes [#176](#176)
@ibm-devx-sdk
Copy link

🎉 This PR is included in version 3.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Authenticator returns Promise<void | Error>
3 participants