Skip to content

Commit

Permalink
Release v3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jan 9, 2025
1 parent 9d8fb2b commit 1e56b73
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2024 Individual contributors to CLABE Validator
Copyright (c) 2017-2025 Individual contributors to CLABE Validator

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
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 v3.0.3 ~~ https://github.com/center-key/clabe-validator ~~ MIT License
//! clabe-validator v3.0.4 ~~ https://github.com/center-key/clabe-validator ~~ MIT License

export type ClabeBank = {
tag?: string;
Expand Down
7 changes: 5 additions & 2 deletions dist/clabe.dev.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! clabe-validator v3.0.3 ~~ https://github.com/center-key/clabe-validator ~~ MIT License
//! clabe-validator v3.0.4 ~~ https://github.com/center-key/clabe-validator ~~ MIT License

const clabe = {
version: '3.0.3',
version: '3.0.4',
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 @@ -177,7 +177,10 @@ const clabe = {
684: { tag: 'TRANSFER', name: 'Operadora de Pagos Moviles de Mexico' },
685: { tag: 'FONDO (FIRA)', name: 'Fondo de Garantía y Fomento para la Agricultura, Ganadería y Avicultura (FONDO)' },
686: { tag: 'INVERCAP', name: 'Afore InverCap' },
688: { tag: 'CREDICLUB', name: 'Crediclub' },
689: { tag: 'FOMPED', name: 'Fondo Mexicano del Petroleo para la Estabilizacion y el Desarrollo' },
699: { tag: 'FONDEADORA', name: 'Fondea Technologies' },
703: { tag: 'TESORED', name: 'Tesored' },
706: { tag: 'ARCUS', name: 'Arcus Financial Intelligence' },
710: { tag: 'NVIO', name: 'NVIO Pagos México' },
722: { tag: 'MERCADO PAGO W', name: 'Mercado Pago W' },
Expand Down
7 changes: 5 additions & 2 deletions dist/clabe.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! clabe-validator v3.0.3 ~~ https://github.com/center-key/clabe-validator ~~ MIT License
//! clabe-validator v3.0.4 ~~ https://github.com/center-key/clabe-validator ~~ MIT License

const clabe = {
version: '3.0.3',
version: '3.0.4',
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 @@ -177,7 +177,10 @@ const clabe = {
684: { tag: 'TRANSFER', name: 'Operadora de Pagos Moviles de Mexico' },
685: { tag: 'FONDO (FIRA)', name: 'Fondo de Garantía y Fomento para la Agricultura, Ganadería y Avicultura (FONDO)' },
686: { tag: 'INVERCAP', name: 'Afore InverCap' },
688: { tag: 'CREDICLUB', name: 'Crediclub' },
689: { tag: 'FOMPED', name: 'Fondo Mexicano del Petroleo para la Estabilizacion y el Desarrollo' },
699: { tag: 'FONDEADORA', name: 'Fondea Technologies' },
703: { tag: 'TESORED', name: 'Tesored' },
706: { tag: 'ARCUS', name: 'Arcus Financial Intelligence' },
710: { tag: 'NVIO', name: 'NVIO Pagos México' },
722: { tag: 'MERCADO PAGO W', name: 'Mercado Pago W' },
Expand Down
4 changes: 2 additions & 2 deletions dist/clabe.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
<link rel=apple-touch-icon href=https://centerkey.com/graphics/mobile-home-screen.png>
<link rel=preconnect href=https://fonts.googleapis.com>
<link rel=preconnect href=https://fonts.gstatic.com crossorigin>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/dna-engine.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.2/dist/reset.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.2/dist/layouts/letterbox.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.3/dist/reset.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.3/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 All @@ -36,7 +36,7 @@
i.font-icon { font-size: 2rem; }
</style>
<script defer src=https://cdn.jsdelivr.net/npm/[email protected]/dist/dna-engine.min.js></script>
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.2/dist/lib-x.min.js></script>
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.3/dist/lib-x.min.js></script>
<script defer src=https://cdn.jsdelivr.net/npm/[email protected]/dist/clabe.min.js></script>
</head>
<body>
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": "3.0.3",
"version": "3.0.4",
"description": "Analyze or create a CLABE number for a Mexican bank account (written in functional TypeScript)",
"license": "MIT",
"type": "module",
Expand Down

1 comment on commit 1e56b73

@dpilafian
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.