Skip to content

Commit

Permalink
Release v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Feb 12, 2021
1 parent 4c8cb96 commit 3b6bab6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/clabe.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! CLABE Validator v1.5.6 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.6.0 ~ github.com/center-key/clabe-validator ~ MIT License

export declare type ClabeBank = {
tag?: string;
Expand Down
4 changes: 2 additions & 2 deletions dist/clabe.esm.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! CLABE Validator v1.5.6 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.6.0 ~ github.com/center-key/clabe-validator ~ MIT License

const clabe = {
version: '1.5.6',
version: '1.6.0',
computeChecksum(clabeNum17) {
const x = (i) => [3, 7, 1][i % 3];
const add = (sum, digit, i) => sum + (Number(digit) * x(i)) % 10;
Expand Down
5 changes: 2 additions & 3 deletions dist/clabe.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! CLABE Validator v1.5.6 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.6.0 ~ github.com/center-key/clabe-validator ~ MIT License

const clabe = {
version: '1.5.6',
version: '1.6.0',
computeChecksum(clabeNum17) {
const x = (i) => [3, 7, 1][i % 3];
const add = (sum, digit, i) => sum + (Number(digit) * x(i)) % 10;
Expand Down Expand Up @@ -1068,4 +1068,3 @@ const clabe = {
citiesMap: {},
};
if (typeof window === "object") window.clabe = clabe;
if (typeof module === "object") module.exports = clabe;
4 changes: 2 additions & 2 deletions dist/clabe.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/clabe.umd.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! CLABE Validator v1.5.6 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.6.0 ~ github.com/center-key/clabe-validator ~ MIT License

(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
Expand All @@ -13,7 +13,7 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.clabe = void 0;
const clabe = {
version: '1.5.6',
version: '1.6.0',
computeChecksum(clabeNum17) {
const x = (i) => [3, 7, 1][i % 3];
const add = (sum, digit, i) => sum + (Number(digit) * x(i)) % 10;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clabe-validator",
"version": "1.5.6",
"version": "1.6.0",
"description": "Analyze or create a CLABE number for a Mexican bank account (written in TypeScript)",
"license": "MIT",
"type": "module",
Expand Down

0 comments on commit 3b6bab6

Please sign in to comment.