@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.node.cjs
CHANGED
|
@@ -2112,7 +2112,7 @@ class SyncStatus {
|
|
|
2112
2112
|
});
|
|
2113
2113
|
}
|
|
2114
2114
|
/**
|
|
2115
|
-
* All sync streams currently being tracked in
|
|
2115
|
+
* All sync streams currently being tracked in the database.
|
|
2116
2116
|
*
|
|
2117
2117
|
* This returns null when the database is currently being opened and we don't have reliable information about all
|
|
2118
2118
|
* included streams yet.
|
|
@@ -8606,7 +8606,7 @@ function requireDist () {
|
|
|
8606
8606
|
|
|
8607
8607
|
var distExports = requireDist();
|
|
8608
8608
|
|
|
8609
|
-
var version = "1.57.
|
|
8609
|
+
var version = "1.57.1";
|
|
8610
8610
|
var PACKAGE = {
|
|
8611
8611
|
version: version};
|
|
8612
8612
|
|
|
@@ -10357,7 +10357,12 @@ class TriggerManagerImpl {
|
|
|
10357
10357
|
// destination table consistent.
|
|
10358
10358
|
await this.db.writeTransaction(async (tx) => {
|
|
10359
10359
|
const callbackResult = await options.onChange({
|
|
10360
|
-
|
|
10360
|
+
execute: (query, params) => tx.execute(query, params),
|
|
10361
|
+
executeBatch: (query, params) => tx.executeBatch(query, params),
|
|
10362
|
+
executeRaw: (query, params) => tx.executeRaw(query, params),
|
|
10363
|
+
get: (query, params) => tx.get(query, params),
|
|
10364
|
+
getAll: (query, params) => tx.getAll(query, params),
|
|
10365
|
+
getOptional: (query, params) => tx.getOptional(query, params),
|
|
10361
10366
|
destinationTable: destination,
|
|
10362
10367
|
withDiff: async (query, params, options) => {
|
|
10363
10368
|
// Wrap the query to expose the destination table
|