Skip to content

Commit

Permalink
Release v1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jan 23, 2021
1 parent ddb4893 commit 2ce427d
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 24 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release-on-vtag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
- 'v*'
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions clabe.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/dna.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/website/static/panel-nav.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@1.3/dist/reset.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@1.4/dist/reset.min.css>
<style>
.dna-panels {
min-height: 240px;
Expand Down Expand Up @@ -153,7 +153,7 @@ <h2>CLABE number</h2>

<script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js></script>
<script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/dna.min.js></script>
<script src=https://cdn.jsdelivr.net/npm/web-ignition@1.3/dist/library.min.js></script>
<script src=https://cdn.jsdelivr.net/npm/web-ignition@1.4/dist/lib-x.min.js></script>
<script src=dist/clabe.js></script>
<script>
const app = {
Expand Down
12 changes: 6 additions & 6 deletions dist/clabe.d.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
//! CLABE Validator v1.5.3 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.5.4 ~ github.com/center-key/clabe-validator ~ MIT License

declare type ClabeBank = {
export declare type ClabeBank = {
tag?: string;
name?: string;
};
declare type ClabeBanksMap = {
export declare type ClabeBanksMap = {
[bankCode: number]: ClabeBank;
};
declare type ClabeCity = [number, string];
declare type ClabeCitiesMap = {
export declare type ClabeCity = [number, string];
export declare type ClabeCitiesMap = {
[cityCode: number]: string;
};
declare type ClabeCheck = {
export declare type ClabeCheck = {
ok: boolean;
error: string | null;
formatOk: boolean;
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.3 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.5.4 ~ github.com/center-key/clabe-validator ~ MIT License

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

const clabe = {
version: '1.5.3',
version: '1.5.4',
computeChecksum(clabeNum17) {
const x = (i) => [3, 7, 1][i % 3];
const add = (sum, digit, i) => sum + (Number(digit) * x(i)) % 10;
Expand Down
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.3 ~ github.com/center-key/clabe-validator ~ MIT License
//! CLABE Validator v1.5.4 ~ 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.3',
version: '1.5.4',
computeChecksum(clabeNum17) {
const x = (i) => [3, 7, 1][i % 3];
const add = (sum, digit, i) => sum + (Number(digit) * x(i)) % 10;
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<link rel=apple-touch-icon href=https://centerkey.com/graphics/mobile-home-screen.png>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/dna.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@1.3/dist/reset.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@1.3/dist/layouts/letterbox.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@1.4/dist/reset.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@1.4/dist/layouts/letterbox.css>
<style>
html { background-image: url(museum-wall.jpg); }
main >section:first-child { background-color: rgba(255, 255, 255, 0.7); }
Expand Down Expand Up @@ -65,7 +65,7 @@ <h2>JavaScript library to analyze or create a CLABE number for a Mexican bank ac

<script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js></script>
<script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/dna.min.js></script>
<script src=https://cdn.jsdelivr.net/npm/web-ignition@1.3/dist/library.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/[email protected]/dist/clabe.min.js></script>
</body>
</html>
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clabe-validator",
"version": "1.5.3",
"version": "1.5.4",
"description": "JavaScript library to analyze or create a CLABE number for a Mexican bank account",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -66,8 +66,8 @@
"@babel/core": "~7.12",
"@babel/preset-env": "~7.12",
"@fortawesome/fontawesome-free": "~5.15",
"@typescript-eslint/eslint-plugin": "~4.13",
"@typescript-eslint/parser": "~4.13",
"@typescript-eslint/eslint-plugin": "~4.14",
"@typescript-eslint/parser": "~4.14",
"babel-minify": "~0.5",
"dna.js": "~1.7",
"eslint": "~7.18",
Expand All @@ -87,6 +87,6 @@
"mocha": "~8.2",
"rimraf": "~3.0",
"typescript": "~4.1",
"web-ignition": "~1.3"
"web-ignition": "~1.4"
}
}

0 comments on commit 2ce427d

Please sign in to comment.