@riligar/elysia-sqlite 1.8.0 → 1.8.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riligar/elysia-sqlite",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Plugin ElysiaJS para gerenciamento de bancos de dados SQLite",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -35,7 +35,7 @@ export const sqliteAdmin = ({ dbPath, prefix = "/sqlite", configPath }) => {
35
35
  // Se configPath não for especificado, deriva do diretório do banco de dados
36
36
  // Isso garante que a configuração fique no mesmo volume persistente do banco
37
37
  const resolvedConfigPath = configPath
38
- ? resolve(configPath)
38
+ ? join(configPath, "sqlite-config.json")
39
39
  : join(dirname(absoluteDbPath), "sqlite-config.json");
40
40
 
41
41
  // Gerenciador de Sessão