latinfo 0.19.0 → 0.19.1
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/sdk.js +2 -2
- package/package.json +1 -1
package/dist/sdk.js
CHANGED
|
@@ -4,8 +4,8 @@ exports.Latinfo = void 0;
|
|
|
4
4
|
const mphf_runtime_1 = require("./mphf-runtime");
|
|
5
5
|
const DEFAULT_API_URL = 'https://api.latinfo.dev';
|
|
6
6
|
const SOURCES = {
|
|
7
|
-
pe: { prefix: 'pe', baseName: 'pe-sunat-padron', idName: 'ruc', idLength: 11, nameField: 'razon_social', statusField: 'estado' },
|
|
8
|
-
co: { prefix: 'co', baseName: 'co-rues', idName: 'nit', idLength: 10, nameField: 'razon_social', statusField: 'estado_matricula' },
|
|
7
|
+
pe: { prefix: 'pe/sunat/padron', baseName: 'pe-sunat-padron', idName: 'ruc', idLength: 11, nameField: 'razon_social', statusField: 'estado' },
|
|
8
|
+
co: { prefix: 'co/rues/registry', baseName: 'co-rues-registry', idName: 'nit', idLength: 10, nameField: 'razon_social', statusField: 'estado_matricula' },
|
|
9
9
|
};
|
|
10
10
|
// --- Country class ---
|
|
11
11
|
class Country {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "latinfo",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "Tax registry & procurement API for Latin America. Query RUC, DNI, NIT, licitaciones from Peru & Colombia. Offline MPHF search, full OCDS data, updated daily.",
|
|
5
5
|
"homepage": "https://latinfo.dev",
|
|
6
6
|
"repository": {
|