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

feat(auth): throw Error when auth type is not a valid one #249

Merged
merged 5 commits into from
Feb 3, 2021

Conversation

oscard0m
Copy link
Member

@oscard0m oscard0m commented Feb 2, 2021

πŸ“ Summary

throw Error when auth type is not a valid one

β›± Motivation and Context

Fix #216

@oscard0m oscard0m added Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR typescript Relevant to TypeScript users only labels Feb 2, 2021
test/index.test.ts Outdated Show resolved Hide resolved
@oscard0m oscard0m marked this pull request as ready for review February 3, 2021 17:02
@oscard0m oscard0m requested a review from gr2m February 3, 2021 17:15
Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

Thanks!

@gr2m gr2m added Type: Feature New feature or request and removed Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR typescript Relevant to TypeScript users only labels Feb 3, 2021
@gr2m gr2m merged commit ffaefb5 into master Feb 3, 2021
@gr2m gr2m deleted the throw-error-when-auth-type-is-invalid branch February 3, 2021 17:24
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2021

πŸŽ‰ This PR is included in version 2.11.0 πŸŽ‰

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
Type: Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Throw error of unrecognized type in .auth({ type })
2 participants