brasil-ceps-offline 2.0.0 → 2.0.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.
|
@@ -8,7 +8,7 @@ const fs_1 = __importDefault(require("fs"));
|
|
|
8
8
|
const path_1 = __importDefault(require("path"));
|
|
9
9
|
const zlib_1 = __importDefault(require("zlib"));
|
|
10
10
|
// Substitua pelo link direto que você copiou do seu GitHub Releases
|
|
11
|
-
const URL_DO_BANCO = 'https://github.com/kaique-oliveira/
|
|
11
|
+
const URL_DO_BANCO = 'https://github.com/kaique-oliveira/brasil-ceps-offline/releases/download/v1.0.4/brasil-ceps.sqlite.gz';
|
|
12
12
|
// Subimos DOIS níveis (de dist/scripts -> dist -> raiz) para criar a pasta no lugar certo
|
|
13
13
|
const DB_DIR = path_1.default.join(__dirname, '..', '..', '.db');
|
|
14
14
|
// Ajustamos o nome para casar exatamente com o que a lib está procurando
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brasil-ceps-offline",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Motor de Inteligência Geográfica Offline para CEPs brasileiros — dados do Censo IBGE 2022 com IBGE, DDD, fuso horário e coordenadas",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|