@electric-sql/pglite
Advanced tools
Comparing version 0.0.0-alpha.1 to 0.0.0-alpha.2
@@ -238,5 +238,3 @@ import { | ||
async init() { | ||
console.log("Databases: ", await window.indexedDB.databases()); | ||
const dbExists = (await window.indexedDB.databases()).map((db) => db.name).includes(`/pglite${this.dataDir}`); | ||
console.log("DB exists:", dbExists, this.dataDir); | ||
if (!dbExists) { | ||
@@ -243,0 +241,0 @@ this.initModule = await initDb(); |
{ | ||
"name": "@electric-sql/pglite", | ||
"version": "0.0.0-alpha.1", | ||
"version": "0.0.0-alpha.2", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
13782639
7502