Skip to content

Commit

Permalink
Luhn algo
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyryan committed Jul 19, 2023
1 parent b164ff9 commit 76ab642
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## [2.11.5]
Added Luhn algorithm to validate card numbers
## [2.11.4]
Fixed https://github.com/caseyryan/flutter_multi_formatter/issues/131
Added new card system https://github.com/caseyryan/flutter_multi_formatter/issues/109
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.11.4"
version: "2.11.5"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/luhn_algo.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// My implementation of th Luhn algorithm
/// My implementation of th Luhn algorithm
/// https://en.wikipedia.org/wiki/Luhn_algorithm
bool checkNumberByLuhn({
required String number,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_multi_formatter
description: A package of formatters for international phone numbers, credit / debit cards and a masked formatter
version: 2.11.4
version: 2.11.5
homepage: https://github.com/caseyryan/flutter_multi_formatter

environment:
Expand Down

0 comments on commit 76ab642

Please sign in to comment.