aboutsummaryrefslogtreecommitdiff
path: root/packages/idb-bridge
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-16 16:59:09 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-16 17:00:46 +0100
commitc2ee8fd9ab6754275d7423152681236a46cf36a9 (patch)
treec7306f6575f89e3b66226fdaf7af342b0dc973c2 /packages/idb-bridge
parent35a7b76a7d935dc2c749fd39ac80c6af1096b795 (diff)
cleanup, avoid some circular deps
Diffstat (limited to 'packages/idb-bridge')
-rw-r--r--packages/idb-bridge/src/BridgeIDBCursor.ts3
-rw-r--r--packages/idb-bridge/src/BridgeIDBObjectStore.ts5
2 files changed, 0 insertions, 8 deletions
diff --git a/packages/idb-bridge/src/BridgeIDBCursor.ts b/packages/idb-bridge/src/BridgeIDBCursor.ts
index c12c8c333..ebf71da0d 100644
--- a/packages/idb-bridge/src/BridgeIDBCursor.ts
+++ b/packages/idb-bridge/src/BridgeIDBCursor.ts
@@ -22,12 +22,10 @@ import BridgeIDBRequest from "./BridgeIDBRequest";
import compareKeys from "./util/cmp";
import {
DataError,
- InvalidAccessError,
InvalidStateError,
ReadOnlyError,
TransactionInactiveError,
} from "./util/errors";
-import extractKey from "./util/extractKey";
import structuredClone from "./util/structuredClone";
import {
CursorRange,
@@ -41,7 +39,6 @@ import {
RecordGetRequest,
ResultLevel,
Backend,
- DatabaseTransaction,
RecordStoreRequest,
StoreLevel,
} from "./backend-interface";
diff --git a/packages/idb-bridge/src/BridgeIDBObjectStore.ts b/packages/idb-bridge/src/BridgeIDBObjectStore.ts
index 22bcc32f8..bb84b4454 100644
--- a/packages/idb-bridge/src/BridgeIDBObjectStore.ts
+++ b/packages/idb-bridge/src/BridgeIDBObjectStore.ts
@@ -24,16 +24,11 @@ import BridgeIDBTransaction from "./BridgeIDBTransaction";
import {
ConstraintError,
- DataError,
InvalidAccessError,
InvalidStateError,
- NotFoundError,
ReadOnlyError,
- TransactionInactiveError,
} from "./util/errors";
-import extractKey from "./util/extractKey";
import fakeDOMStringList from "./util/fakeDOMStringList";
-import structuredClone from "./util/structuredClone";
import {
FakeDOMStringList,
BridgeIDBCursorDirection,