@powersync/common 1.57.0 → 1.57.1
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/dist/bundle.cjs +8 -3
- package/dist/bundle.cjs.map +1 -1
- package/dist/bundle.mjs +8 -3
- package/dist/bundle.mjs.map +1 -1
- package/dist/bundle.node.cjs +8 -3
- package/dist/bundle.node.cjs.map +1 -1
- package/dist/bundle.node.mjs +8 -3
- package/dist/bundle.node.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/client/triggers/TriggerManagerImpl.js +6 -1
- package/lib/client/triggers/TriggerManagerImpl.js.map +1 -1
- package/lib/db/crud/SyncStatus.d.ts +1 -1
- package/lib/db/crud/SyncStatus.js +1 -1
- package/package.json +1 -1
- package/src/client/triggers/TriggerManagerImpl.ts +6 -1
- package/src/db/crud/SyncStatus.ts +1 -1
package/dist/bundle.mjs
CHANGED
|
@@ -2108,7 +2108,7 @@ class SyncStatus {
|
|
|
2108
2108
|
});
|
|
2109
2109
|
}
|
|
2110
2110
|
/**
|
|
2111
|
-
* All sync streams currently being tracked in
|
|
2111
|
+
* All sync streams currently being tracked in the database.
|
|
2112
2112
|
*
|
|
2113
2113
|
* This returns null when the database is currently being opened and we don't have reliable information about all
|
|
2114
2114
|
* included streams yet.
|
|
@@ -10973,7 +10973,7 @@ function requireDist () {
|
|
|
10973
10973
|
|
|
10974
10974
|
var distExports = requireDist();
|
|
10975
10975
|
|
|
10976
|
-
var version = "1.57.
|
|
10976
|
+
var version = "1.57.1";
|
|
10977
10977
|
var PACKAGE = {
|
|
10978
10978
|
version: version};
|
|
10979
10979
|
|
|
@@ -12724,7 +12724,12 @@ class TriggerManagerImpl {
|
|
|
12724
12724
|
// destination table consistent.
|
|
12725
12725
|
await this.db.writeTransaction(async (tx) => {
|
|
12726
12726
|
const callbackResult = await options.onChange({
|
|
12727
|
-
|
|
12727
|
+
execute: (query, params) => tx.execute(query, params),
|
|
12728
|
+
executeBatch: (query, params) => tx.executeBatch(query, params),
|
|
12729
|
+
executeRaw: (query, params) => tx.executeRaw(query, params),
|
|
12730
|
+
get: (query, params) => tx.get(query, params),
|
|
12731
|
+
getAll: (query, params) => tx.getAll(query, params),
|
|
12732
|
+
getOptional: (query, params) => tx.getOptional(query, params),
|
|
12728
12733
|
destinationTable: destination,
|
|
12729
12734
|
withDiff: async (query, params, options) => {
|
|
12730
12735
|
// Wrap the query to expose the destination table
|