File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed
powersync_sqlcipher/lib/src Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ scripts:
4242
4343 prepare:assets :
4444 description : Download Sqlite3 WASM for tests
45- run : dart ./bin/setup_web.dart --no-worker --output-dir assets
45+ run : dart ./bin/setup_web.dart --no-worker --output-dir ../powersync_core/ assets
4646 exec :
4747 concurrency : 1
4848 packageFilters :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Future<void> hybridMain(StreamChannel<Object?> channel) async {
1717
1818 if (! (await File (sqliteOutputPath).exists ())) {
1919 throw AssertionError (
20- 'sqlite3.wasm file should be present in the powersync /assets folder' );
20+ 'sqlite3.wasm file should be present in the powersync_core /assets folder' );
2121 }
2222
2323 final workerOutputPath = p.join (assetsDirectory, 'powersync_db.worker.js' );
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class PowerSyncSQLCipherOpenFactory extends PowerSyncOpenFactory {
1717 final basePragmaStatements = super .pragmaStatements (options);
1818 return [
1919 // Set the encryption key as the first statement
20- "PRAGMA KEY = '$ key ' " ,
20+ "PRAGMA KEY = ${ quoteString ( key )} " ,
2121 // Include the default statements afterwards
2222 for (var statement in basePragmaStatements) statement
2323 ];
You can’t perform that action at this time.
0 commit comments