sigo-package 1.2.170 → 1.2.171
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.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3795,7 +3795,7 @@ function obtenerTipoYCodigoMO(codigoOriginal) {
|
|
|
3795
3795
|
if (!TipoMO) {
|
|
3796
3796
|
throw new Error(`No se pudo encontrar clave para la letra '${letraTipo}' en SwitchTipo`);
|
|
3797
3797
|
}
|
|
3798
|
-
CodigoMO = CodigoMO.
|
|
3798
|
+
CodigoMO = CodigoMO.replace(/^[FT]\d+_/, "");
|
|
3799
3799
|
}
|
|
3800
3800
|
return {
|
|
3801
3801
|
TipoMO,
|
package/dist/index.mjs
CHANGED
|
@@ -3621,7 +3621,7 @@ function obtenerTipoYCodigoMO(codigoOriginal) {
|
|
|
3621
3621
|
if (!TipoMO) {
|
|
3622
3622
|
throw new Error(`No se pudo encontrar clave para la letra '${letraTipo}' en SwitchTipo`);
|
|
3623
3623
|
}
|
|
3624
|
-
CodigoMO = CodigoMO.
|
|
3624
|
+
CodigoMO = CodigoMO.replace(/^[FT]\d+_/, "");
|
|
3625
3625
|
}
|
|
3626
3626
|
return {
|
|
3627
3627
|
TipoMO,
|