Skip to content

Commit

Permalink
Release v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Aug 12, 2021
1 parent 689a1c4 commit 2bb8b1f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 1,081 deletions.
2 changes: 1 addition & 1 deletion clabe.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h2>CLABE number</h2>
<script src=https://cdn.jsdelivr.net/npm/dna.js@1.8/dist/dna.min.js></script>
<script src=https://cdn.jsdelivr.net/npm/web-ignition@1.4/dist/lib-x.min.js></script>
<script src=https://cdn.jsdelivr.net/npm/pretty-print-json@1.0/dist/pretty-print-json.min.js></script>
<script src=dist/clabe.js></script>
<script src=dist/clabe.min.js></script>
<script>
const app = {

Expand Down
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.6.7 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.7.0 ~ github.com/center-key/clabe-validator ~ MIT License

export declare type ClabeBank = {
tag?: string;
Expand Down
1,071 changes: 0 additions & 1,071 deletions dist/clabe.esm.js

This file was deleted.

6 changes: 3 additions & 3 deletions dist/clabe.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! CLABE Validator v1.6.7 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.7.0 ~ github.com/center-key/clabe-validator ~ MIT License

const clabe = {
version: '1.6.7',
version: '1.7.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,4 @@ const clabe = {
],
citiesMap: {},
};
if (typeof window === "object") window.clabe = clabe;
export { 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.6.7 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.7.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.6.7',
version: '1.7.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.6.7",
"version": "1.7.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 2bb8b1f

Please sign in to comment.