@riocrypto/common 1.0.1895 → 1.0.1897
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isBitsoBankAccount: (CLABE: string) => boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isBitsoBankAccount = void 0;
|
|
4
|
+
const isBitsoBankAccount = (CLABE) => {
|
|
5
|
+
const initialCode = CLABE.slice(0, 3);
|
|
6
|
+
return initialCode === "710";
|
|
7
|
+
};
|
|
8
|
+
exports.isBitsoBankAccount = isBitsoBankAccount;
|
package/build/index.d.ts
CHANGED
|
@@ -361,5 +361,6 @@ export * from "./helpers/humanize-admin-auth-role";
|
|
|
361
361
|
export * from "./helpers/humanize-auth-role";
|
|
362
362
|
export * from "./helpers/get-base-url";
|
|
363
363
|
export * from "./helpers/get-currency-with-country";
|
|
364
|
+
export * from "./helpers/is-bitso-bank-account";
|
|
364
365
|
export * from "./constants/mexico-fiscal-regimens";
|
|
365
366
|
export * from "./constants/mexican-banks";
|
package/build/index.js
CHANGED
|
@@ -377,5 +377,6 @@ __exportStar(require("./helpers/humanize-admin-auth-role"), exports);
|
|
|
377
377
|
__exportStar(require("./helpers/humanize-auth-role"), exports);
|
|
378
378
|
__exportStar(require("./helpers/get-base-url"), exports);
|
|
379
379
|
__exportStar(require("./helpers/get-currency-with-country"), exports);
|
|
380
|
+
__exportStar(require("./helpers/is-bitso-bank-account"), exports);
|
|
380
381
|
__exportStar(require("./constants/mexico-fiscal-regimens"), exports);
|
|
381
382
|
__exportStar(require("./constants/mexican-banks"), exports);
|