@livestore/wa-sqlite 1.0.3-dev.4 → 1.0.3-dev.5
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 +5 -1
package/package.json
CHANGED
package/src/sqlite-api.js
CHANGED
|
@@ -943,7 +943,11 @@ export function Factory(Module) {
|
|
|
943
943
|
|
|
944
944
|
// Ensure the pointer is valid before accessing memory
|
|
945
945
|
if (changesetPtr === 0) {
|
|
946
|
-
|
|
946
|
+
return {
|
|
947
|
+
result: result,
|
|
948
|
+
size: 0,
|
|
949
|
+
changeset: null
|
|
950
|
+
}
|
|
947
951
|
}
|
|
948
952
|
|
|
949
953
|
// Copy the changeset data
|