Skip to content

Commit

Permalink
Merge pull request #4 from juspay/rupay_regex_update_2
Browse files Browse the repository at this point in the history
Adding new BIN ranges for Rupay (817200-819899, 819900-820199).
  • Loading branch information
boazjohn authored Apr 1, 2017
2 parents 1be3ce0 + 839e256 commit 561e536
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/validator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-card-validator",
"version": "1.0.8",
"version": "1.0.9",
"description": "Card validation helpers for card number, expiry and CVV.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ var cardTypes = [
[608351,608500],
[652150,652849],
[652850,653049],
[653050,653149]]
[653050,653149],
[817200,819899],
[819900,820199]]
],
valid_length: [16],
cvv_length: [3]
Expand Down

0 comments on commit 561e536

Please sign in to comment.