jonyw4 / pagarme-js-types

📖 A simple typescript definition file for pagarme-js repository
Apache License 2.0
45 stars 14 forks source link

🏷️ Add typings for validate() method. #6

Closed rsfarias closed 4 years ago

rsfarias commented 4 years ago

Adds type definitions for the validate method of Pagar.me API, used for checking if card input is valid and to return the brand of the card (Visa, Mastercard etc.).

References:

jonyw4 commented 4 years ago

Thanks very much for this PR @rsfarias! 😄

jonyw4 commented 4 years ago

Just the next time that you commit, please commit with the Angular Commit Message Conventions. This repo uses Semantic Release to publish and maintain versions. So if you don't use the commit with the right conventions it will not publish in NPM. 😁

jonyw4 commented 4 years ago

@all-contributors please add @rsfarias for code

allcontributors[bot] commented 4 years ago

@jonyw4

I've put up a pull request to add @rsfarias! :tada:

github-actions[bot] commented 4 years ago

:tada: This PR is included in version 2.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

rsfarias commented 4 years ago

Just the next time that you commit, please commit with the Angular Commit Message Conventions. This repo uses Semantic Release to publish and maintain versions. So if you don't use the commit with the right conventions it will not publish in NPM. 😁

Cool, I'll make sure to follow that. Thanks for organizing this repo, @jonyw4!