mirror of https://github.com/AMT-Cheif/drift.git
Merge branch 'simolus3:develop' into develop
This commit is contained in:
commit
42d73df53e
|
@ -13,7 +13,7 @@ dependencies:
|
|||
shelf: ^1.4.1
|
||||
shelf_proxy: ^1.0.4
|
||||
path: ^1.8.3
|
||||
js: ^0.6.7
|
||||
js: ^0.7.0
|
||||
package_config: ^2.1.0
|
||||
async: ^2.11.0
|
||||
http: ^1.0.0
|
||||
|
|
|
@ -90,7 +90,7 @@ Future<Uint8List?> _initializeDatabase() async {
|
|||
|
||||
// Let's first open a custom WasmDatabase, the way it would have been
|
||||
// done before WasmDatabase.open.
|
||||
final sqlite3 = await WasmSqlite3.loadFromUrl(Uri.parse('sqlite3.wasm'));
|
||||
final sqlite3 = await WasmSqlite3.loadFromUrl(sqlite3WasmUri);
|
||||
final fs = await IndexedDbFileSystem.open(dbName: dbName);
|
||||
sqlite3.registerVirtualFileSystem(fs, makeDefault: true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue