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(type-declaration): add missing new named exports to generated types (index.d.ts): sign, verif #153

Merged
merged 4 commits into from
Jun 9, 2020
Merged

🐛 fix(type-declaration): add missing new named exports to generated types (index.d.ts): sign, verif #153

merged 4 commits into from
Jun 9, 2020

Conversation

oscard0m
Copy link
Member

@oscard0m oscard0m commented Jun 7, 2020

📝 Summary

Added missing named exports from latest changes on API to type declaration (index.d.ts):

  • verify
  • sign
  • createMiddleware
  • createEventHandler

⛱ Motivation and Context

During the migration to new API giving support for named imports for main utility functions of this library it was not applied to index.d.ts type declaration accordingly. (#126 and #137)

Fix #152

@oscard0m oscard0m requested a review from gr2m June 7, 2020 22:46
@oscard0m oscard0m added typescript Relevant to TypeScript users only Type: Bug Something isn't working as documented, or is being fixed labels Jun 7, 2020
@oscard0m
Copy link
Member Author

oscard0m commented Jun 7, 2020

@SpencerKaiser If you have time, could you take a look just in case I'm missing any other method to be covered in index.d.ts? :)

@SpencerKaiser
Copy link
Contributor

@dominguezcelada just looked through the README and I didn't see anything else that's missing here. Thanks for fixing this so quickly!!! :shipit:

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.

Thank you both!

@gr2m gr2m merged commit 367dee2 into octokit:master Jun 9, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2020

🎉 This PR is included in version 7.6.4 🎉

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: Bug Something isn't working as documented, or is being fixed typescript Relevant to TypeScript users only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

index.d.ts missing standalone functionality
3 participants