iin-checker
Advanced tools
Comparing version 0.1.8 to 0.1.9
# Changelog | ||
## **0.1.9** | ||
- [**#25**](https://github.com/Shortbreaks/iinChecker/issues/25) Switched the order of provider checking to get better API output | ||
## **0.1.8** | ||
- [**#19**](https://github.com/Shortbreaks/iinChecker/issues/19) Added in a fall back to RegEx if all providers fail | ||
- [**#17**](https://github.com/Shortbreaks/iinChecker/issues/17) Updated travis file so coveralls doesn't fail | ||
- [**#17**](https://github.com/Shortbreaks/iinChecker/issues/17) Updated travis file so coveralls doesn't fail | ||
- Fixed the grammer on the tests | ||
@@ -7,0 +10,0 @@ - Made test to the same style as the others |
module.exports = [ | ||
{ | ||
name: "BINLIST", | ||
domain: "http://www.binlist.net", | ||
path: "/json/", | ||
name: "RIBBON", | ||
domain: "https://bins.ribbon.co", | ||
path: "/api/v1/bins/", | ||
map: function( returnedData, nullValue ) { | ||
@@ -10,5 +10,5 @@ return { | ||
brand: returnedData.brand, | ||
issuer: returnedData.bank, | ||
type: returnedData.card_type, | ||
category: returnedData.card_category, | ||
issuer: returnedData.issuer, | ||
type: ( returnedData.type ? returnedData.type : nullValue ), | ||
category: nullValue, | ||
country: returnedData.country_code | ||
@@ -19,5 +19,5 @@ } | ||
{ | ||
name: "RIBBON", | ||
domain: "https://bins.ribbon.co", | ||
path: "/api/v1/bins/", | ||
name: "BINLIST", | ||
domain: "http://www.binlist.net", | ||
path: "/json/", | ||
map: function( returnedData, nullValue ) { | ||
@@ -27,5 +27,5 @@ return { | ||
brand: returnedData.brand, | ||
issuer: returnedData.issuer, | ||
type: ( returnedData.type ? returnedData.type : nullValue ), | ||
category: nullValue, | ||
issuer: returnedData.bank, | ||
type: returnedData.card_type, | ||
category: returnedData.card_category, | ||
country: returnedData.country_code | ||
@@ -32,0 +32,0 @@ } |
{ | ||
"name": "iin-checker", | ||
"description": "Issuer identification number checker which returns details about a credit/debit card", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"homepage": "https://github.com/Shortbreaks/iinChecker", | ||
@@ -6,0 +6,0 @@ "author": "Simon Wood <simon.wood@holidayextras.com> (https://github.com/Shortbreaks)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25658