Merge branch 'simolus3:develop' into develop

This commit is contained in:
Moshe Dicker 2024-04-02 14:58:40 -04:00 committed by GitHub
commit 42d73df53e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);