@livestore/wa-sqlite 1.0.1-dev.25 → 1.0.1-dev.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sqlite-api.js +2 -2
package/package.json
CHANGED
package/src/sqlite-api.js
CHANGED
|
@@ -568,7 +568,7 @@ export function Factory(Module) {
|
|
|
568
568
|
databases.add(db);
|
|
569
569
|
|
|
570
570
|
Module.ccall('RegisterExtensionFunctions', 'void', ['number'], [db]);
|
|
571
|
-
check(fname, rc);
|
|
571
|
+
check(fname, rc, db);
|
|
572
572
|
return db;
|
|
573
573
|
} finally {
|
|
574
574
|
Module._sqlite3_free(zVfs);
|
|
@@ -591,7 +591,7 @@ export function Factory(Module) {
|
|
|
591
591
|
databases.add(db);
|
|
592
592
|
|
|
593
593
|
Module.ccall('RegisterExtensionFunctions', 'void', ['number'], [db]);
|
|
594
|
-
check(fname, rc);
|
|
594
|
+
check(fname, rc, db);
|
|
595
595
|
return db;
|
|
596
596
|
} finally {
|
|
597
597
|
Module._sqlite3_free(zVfs);
|