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

Improve bin checking, shorter error correction duration #6

Merged
merged 1 commit into from
Apr 5, 2019

Conversation

kingst
Copy link
Collaborator

@kingst kingst commented Apr 5, 2019

Grab the BIN rules from Wikipedia and update to make sure we handle the full range of Mastercard, handle Discover 16 digit, and tighter constraints on Amex. Plus, we decrease the amount of time we spend doing error correction, so that scans will appear faster, and we expose it as a public variable (at least for Swift) so that people can tweak it if they're so inclined.

@kingst kingst merged commit 71aa6f1 into master Apr 5, 2019
@kingst kingst deleted the update_network_logic branch April 5, 2019 23:39
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.

1 participant