We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1ce6b commit b9f1f85Copy full SHA for b9f1f85
2 files changed
src/functions.ts
@@ -9,8 +9,12 @@ import {
9
type Scalar,
10
type QueryResult,
11
type Transaction,
12
- OPSQLite,
+ type OPSQLiteProxy,
13
} from './index';
14
+
15
+const proxy = global.__OPSQLiteProxy;
16
+export const OPSQLite = proxy as OPSQLiteProxy;
17
18
function enhanceDB(db: _InternalDB, options: DBParams): DB {
19
const lock = {
20
queue: [] as _PendingTransaction[],
src/index.ts
@@ -344,9 +344,6 @@ if (global.__OPSQLiteProxy == null) {
344
}
345
346
347
-const proxy = global.__OPSQLiteProxy;
348
-export const OPSQLite = proxy as OPSQLiteProxy;
349
-
350
export const {
351
IOS_DOCUMENT_PATH,
352
IOS_LIBRARY_PATH,
0 commit comments