diff options
Diffstat (limited to 'src/db.ts')
-rw-r--r-- | src/db.ts | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -14,15 +14,12 @@ export function openTalerDb( ): Promise<IDBDatabase> { console.log("in openTalerDb"); return new Promise<IDBDatabase>((resolve, reject) => { - console.log("calling factory.open"); const req = idbFactory.open(DB_NAME, WALLET_DB_VERSION); - console.log("after factory.open"); req.onerror = e => { console.log("taler database error", e); reject(e); }; req.onsuccess = e => { - console.log("in openTalerDb onsuccess"); req.result.onversionchange = (evt: IDBVersionChangeEvent) => { console.log( `handling live db version change from ${evt.oldVersion} to ${ @@ -35,7 +32,6 @@ export function openTalerDb( resolve(req.result); }; req.onupgradeneeded = e => { - console.log("in openTalerDb onupgradeneeded"); const db = req.result; console.log( `DB: upgrade needed: oldVersion=${e.oldVersion}, newVersion=${ |