diff --git a/packages/idb-bridge/package.json b/packages/idb-bridge/package.json index 704bccf90..b8579b053 100644 --- a/packages/idb-bridge/package.json +++ b/packages/idb-bridge/package.json @@ -1,6 +1,6 @@ { "name": "idb-bridge", - "version": "0.0.8", + "version": "0.0.9", "description": "IndexedDB implementation that uses SQLite3 as storage", "main": "./build/index.js", "types": "./build/index.d.ts", diff --git a/packages/idb-bridge/src/MemoryBackend.ts b/packages/idb-bridge/src/MemoryBackend.ts index 29c14dcd4..44da137ff 100644 --- a/packages/idb-bridge/src/MemoryBackend.ts +++ b/packages/idb-bridge/src/MemoryBackend.ts @@ -1076,6 +1076,7 @@ export class MemoryBackend implements Backend { const res = indexData.nextHigherPair(indexPos); if (res) { indexEntry = res[1]; + indexPos = indexEntry.indexKey; } }