diff options
Diffstat (limited to 'packages/idb-bridge/src')
-rw-r--r-- | packages/idb-bridge/src/BridgeIDBFactory.ts | 2 | ||||
-rw-r--r-- | packages/idb-bridge/src/MemoryBackend.ts | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/idb-bridge/src/BridgeIDBFactory.ts b/packages/idb-bridge/src/BridgeIDBFactory.ts index ad02be461..f6234b49c 100644 --- a/packages/idb-bridge/src/BridgeIDBFactory.ts +++ b/packages/idb-bridge/src/BridgeIDBFactory.ts @@ -27,7 +27,7 @@ import queueTask from "./util/queueTask"; type DatabaseList = Array<{ name: string; version: number }>; -class BridgeIDBFactory { +export class BridgeIDBFactory { public cmp = compareKeys; private backend: Backend; private connections: BridgeIDBDatabase[] = []; diff --git a/packages/idb-bridge/src/MemoryBackend.ts b/packages/idb-bridge/src/MemoryBackend.ts index bd9b8996d..1a85a7397 100644 --- a/packages/idb-bridge/src/MemoryBackend.ts +++ b/packages/idb-bridge/src/MemoryBackend.ts @@ -881,8 +881,6 @@ export class MemoryBackend implements Backend { // if requested. if (req.resultLevel === ResultLevel.Full) { for (let i = 0; i < numResults; i++) { - console.log("getting value for index", i); - console.log("with key", primaryKeys[i]); const result = storeData.get(primaryKeys[i]); if (!result) { throw Error("invariant violated"); |